Bugs item #523554, was opened at 2002-02-27 11:45
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=523554&group_id=22866
Category: JBossServer
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ming Cao (caoming)
Assigned to: Nobody/Anonymous (nobody)
Summary: returned remote reference not reachable
Initial Comment:
If a remote object reference is returned by a
enterprise bean method, it sometimes is not reachable -
calling its methods will result in the
NoSuchObjectException being thrown. This happens with
unpredictable frequency.
It seems that this bug is due to the way JBoss
implements EJB. ContainerInvoker wrapps all return
objects with MarshalledObject - thus if a EJB method
returns a remote object stub via MarshalledObject, the
server remote object immediately become out of scope
and GCable. Whether a client can use this remote
reference totally depends on whether GC has a chance
to collect the remote object on the server.
java.rmi.NoSuchObjectException: no such object in table
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFro
mServer(StreamRemoteCall.java:245)
at
sun.rmi.transport.StreamRemoteCall.executeCall
(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke
(UnicastRef.java:122)
at
com.hnc.core.config.manager.RemoteIManagerConfigImpl_St
ub.remote_getName(Unknown Source)
at
com.hnc.core.client.rmi.TestServiceProxy.main
(TestServiceProxy.java:105)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=523554&group_id=22866
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development