Hi Mark,
jsvc, of course! Unfortunately it was not in my mind at my first attempt.
I have altered my init script and added jsvc. Now tomcat starts at boot
time properly.
Thanks for your suggestion.
Mark Shifman schrieb:
> You need to add lines like this to the init script.
> http://www.linuxjou
My first thought is it's starting too early but that doesn't make a lot
of sense when it's symlinked to S99tomcat5, making it one of the last
services to start. What's in tomcat's logs/catalina.out from the
attempted start?
--David
Peter Lokus wrote:
> Hi list,
>
> I'm running an fresh tomcat 6.
You need to add lines like this to the init script.
http://www.linuxjournal.com/article/4445
# chkconfig: 345 80 20
# description: Tomcat 6.0
so it knows to start on reboot.
You also may want to use jsvc to start and stop tomcat instead of
[startup|shutdown].sh
http://tomcat.apache.org/tomcat-6.0
Hi list,
I'm running an fresh tomcat 6.0.20 from tomcat.apache.org under /opt/tomcat.
Currently, I'm firing up tomcat with the supplied [startup|shutdown].sh
scripts manually.
Now, tomcat shall start automatically. For this purpose I created a
small script under /etc/init.d/tomcat5:
#!/bin/bash