Here is a trace from the log file. I don't understand how there can be an error in ejbPassivate() when I have no code in this method, and how do I end up with a deadlock wherby thread 6 is waiting for....thread 6!???
 
Any clues anyone?
 
15/09/00 10:40 Error in bean cats.ejb.Change: Error loading state
javax.ejb.NoSuchEntityException: Load failed for Change 1
 at cats.change.ChangeDAO.load(ChangeDAO.java:197)
 at cats.change.ChangeEJB.ejbLoad(ChangeEJB.java:1073)
 at IChange_EntityBeanWrapper6.loadState(IChange_EntityBeanWrapper6.java:8734)
 at com.evermind.server.ejb.EntityEJBObject.endTransaction(JAX)
 at com.evermind.server.ApplicationServerTransaction.am6(JAX)
 at com.evermind.server.ApplicationServerTransaction.commit(JAX)
 at com.evermind.server.ApplicationServerTransaction.end(JAX)
 at IGateway_StatelessSessionBeanWrapper10.handleMessage(IGateway_StatelessSessionBeanWrapper10.java:184)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.evermind.server.rmi.bd.run(JAX)
 at com.evermind.server.rmi.bb.hw(JAX)
 at com.evermind.server.rmi.bb.run(JAX)
 at com.evermind.util.f.run(JAX)
15/09/00 10:40 Error in bean cats.ejb.Change: Error in ejbPassivate
com.evermind.server.DeadlockException: Deadlock detected: thread 6 is waiting for resource entity Change 1 held by thread 6
 at com.evermind.server.ejb.AbstractEJBObject.startCall(JAX)
 at com.evermind.server.ejb.EntityEJBObject.removeFromCache(JAX)
 at com.evermind.server.ejb.EntityEJBObject.endTransaction(JAX)
 at com.evermind.server.ApplicationServerTransaction.am6(JAX)
 at com.evermind.server.ApplicationServerTransaction.commit(JAX)
 at com.evermind.server.ApplicationServerTransaction.end(JAX)
 at IGateway_StatelessSessionBeanWrapper10.handleMessage(IGateway_StatelessSessionBeanWrapper10.java:184)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.evermind.server.rmi.bd.run(JAX)
 at com.evermind.server.rmi.bb.hw(JAX)
 at com.evermind.server.rmi.bb.run(JAX)
 at com.evermind.util.f.run(JAX)
15/09/00 10:40 Error in bean cats.ejb.Change: Error while delisting bean from TX
com.evermind.transaction.MarshallingXAException
 at com.evermind.server.ejb.EntityEJBObject.endTransaction(JAX)
 at com.evermind.server.ApplicationServerTransaction.am6(JAX)
 at com.evermind.server.ApplicationServerTransaction.commit(JAX)
 at com.evermind.server.ApplicationServerTransaction.end(JAX)
 at IGateway_StatelessSessionBeanWrapper10.handleMessage(IGateway_StatelessSessionBeanWrapper10.java:184)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.evermind.server.rmi.bd.run(JAX)
 at com.evermind.server.rmi.bb.hw(JAX)
 at com.evermind.server.rmi.bb.run(JAX)
 at com.evermind.util.f.run(JAX)
Nested exception is:
javax.ejb.NoSuchEntityException: Load failed for Change 1
 at cats.change.ChangeDAO.load(ChangeDAO.java:197)
 at cats.change.ChangeEJB.ejbLoad(ChangeEJB.java:1073)
 at IChange_EntityBeanWrapper6.loadState(IChange_EntityBeanWrapper6.java:8734)
 at com.evermind.server.ejb.EntityEJBObject.endTransaction(JAX)
 at com.evermind.server.ApplicationServerTransaction.am6(JAX)
 at com.evermind.server.ApplicationServerTransaction.commit(JAX)
 at com.evermind.server.ApplicationServerTransaction.end(JAX)
 at IGateway_StatelessSessionBeanWrapper10.handleMessage(IGateway_StatelessSessionBeanWrapper10.java:184)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.evermind.server.rmi.bd.run(JAX)
 at com.evermind.server.rmi.bb.hw(JAX)
 at com.evermind.server.rmi.bb.run(JAX)
 at com.evermind.util.f.run(JAX)

Reply via email to