I've read the FAQ but didn't find an answer to this exact issue.
Versions: Solaris 8 SPARC, Tomcat 4.0.2b2, Apache 1.3.23, j2sdk1.3.1_01 .

There are 2 Tomcats sharing connections from Apache,both are experiencing
the same problem.If I start them by "tomcat1/bin/startup.sh" and
"tomcat2/bin/startup.sh", 2 processes are up which look like

root     14240  0.0  3.96863238776 pts/6    S 10:54:23  0:20
/usr/j2sdk1_3_1_01/bin/../bin/sparc/native_threads/java -classpath
/usr/local/tomcat1/bin/bootstrap.jar:<other jars...> -Dcatalina.base=/usr/local/tomcat1
-Dcatalina.home=/usr/local/tomcat1 org.apache.catalina.startup.Bootstrap
start

and the other one whick looks almost the same (except tomcat1 it's
tomcat2). When I try to shutdown both of them by running
"tomcat1/bin/shutdown.sh" and "tomcat2/bin/shutdown.sh", both commands
successfully complete, but the processes are still in the air. The next
try of "shutdown"'s results in "Catalina.stop: java.net.ConnectException:
Connection refused" complaints, which tells me that probably the first
shutdown did its job. How can I be sure? If it kills at the first time the
Tomcat, then why are those processes still hanging around? If this is an
expected behavior, can somebody explain this, please?

And, of course I can "kill -9" it, but I don't feel it's the right
solution. After all this is not "two services trying to bind to the same
port" situation.

Thanks,
Edward


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to