1 Reply Latest reply on Jul 28, 2003 6:19 AM by ako

    Entity references in Stateful Session Beans

    oliver

      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.