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-08 11:01 -------
OK, I nailed this. It's the fault of the Tibco Tibrv servlet I am using.
This is what happens.
1. Tomcat starts, and binds to port 8080.
2. My Tibrv servlet starts, and because the tibrv daemon "rvd" isn't running,
it starts it.
3. This is most likely implemented using "fork/exec" in the tib native 
libraries, and file descriptors etc inherited from the parent process are not 
shut down before the call to exec.
4. The rvd process now has a handle on the 8080 port.
5. Shutdown tomcat. 
6. Port *.8080 is in LISTEN state
7. Shutdown rvd
8. Port *.8080 is released, and tomcat may be restarted.

Workarounds:
- ensure rvd is (re)started before starting tomcat (shutdown first
to be sure).

I will log this with tibco. See attached java app for details on 
reproducing.

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

Reply via email to