Hey,
just a wild guess: I saw you're using 1.2.2 invokers, maybe it's a problem
with the on-the-fly proxy compiler.
Try to run he same code on jdk 1.3 and tell us what happens.
Simon
> -----Original Message-----
> From: alex zhanov [mailto:[EMAIL PROTECTED]]
> Sent: lunedi 2 aprile 2001 20:31
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Can Handle be passivated/activated?
>
>
> 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(EnterpriseIn
> stanceCache.java:95)
> [beanA] at
> org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invok
> e(StatefulSessionInstanceInterceptor.java:151)
> [beanA] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxIntercepto
> rCMT.java:133)
> [beanA] at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxI
> nterceptorCMT.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(StatefulSessionC
> ontainer.java:326)
> [beanA] at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(
> JRMPContainerInvoker.java:237)
> [beanA] at
> org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy.inv
> oke(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
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user