报错No mappingConfigAlias found for connection factory

问题描述

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

解决方案

解决方案二:
同问!!!

时间: 2024-10-21 20:11:41

报错No mappingConfigAlias found for connection factory的相关文章

nginx报错 "readv() failed (104: Connection reset by peer)"

  本文章来给大家介绍在使用nginx报错 "readv() failed (104: Connection reset by peer)" 错误的解决办法. 错误提示 [error] readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: host.tld, request: "POST /script.php, ... 解决办法 php-

spark hadoop-启动spark-shell报错,

问题描述 启动spark-shell报错, 启动spark-shell报错,error creating transactional connection factory, 解决方案 你是安装在了yarn上还是?

使用StrutsSpringTestCase测试框架报错

使用StrutsSpringTestCase 测试框架报错: Xml代码   org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [struts.xml]; nested exception is java.net.ConnectException: Connection timed out: connec

SpringMVC + hiberante 整合报错,跪求神人指导。。。

问题描述 问题找了一天了,还望神人多多指点启动就报错,先贴上配置信息Pom.xml<projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v

spring-java测试类报错,求大神指点

问题描述 java测试类报错,求大神指点 我在spring配置文件中加入mvc:annotation-driven/注解后测试类就报错,注释掉这句就没问题,求大神帮忙,测试类如下: public class LoginTest { @Test public void test1(){ String conf="applicationContext.xml"; ** ApplicationContext ac=new ClassPathXmlApplicationContext(conf

spring mvc-springmvc 和velocity 配置 报错 VelocityEngineFactory NoClassDefFoundError

问题描述 springmvc 和velocity 配置 报错 VelocityEngineFactory NoClassDefFoundError spring 4.1.6.RELEASE maven方式. 报错如下: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountController': Injection of autowired dependenc

tomcat6 启动报错 java.lang.NoClassDefFoundError: javax/ejb/CreateException

问题描述 win7系统+jdk1.6+myeclipse8.5启动报错代码严重:Contextinitializationfailedorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'g3ShopBoss'definedinclasspathresource[spring/spring_g3shop.xml]:Instantiationofbeanfailed;nestedexcep

获得 ession 报错-创建Connection对象连接服务器后获得Session 报错

问题描述 创建Connection对象连接服务器后获得Session 报错 创建Connection对象连接服务器后 获得Session 报错 cannot open session,connection is not autoenticated 解决方案 is not authenticated,你没有授权,你连接服务器,是否有合法的帐户权限等.

redis-Redis主从同步报错:Client closed connection

问题描述 Redis主从同步报错:Client closed connection Redis 2.6.17,出现过主从同步报错Client closed connection,之后Master的dump.rdb被清空.Slave内存较低只有16G,系统内存使用比较吃紧,会不会和内存不够有关系?或者是2.6.17的bug?