已经改为oci模式,服务器连接数据库没有问题,就是X5电测试连接没有任何反应。
之前问32换64位是否有影响,说没有呀。
使用32位oracle10g client点击测试就ok,可以启动调试模式,但是启动运行平台时报错:
2017-03-17 10:36:04 [main] [com.justep.business.server.BusinessServerServlet] INFO: BusinessServer debug mode --> false
2017-03-17 10:36:06 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/SA/OPM/system ...
2017-03-17 10:36:06 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/SA/OPM ...
2017-03-17 10:36:06 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/SA ...
2017-03-17 10:36:06 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/system/logic/action ...
2017-03-17 10:36:06 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/system/logic ...
2017-03-17 10:36:06 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/system ...
2017-03-17 10:36:06 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/system/data ...
2017-03-17 10:36:06 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/system/ontology ...
2017-03-17 10:36:06 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/system/logic/fn ...
2017-03-17 10:36:07 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/SA/OPM/logic/action ...
2017-03-17 10:36:07 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/SA/OPM/logic ...
2017-03-17 10:36:07 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/system/logic/code ...
2017-03-17 10:36:07 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/SA/OPM/logic/code ...
2017-03-17 10:36:07 [main] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/SA/OPM/logic/code/orgSynchronize ...
2017-03-17 10:36:08 [main] [com.justep.business.server.BusinessServerServlet] ERROR: 编码: JUSTEP150009; 提示: 业务服务器初始化出错
com.justep.exception.BusinessException: 编码: JUSTEP150009; 提示: 业务服务器初始化出错
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.business.server.BusinessServerServlet.init(Unknown Source)
at com.justep.x.bs.BusinessServerServlet.init(Unknown Source)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4425)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.UnsatisfiedLinkError: C:\oracle\product\10.2.0\client_1\BIN\ocijdbc10.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3135)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3131)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at com.justep.system.data.Transaction.getConnectionWithJndi(Unknown Source)
at com.justep.system.data.Transaction.getConnection(Unknown Source)
at com.justep.system.data.Transaction.getConnection(Unknown Source)
at com.justep.model.ModelUtils.getConnection(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.existConcept(Unknown Source)
at com.justep.business.server.BusinessServer.init1(Native Method)
at com.justep.business.server.BusinessServer.init(Unknown Source)
... 19 more