Does unexport() on UnicaseRemoteObject release the port?
Charlie Consumer <[email protected]>
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm trying to use RMI objects inside JBoss with JBoss' hotdeployment. However, when the new EAR file is dropped on the JBoss server my RMI objects are not relasing the port they were listenning on. I'm using the Naming server to bind them, and I'm calling unexport() and Naming.unbind() on each object. How can I force RMI to close the socket these objects were sharing? Is there a way to force the Naming service to also release his port? The exception I'm getting when I export my objects after hotdeployment is a bind SocketException. I'm also using my own SocketFactories. Thanks Charlie __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff RMI-USERS". For general help, send email to [email protected] and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html