1 Reply Latest reply on May 21, 2003 8:46 AM by Ricardo Coutinho

    ... JBossLocalXAException: Error trying to start local tx!;

    Ricardo Coutinho Newbie

      Hi all,

      I get an error when I try to reuse a datasource that has been disconnected from our as400 system. Is there an available setting I can use to force a reconnect of the datasource on this error.

      I know this question has come up before but I have not found any specifics in solving this issue.

      This is the error I am getting.
      org.jboss.resource.connectionmanager.JBossLocalXAException: Error trying to start local tx!; - nested throwable: (org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: Communication link failure.(Connection reset)))
      at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEventListener.start(LocalTxConnectionManager.java:506)
      at org.jboss.tm.TxCapsule.startResource(TxCapsule.java:1254)
      at org.jboss.tm.TxCapsule.enlistResource(TxCapsule.java:737)
      at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:102)
      at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEventListener.enlist(LocalTxConnectionManager.java:320)
      at org.jboss.resource.connectionmanager.LocalTxConnectionManager.managedConnectionReconnected(LocalTxConnectionManager.java:255)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:534)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:828)
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:122)


      Ricardo