Bugs item #761288, was opened at 2003-06-26 09:38
Message generated for change (Settings changed) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=761288&group_id=22866

Category: JBossServer
Group: v3.2
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Rod Burgett (rodburgett)
>Assigned to: Scott M Stark (starksm)
Summary: housekeeping in invocation packages

Initial Comment:
Aside from the socket.close(), there is no explicit api to 
clean up the connection accept Thread used by RMI 
remote sockets.  The only possible clean up actions for 
source code are to close the socket and null connection 
references.  Three classes in the 
org.jboss.invocation.jrmp.server and 
org.jboss.invocation.pooled.server packages are lacking 
in this area.

The JRMPInvoker32.diff file updates 2 methods in the 
JRMPInvoker class to facilitate garbage collection.  A line 
is added to the unexportCI() method to null out the 
invokerStub reference, and 2 lines are added to 
stopService() method to null client and server socket 
factories.

The stopService() method of 
org.jboss.invocation.jrmp.server.JRMPProxyFactory is 
incomplete, the JRMPProxyFactory32.diff file adds lines 
to null out the proxy reference and clear the 
interceptors container.

The stopService() method of 
org.jboss.invocation.pooled.server.PooledInvoker should 
close its ServeSocket and null out the reference.  The 
PooledInvoker32.diff file adds a try block to attempt a 
close.  It also sets the socket reference to null.


----------------------------------------------------------------------

Comment By: Rod Burgett (rodburgett)
Date: 2003-06-26 09:40

Message:
Logged In: YES 
user_id=681969

one more...

----------------------------------------------------------------------

Comment By: Rod Burgett (rodburgett)
Date: 2003-06-26 09:39

Message:
Logged In: YES 
user_id=681969

another diff file...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=761288&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to