Re: intermittent connection callback exceptions
Peter Jones <[email protected]> Wed, 8 Oct 2008 17:48:35 -0400
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <20081008214835.GA2171@east> |
On Wed, Oct 08, 2008 at 01:51:51PM -0500, Gregg Wonderly wrote: > Peter Jones wrote: >> On Wed, Oct 01, 2008 at 04:19:49PM -0700, Mark Ackerman wrote: >>> seems that setting ServerSocket.setReuseAddress(true) like Gregg >>> suggested seems to help. >> >> Do you mean Socket.setReuseAddress(true), instead of ServerSocket? >> (For server sockets, at least Sun's JDK sets that option by default >> anyway, and I wouldn't have expected it to help this case.) > > I thought that he was experiencing an "at export" time issue, sending > back sockets bound to a specific set of port numbers, and that's why I > suggested ServerSocket.setReuseAddress(). Interesting that something > changed given what you state here Peter. The reported problem was at remote invocation time, when the calling side was trying to create a socket for a new connection (and trying to explicitly bind the local port for the connection). -- Peter =========================================================================== 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