问题描述
自己做的程序在tomcat下没问题,但是到webshpere下连不上数据库,所以本人在webshpere上建立数据源都通不过,详细信息如下,求助大神!!配置如下:网络情况系统日志:[14-10-276:38:52:237GMT]00000033DSConfiguratiWDSRA8201W:DataSource配置:DSRA8040I:无法连接到DataSource。遇到java.sql.SQLException:Io异常:TheNetworkAdaptercouldnotestablishtheconnectionDSRA0010E:SQL状态=08006,错误代码=17,002。java.sql.SQLException:Io异常:TheNetworkAdaptercouldnotestablishtheconnectionDSRA0010E:SQL状态=08006,错误代码=17,002atoracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)atoracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:494)atoracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)atoracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)atoracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)atoracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)atoracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)atoracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:275)atoracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:206)atoracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:139)atoracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:88)atcom.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1137)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)atcom.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:1132)atcom.ibm.ws.rsadapter.DSConfigurationHelper.testConnectionForGUI(DSConfigurationHelper.java:2355)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:615)at求大神们帮忙,研究好多天了http://www.webspherechina.net/club/thread-91443-1-1.html这个帖子错误一样,可是他说连接问题,我网络是通的啊
解决方案
解决方案二:
求大神帮忙啊,在线急等
解决方案三:
组件管理的认证别名确认没问题吧?也就是访问数据库的用户名和密码不能错。