[jboss-user] [EJB/JBoss] - XAException-timer session beans

aneesh62003 do-not-reply at jboss.com
Wed Apr 2 00:17:06 EDT 2008


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


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140771#4140771

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140771



More information about the jboss-user mailing list