Perhaps the connections are remaining open until _ncRef and _server are garbage 
collected.  You can try changing your destroy() method to:

  | if (_server != null) {
  |   _server._release();
  |   _server = null;
  | }
  | if (_ncRef != null) {
  |   _ncRef._release();
  |   _ncRef = null;
  |   _nameService = null;
  | }
  | _orb.shutdown(true);
  | _orb.destroy();
  | _orb = null;
  | 
I think destroying the ORB only releases connections from object adaptors that 
you've registered with the ORB.  I don't think it closes any connections 
obtained from references to remote services.  I could be wrong.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873916#3873916

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873916


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to