[jboss-jira] [JBoss JIRA] Created: (JBAS-5353) XAException in timer ejbs

aneesh vasanthan (JIRA) jira-events at lists.jboss.org
Sun Mar 30 01:42:40 EDT 2008


XAException in timer ejbs
-------------------------

                 Key: JBAS-5353
                 URL: http://jira.jboss.com/jira/browse/JBAS-5353
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EJB2
    Affects Versions: JBossAS-4.2.0.GA
         Environment: windows xp
            Reporter: aneesh vasanthan
         Assigned To: Alexey Loubyansky
            Priority: Critical


We are facing a problem with our timer session beans.

The following is the error trace log that we got from server log.

>From the log we could understand that itz not able to commit the transaction on timeout.

Any suggetions on why it happens will be appreciated...

we are using EJB2 slsb timer beans..

 
[org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=f/735267, BranchQual=, localId=735267] errorCode=XA_UNKNOWN(0)
org.jboss.resource.connectionmanager.JBossLocalXAException: could not commit local tx; - nested throwable: (org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: Closed Connection))
	at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.commit(TxConnectionManager.java:727)
	at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2141)
	at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1674)
	at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:312)
	at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:457)
	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:370)
	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
	at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:625)
	at org.jboss.ejb.Container.invoke(Container.java:871)
	at org.jboss.ejb.txtimer.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:67)
	at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:469)
	at java.util.TimerThread.mainLoop(Timer.java:432)
	at java.util.TimerThread.run(Timer.java:382)
Caused by: org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: Closed Connection)
	at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:541)
	at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.commit(LocalManagedConnection.java:100)
	at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.commit(TxConnectionManager.java:720)
	... 15 more
Caused by: java.sql.SQLException: Closed Connection
	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
	at oracle.jdbc.driver.OracleConnection.commit(OracleConnection.java:1330)
	at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.commit(LocalManagedConnection.java:96)
	... 16 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list