Copy the file TOMCAT/bin/tomcat.sh to the /etc/init.d directory.
the make the proper links to the run level directories. If you have
redhat, use the chkconfiig command after you copy the file.
i.e.

# to see what's running
chkconfig --list

#to turn on Tomcat
chkconfig -level 3 tomcat on

Tomcat does not use the daemon / service command to track
PID's it will issue a socket command when stopping.


Regards
John G


Chris Ruegger wrote:

> Is it possible to set up Tomcat on a Linux
> machine such that I can start it/stop with the
> service command, i.e.
>
> service tomcat start
> service tomcat stop
>
> If so, how would one do this? Do most people set up
> Tomcat as a daemon on Unix machines? If so,
> tips on how this is done appreciated!!



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

Reply via email to