javax.resource.ResourceException: addSync: caught Exception at com.ibm.ejs.j2c.XATransactionWrapper.addSync(XATransactionWr apper.java:299) at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(Connectio nManager.java:1276) at com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(Connection Manager.java:1024) at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(Connect ionManager.java:598) at com.ibm.ws.sib.ra.impl.SibRaConnectionFactory.createConnecti on(SibRaConnectionFactory.java:266) at com.ibm.ws.sib.ra.impl.SibRaConnectionFactory.createConnecti on(SibRaConnectionFactory.java:221) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl$2. run(MEStoreConnectionImpl.java:523) at java.security.AccessController.doPrivileged(AccessController .java:246) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl.co nnectToMessagingEngine(MEStoreConnectionImpl.java:517) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl.pe rformInvoke(MEStoreConnectionImpl.java:751) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl.in vokeCommand(MEStoreConnectionImpl.java:879) at com.ibm.ws.websvcs.rm.impl.storage.PersistentStorageManagerS ingleton$CommandInvoker.findUniqueRMSBean(PersistentStorageMana gerSingleton.java:1262)

ibm.com | 2 months ago
  1. 0

    IBM PK55022: WEBSPHERE APPLICATION SERVER FAILS TO STOP WHEN AN APPLICATION WITH A WS-RELIABLEMESSAGING POLICY SET HAS BEEN USED. - United States

    ibm.com | 2 months ago
    javax.resource.ResourceException: addSync: caught Exception at com.ibm.ejs.j2c.XATransactionWrapper.addSync(XATransactionWr apper.java:299) at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(Connectio nManager.java:1276) at com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(Connection Manager.java:1024) at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(Connect ionManager.java:598) at com.ibm.ws.sib.ra.impl.SibRaConnectionFactory.createConnecti on(SibRaConnectionFactory.java:266) at com.ibm.ws.sib.ra.impl.SibRaConnectionFactory.createConnecti on(SibRaConnectionFactory.java:221) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl$2. run(MEStoreConnectionImpl.java:523) at java.security.AccessController.doPrivileged(AccessController .java:246) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl.co nnectToMessagingEngine(MEStoreConnectionImpl.java:517) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl.pe rformInvoke(MEStoreConnectionImpl.java:751) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl.in vokeCommand(MEStoreConnectionImpl.java:879) at com.ibm.ws.websvcs.rm.impl.storage.PersistentStorageManagerS ingleton$CommandInvoker.findUniqueRMSBean(PersistentStorageMana gerSingleton.java:1262)
  2. 0

    XMLAccess Problem with <access-control>

    Google Groups | 1 decade ago | J.D.Heimrich
    javax.resource.ResourceException: addSync: caught Exception at com.ibm.ejs.j2c.LocalTransactionWrapper.addSync(LocalTransactionWrapper.java(Compiled Code)) at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(ConnectionManager.java(Compiled Code)) Code)) at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java(Compiled Code)) at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java(Compiled Code)) Code)) at com.ibm.wps.services.datastore.DataStoreServiceImpl.getConnectionInternal(DataStoreServiceImpl.java(Inlined Compiled Code)) at com.ibm.wps.services.datastore.DataStoreServiceImpl.getConnection(DataStoreServiceImpl.java(Compiled Code)) Compiled Code)) at com.ibm.wps.datastore.core.DataStoreContext.init(DataStoreContext.java(Compiled Code))
  3. 0

    Message Bridges WLS6.1SP3 : Problem

    Oracle Community | 1 decade ago | 3004
    javax.resource.ResourceException: Failed to start the connection at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBase >> >> Connection.java:1086) at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnectio >> >> n.java:337) at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:2 >> >> 15) at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnect>> >> ion(JMSManagedConnectionFactory.java:190) at weblogic.connector.common.internal.ConnectionPool.makeResources(Conne >> >> ctionPool.java:821) at weblogic.connector.common.internal.ConnectionPool.getConnection(Conne >> >> ctionPool.java:1470) at weblogic.connector.common.internal.ConnectionPoolManager.getConnectio>> >> n(ConnectionPoolManager.java:154) at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConn>> >> ection(ConnectionManagerImpl.java:20) at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMS >> >> BaseConnectionFactory.java:126) at weblogic.jms.bridge.internal.MessagingBridge.getConnections(Messaging >> >> Bridge.java:734) at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge. >> >> java:900)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Message Bridges WLS6.1SP3 : Problem

    Oracle Community | 1 decade ago | 3004
    javax.resource.ResourceException: Failed to start the connection at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBase >> Connection.java:1086) at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnectio >> n.java:337) at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:2 >> 15) at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnect>> ion(JMSManagedConnectionFactory.java:190) at weblogic.connector.common.internal.ConnectionPool.makeResources(Conne >> ctionPool.java:821) at weblogic.connector.common.internal.ConnectionPool.getConnection(Conne >> ctionPool.java:1470) at weblogic.connector.common.internal.ConnectionPoolManager.getConnectio>> n(ConnectionPoolManager.java:154) at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConn>> ection(ConnectionManagerImpl.java:20) at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMS >> BaseConnectionFactory.java:126) at weblogic.jms.bridge.internal.MessagingBridge.getConnections(Messaging >> Bridge.java:734) at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge. >> java:900)
  6. 0

    java.lang.ClassCastException: com.mysql.jdbc.Driver cannot be cast to javax.sql.DataSource?

    Google Groups | 8 months ago | John Hovell
    javax.resource.ResourceException: IJ031084: Unable to create connection at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createLocalManagedConnection(LocalManagedConnectionFactory.java:343) at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:350) at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:285) at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1319) at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:496) at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:626) at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:598) at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:590) at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:429) at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:747) at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:138) at org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.getConnection(WildFlyDataSource.java:66) at org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:180) at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:265)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.resource.ResourceException

      addSync: caught Exception at com.ibm.ejs.j2c.XATransactionWrapper.addSync(XATransactionWr apper.java:299) at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(Connectio nManager.java:1276) at com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(Connection Manager.java:1024) at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(Connect ionManager.java:598) at com.ibm.ws.sib.ra.impl.SibRaConnectionFactory.createConnecti on(SibRaConnectionFactory.java:266) at com.ibm.ws.sib.ra.impl.SibRaConnectionFactory.createConnecti on(SibRaConnectionFactory.java:221) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl$2. run(MEStoreConnectionImpl.java:523) at java.security.AccessController.doPrivileged(AccessController .java:246) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl.co nnectToMessagingEngine(MEStoreConnectionImpl.java:517) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl.pe rformInvoke(MEStoreConnectionImpl.java:751) at com.ibm.ws.sib.wsrm.impl.connection.MEStoreConnectionImpl.in vokeCommand(MEStoreConnectionImpl.java:879) at com.ibm.ws.websvcs.rm.impl.storage.PersistentStorageManagerS ingleton$CommandInvoker.findUniqueRMSBean(PersistentStorageMana gerSingleton.java:1262)

      at com.ibm.ws.websvcs.rm.impl.storage.beanmanagers.RMSBeanMgrImpl.findUnique()
    2. com.ibm.ws
      RMSBeanMgrImpl.findUnique
      1. com.ibm.ws.websvcs.rm.impl.storage.beanmanagers.RMSBeanMgrImpl.findUnique(RMSBeanMgrImpl.java:210)
      1 frame
    3. org.apache.sandesha2
      SandeshaOutHandler.invoke
      1. org.apache.sandesha2.util.SandeshaUtil.getRMSBeanFromInternalSequenceId(SandeshaUtil.java:574)
      2. org.apache.sandesha2.msgprocessors.ApplicationMsgProcessor.processOutMessage(ApplicationMsgProcessor.java:186)
      3. org.apache.sandesha2.handlers.SandeshaOutHandler.invoke(SandeshaOutHandler.java:129)
      3 frames
    4. org.apache.axis2
      AxisEngine.send
      1. org.apache.axis2.engine.Phase.invoke(Phase.java:379)
      2. org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:328)
      3. org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:578)
      3 frames
    5. Axis2
      JavaDispatcher$AsyncInvocationWorker.call
      1. org.apache.axis2.jaxws.server.EndpointCallback.handleResponse(EndpointCallback.java:57)
      2. org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher$AsyncInvocationWorker.call(JavaDispatcher.java:166)
      2 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      2 frames
    7. Axis2
      JAXWSMessageReceiver.receive
      1. org.apache.axis2.jaxws.utility.SingleThreadedExecutor.execute(SingleThreadedExecutor.java:45)
      2. org.apache.axis2.jaxws.server.dispatcher.ProviderDispatcher.invokeAsync(ProviderDispatcher.java:236)
      3. org.apache.axis2.jaxws.server.EndpointController.invokeAsync(EndpointController.java:131)
      4. org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:133)
      4 frames
    8. org.apache.axis2
      AxisEngine.resumeReceive
      1. org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:418)
      1 frame
    9. org.apache.sandesha2
      InvokerWorker.run
      1. org.apache.sandesha2.workers.InvokerWorker.invokeMessage(InvokerWorker.java:291)
      2. org.apache.sandesha2.workers.InvokerWorker.run(InvokerWorker.java:85)
      2 frames
    10. com.ibm.ws
      WSRMContextManager$1$1.run
      1. com.ibm.ws.websvcs.rm.context.WSRMContextManager$1$1.run(WSRMContextManager.java:156)
      1 frame
    11. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(AccessController.java:197)
      1 frame
    12. com.ibm.ws
      WSRMContextManager$2.run
      1. com.ibm.ws.websvcs.rm.context.WSRMContextManager$1.run(WSRMContextManager.java:145)
      2. com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:782)
      3. com.ibm.ws.asynchbeans.ExecutionContextImpl.go(ExecutionContextImpl.java:85)
      4. com.ibm.ws.websvcs.rm.context.WSRMContextManager$2.run(WSRMContextManager.java:179)
      4 frames
    13. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      2 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:810)
      1 frame