Hi,

We have tomcat 6.0.14 installed on fedora core running JDK6.

Using 'service tomcat start' works fine (executes /etc/init.d/tomcat.sh) :

su -c $TOMCAT_USER "$TOMCAT_SCRIPT start"

(where $TOMCAT_USER == tomcat; $TOMCAT_SCRIPT == catalina.sh)

However when we run the corresponding stop (equivalent to catalina.sh
stop), tomcat doesn't shutdown cleanly.  Sometimes we get an exception
"connection refused", sometimes the JVM is shutdown, but the pid &
lock file still exists.

To counter this our tomcat script has a loop which waits for 30
seconds before kill -9 the tomcat process.  Obviously this isn't the
best solution.

Has anyone else experienced a problem with tomcat6 not cleanly
shutting down?  I do testing etc on windows too and I notice from time
to time that shutdown.bat will sometimes fail to cleanly shutdown
tomcat, so I think the problem is in bootstrap.jar (Catalina.stop),
and nothing to do with our linux environment

Thanks,
Kev

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to