You are not logged in.
Pages: 1
Hi all,
The tomcat start/stop script cant works on stop state:
# /etc/rc.d/tomcat stop
:: Stopping Tomcat [FAIL]
The script:
stop)
stat_busy "Stopping Tomcat"
/opt/tomcat/bin/jsvc
-stop
-pidfile /var/run/tomcat.pid
org.apache.catalina.startup.Bootstrap
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon tomcat
stat_done
fi
;;
Arch - newbie
Offline
Yes, I wrote that code and it works here. Hmmm....
The suggestion box only accepts patches.
Offline
It works if you perform:
/etc/rc.d/tomcat stop
But i don't know why it doesn't work when you are shutting down your pc and it try stops automatically all the daemons...
Last edited by qwerty (2007-02-01 20:24:53)
Offline
Hi,
Is there anything in /var/log/... about the failed stop? It seems to be fine for me. Also, maybe look around somewhere else for your catalina.out. Maybe these are both related to a path issue?
Good luck.
Offline
In /opt/logs/catalina.log i can read only:
jsvc.exec error: Shutdown or reload already scheduled
Catalina.out is not present in my system, neither all the other dailly logs and so on...
Offline
Pages: 1