Ok, I have a structure noted below. I am using JBOSS-3.0.0.
I have a session bean that has an object who has a EJB reference in it. When the top most is to Passivate I get the seeor listed below. This should be ok in EJB land. Am I missing some descriptor? In the Top EJB i have an EJB ref to the lower.
Thanks for any help
1. TestBeanA is a stateful session bean.
2. TestBeanA has a class of A as a variable
3. Class A has a variable that is a bean of TestBeanB
TestBeanA will not passivate. Looks like it is choking on this nesting of objects. As far as I know, an EJB can have a reference to another EJB in it or down the Object path.
Error as follows.
23:45:28,997 DEBUG [EJBControllerSBean] Passivating the EJBC 23:45:29,067 ERROR [Log4jService$ThrowableListenerLoggingAdapter] unhandled throwable
java.rmi.ServerException: Could not passivate; nested exception is:
java.rmi.MarshalException: Invalid remote object
Caused by: java.rmi.MarshalException: Invalid remote object
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Any info on this?