We have repeated the problem.

Any ideas?

Thanks,

Bill

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Scott
> M Stark
> Sent: Monday, June 25, 2001 5:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] Can Home references get stale?
>
>
> There is no RMI DGC or even RMI proxies involved when invoking in VM
> calls on a bean with Optimized set to false. All that happens is
> that the method
> arguments are copied via serialization using a
> java.rmi.MarshalledObject and the
> return value is also copied in the same fashion to provide RMI
> pass by value
> semantics.
>
> Does this consistently happen days after the home was originally obtained?
>
> ----- Original Message -----
> From: "Bill Burke" <[EMAIL PROTECTED]>
> To: "Jboss-Development@Lists. Sourceforge. Net"
> <[EMAIL PROTECTED]>
> Sent: Monday, June 25, 2001 8:16 AM
> Subject: [JBoss-dev] Can Home references get stale?
>
>
> > We save a reference to our homes in a static variable in
> various classes so
> > that we don't have to keep looking it up.
> >
> > ------------------------------
> > class SomeClass
> > {
> > public static MyBeanHome myBeanHome = null;
> >
> > public void init()
> > {
> > InitialContext ctx = new InitialContext();
> > myBeanHome = (MyBeanHome)ctx.lookup("MyBean");
> >
> > }
> > }
> > ----------------------------------
> >
> > Jetty/JBoss(2.2.1) has been running for a few days now and
> we're getting the
> > folloowing exception when we call a finder on SomeClass.myBeanHome
> >
> > java.rmi.MarshalException: Invalid remote object
> >         <<no stack trace available>>
> >
> > If we don't use myBeanHome and instead use one freshly looked up in the
> > InitialContext, the finder works fine.
> >
> > BTW, we have <Optimized> set to False in standardjboss.xml so
> all parameters
> > are RMIized.  We've had our service running for more than a few
> days before
> > and never got this problem,  we used to have <Optimized> set to True.
> > That's the only thing I can think that's different.
> >
> >
> > Thanks,
> >
> > Bill
> >
> >
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>



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

Reply via email to