Bugs item #761288, was opened at 2003-06-26 09:38
Message generated for change (Comment added) 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: Closed
>Resolution: Fixed
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: Scott M Stark (starksm)
Date: 2003-07-22 15:26

Message:
Logged In: YES 
user_id=175228

Fixed for 3.2.2RC2

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

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: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to