问题描述
websphere启动时报的,但是我的mappingConfigAlias已经配置了,而且我在console里测试数据源的连接时也时成功的,可是在启动就报这个错[5/28/0819:00:28:795GMT+08:00]00000011PrivExActionWJ2CA0144W:NomappingConfigAliasfoundforconnectionfactoryordatasourceDSTopEng.[5/28/0819:00:28:872GMT+08:00]00000011J2CXAResourceWJ2CA0061W:ErrorcreatingXAConnectionandResourcecom.ibm.ws.exception.WsException:DSRA8100E:UnabletogetaXAConnectionfromtheDataSource.withSQLState:72000SQLCode:1017atoracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java(CompiledCode))atoracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)atoracle.jdbc.ttc7.O3log.receive2nd(O3log.java:497)atoracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:279)atoracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:365)atoracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)atoracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)atoracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:169)atoracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:169)atoracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:301)atoracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:86)atcom.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1066)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(CompiledCode))atcom.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:1099)atcom.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:1090)atcom.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:971)atcom.ibm.ejs.j2c.J2CXAResourceFactory$1.run(J2CXAResourceFactory.java:286)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(CompiledCode))atcom.ibm.ejs.j2c.J2CXAResourceFactory.getXAResource(J2CXAResourceFactory.java:128)atcom.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:590)atcom.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:514)atcom.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1896)atcom.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2608)atjava.lang.Thread.run(Thread.java:570)Causedby:java.sql.SQLException:ORA-01017:invalidusername/password;logondeniedDSRA0010E:SQLState=72000,ErrorCode=1,017DSRA0010E:SQLState=72000,ErrorCode=1,017...24more[5/28/0819:00:28:873GMT+08:00]00000011J2CXAResourceWJ2CA0061W:ErrorcreatingXAConnectionandResourcejava.security.PrivilegedActionException:com.ibm.ws.Transaction.XAResourceNotAvailableException:com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException:DSRA8100E:UnabletogetaXAConnectionfromtheDataSource.,errorcode:JAVAX_CONN_ERRatcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(CompiledCode))atcom.ibm.ejs.j2c.J2CXAResourceFactory.getXAResource(J2CXAResourceFactory.java:128)atcom.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:590)atcom.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:514)atcom.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1896)atcom.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2608)atjava.lang.Thread.run(Thread.java:570)Causedby:com.ibm.ws.Transaction.XAResourceNotAvailableException:com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException:DSRA8100E:UnabletogetaXAConnectionfromtheDataSource.,errorcode:JAVAX_CONN_ERRatcom.ibm.ejs.j2c.J2CXAResourceFactory$1.run(J2CXAResourceFactory.java:309)...7moreCausedby:com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException:DSRA8100E:UnabletogetaXAConnectionfromtheDataSource.,errorcode:JAVAX_CONN_ERRatcom.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java:232)atcom.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:1099)atcom.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:971)atcom.ibm.ejs.j2c.J2CXAResourceFactory$1.run(J2CXAResourceFactory.java:286)...7moreCausedby:java.sql.SQLException:ORA-01017:invalidusername/password;logondeniedDSRA0010E:SQLState=72000,ErrorCode=1,017DSRA0010E:SQLState=72000,ErrorCode=1,017atoracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java(CompiledCode))atoracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)atoracle.jdbc.ttc7.O3log.receive2nd(O3log.java:497)atoracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:279)atoracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:365)atoracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)atoracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)atoracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:169)atoracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:169)atoracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:301)atoracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:86)atcom.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1066)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(CompiledCode))atcom.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:1099)atcom.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:1090)...9more
解决方案
解决方案二:
同问!!!