Hi!

Thats the first time I read this argument. Must have missed it sooner,
sorry. I thought to have read that JAWS does the EJB -> handle
conversion for me ?! Am I wrong ?
Ah, ok, I am storing the reference to the other EJB in an Array. Might
this "break" the automatic JAWS conversion ?

Ciao,
Tobias

Rickard Öberg wrote:
> Hey
> Tobias Frech wrote:
> > Your "patch" changes the Exception :-/.
> > I did not only pass always the container, but also printed out what the
> > container object actually is. The difference I noticed is this:
> >
> > When everything works fine
> > "org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker" is sent. If
> > jBoss was stopped before
> > "org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub[RemoteStub
> > [ref: endpoint:[palladium:1114](remote),objID:[27e353:e367bf4cb3:-8000,
> > 15]]]]" is sent.
> > Could that lead to a problem ?
> 
> Yes. The problem is that you are storing a stub to a remote object. When
> you restart the server the remote object has a new objId and a new port.
> I.e. things break.
> 
> I would still argue that what you're doing is not supported by the EJB
> spec. If you want to store object what you should do is store the
> *handle* to them and not the stubs.
> 
> /Rickard


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to