Bugs item #523554, was opened at 2002-02-27 20:45
Message generated for change (Comment added) made by mkotsbak
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=523554&group_id=22866
Category: JBossServer
Group: None
Status: Closed
Resolution: Works For Me
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)
----------------------------------------------------------------------
Comment By: Marius Kotsbak (mkotsbak)
Date: 2003-08-07 15:58
Message:
Logged In: YES
user_id=366650
I see this one now in jboss 3.0.2
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=523554&group_id=22866
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development