I have a stateful session bean storing a reference to an Entity Bean. After passivation of the session bean its activation throws the following exception:
[InterviewBean] TRANSACTION ROLLBACK EXCEPTION:Could not activate; nested exception is:
java.rmi.ServerException: Could not get EJBObject; nested exception is:
java.lang.NoSuchMethodException; nested exception is:
java.rmi.NoSuchObjectException: Could not activate; nested exception is:
java.rmi.ServerException: Could not get EJBObject; nested exception is:
java.lang.NoSuchMethodException
[InterviewBean] java.rmi.NoSuchObjectException: Could not activate; nested exception is:
[InterviewBean] java.rmi.ServerException: Could not get EJBObject; nested exception is:
[InterviewBean] java.lang.NoSuchMethodException
[InterviewBean] at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:211)
If I remove the reference to the Entity Bean the Session Bean can be passivated and activated without errors. If I store a reference to a different Entity Bean class for testing purposes it is also working without errors.
How can I get more information what really causes this exceptions? Unfortunately the exceptions don't tell which method or which object cannot be found or activated.
Thank you,
Oliver.
hi,
i guess that you may have a problem with your db (in case that you have BMP/CMP) or simply some internal exceptions such as NullPointerException are not catched ...