我有一个由 32 位机器上的独立 tomcat 服务器运行的 web 应用程序,现在我决定将它移动到完全 64 位环境机器上,一切都将是 64 位 tomcat、java .. 等。
我完成了所需文件的传输和部署。然后启动服务器,但我可以查看我的应用程序抛出错误:“Servlet someservlet throw load() exception”
将 32 位源 Web 应用程序转移到完全 64 位的机器上是否有必要的步骤?
这是堆栈跟踪:
Nov 15, 2013 4:28:21 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet MeritOrderLoader as unavailable
Nov 15, 2013 4:28:21 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet threw load() exception
java.lang.StackOverflowError
at java.lang.Exception.<init>(Unknown Source)
at java.lang.ReflectiveOperationException.<init>(Unknown Source)
at java.lang.reflect.InvocationTargetException.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
at org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:84)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:96)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
at trader.main.com.quantrisk.util.DatabaseConnectionFactory.getConnection(DatabaseConnectionFactory.java:38)