Hello,
I have two statefull beans. One gets a Handle object from EJBObject of another bean. 
Handle soterd
in bean's class public variable. Both beans are passivated OK, but on activate I get 
an rmi exception:

//In beanA I have a var:
public Handle hand;
//... instansiate another bean and get it's handle...
hand = EJBObject.getHandle();

On activate I get the following:

[beanA] beanA.setSessionContext()
[ExRpg] ExRpgBean
[ExRpg] ExRpgBean.setSessionContext()
[beanA] TRANSACTION ROLLBACK EXCEPTION:Assigning instance of class ExRpg$Proxy to 
field beanA#hand;
nested exception is: 
        java.rmi.NoSuchObjectException: Assigning instance of class ExRpg$Proxy to 
field beanA#hand
[beanA] java.rmi.NoSuchObjectException: Assigning instance of class ExRpg$Proxy to 
field beanA#hand
[beanA]         at 
org.jboss.ejb.plugins.EnterpriseInstanceCache.get(EnterpriseInstanceCache.java:95)
[beanA]         at 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:151)
[beanA]         at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
[beanA]         at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:263)
[beanA]         at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[beanA]         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
[beanA]         at 
org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:326)
[beanA]         at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:237)
[beanA]         at 
org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy.invoke(StatefulSessionProxy.java:150)
[beanA]         at org.jboss.proxy.ProxyCompiler$Runtime.invoke(ProxyCompiler.java:74)
[beanA]         at beanA$Proxy.processServiceRequest(Unknown Source)
...

-- 
alex zhanov
[EMAIL PROTECTED] - email
(713) 595-2109 x1708 - voicemail/fax



__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to