DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12322>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12322

Port *.8080 in LISTEN state after tomcat shutdown





------- Additional Comments From [EMAIL PROTECTED]  2002-09-05 21:51 -------
According to Sun's web site, Java sockets did not set SO_REUSEADDR socket option
prior to the release of JDK 1.4:

"For reasons that are historically unclear, the Solaris socket code sets this
option for sockets while the win32 code does not in Java[tm] Development Kit
(JDK[tm]) releases prior to version 1.4."

- http://access1.sun.com/technotes/00614.html

In JDK 1.4 and on, SO_REUSEADDR is part of the Socket API:

http://java.sun.com/j2se/1.4/docs/api/java/net/Socket.html#setReuseAddress(boolean)

I ran into a similar problem with Apache's Java XML-RPC server, which I worked
around for pre-1.4 JREs by trying to re-connect a few times after a restart. 
AFAIK, there is no way to really fix this issue for pre-1.4 JREs.  :-\

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to