users@glassfish.java.net

JTS5033: Exception [java.lang.NoClassDefFoundError] on [before_completion] synchronization operation

From: Sebastian Hofmann <sebastian.hofmann_at_sourcepark.de>
Date: Thu, 23 Oct 2008 13:21:17 +0200

Hi,

I get the following strange exception in Glassfish 9.1_01 (build
b09d-fcs) after a remote call between two enterprise applications within
the same server. The call seems to work, I get the result from the
"remote" side. On the remote side a reading database operation (via JPA)
is invoked. Debugging shows nothing special - everything seems to be fine...

Does anybody know this exception? I could not find anything else in the
log files...

Thanks for advice...
Sebastian

JTS5033: Exception [java.lang.NoClassDefFoundError] on
[before_completion] synchronization operation.
EJB5018: An exception was thrown during an ejb invocation on
[EventMessageImportBean]
javax.ejb.EJBException: Transaction aborted; nested exception is:
javax.transaction.RollbackException
javax.transaction.RollbackException
        at
com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:311)
        at
com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.commit(J2EETransactionManagerImpl.java:1004)
        at
com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:397)
        at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3792)
        at
com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3571)
        at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1354)
        at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
        at
com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:2855)
        at
com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1401)
        at
com.sun.ejb.containers.EJBTimerService.access$100(EJBTimerService.java:99)
        at
com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:1952)
        at
com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.service(EJBTimerService.java:1948)
        at
com.sun.ejb.containers.util.WorkAdapter.doWork(WorkAdapter.java:75)
        at
com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
javax.ejb.EJBException: Transaction aborted; nested exception is:
javax.transaction.RollbackException
        at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3798)
        at
com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3571)
        at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1354)
        at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
        at
com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:2855)
        at
com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1401)
        at
com.sun.ejb.containers.EJBTimerService.access$100(EJBTimerService.java:99)
        at
com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:1952)
        at
com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.service(EJBTimerService.java:1948)
        at
com.sun.ejb.containers.util.WorkAdapter.doWork(WorkAdapter.java:75)
        at
com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)