Neal,

Assuming you're running a bash-like (sh, bash, ksh) shell then you would
execute the Linux analogs of shutdown.bat or startup.bat, which are named
shutdown.sh and startup.sh respectively. So you would type the following
from the console (no brackets in actual input):

[cd $CATALINA_HOME /bin ] OR [cd $TOMCAT_HOME/bin] depending on your version
of Tomcat and how the respective environment was setup

[./shutdown.sh]  and that's it

Since you have restarted the server you will need to restart Tomcat by
rnunning the following from the console:

[cd $CATALINA_HOME /bin ] OR [cd $TOMCAT_HOME/bin] depending on your version
of Tomcat and how the respective environment was setup

[./startup.sh] and he should start

---
To be sure, you could configure the system to be started after boot (similar
to an NT/2K Service) and assign him to one or more run-levels. This is a
little more complicated and I believe there are already some how-tos in the
archives on this topic.
HTH.

Ciao.
---
Yousef Shemisa   |   [EMAIL PROTECTED]
650.365.9704 x12
NetUnderdogs
Dynamically-driven Flash, eCommerce, and portal solutions for business

http://www.netunderdogs.com <http://www.netunderdogs.com/>
----- Original Message -----
From: "neal" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, August 25, 2002 10:04 PM
Subject: startup/shutdown Tomcat on Linux


> How do you start and shutdown Tomcat on Linux?
>
> I'm (obvioulsy) a windows person.  I am attempting to get my app running
on
> Linux.  From the /bin directory I attempted to call "shutdown.bat".  This
> didn't work so I restarted the server (shutdown -r now).  When the server
> came back, Tomcat was no longer responding.  Attempting to call the URLs
> pointing to Tomcat, I now get either (a) a DNS error or (b) a hung request
> that never comes back.
>
> I guess my ideal would be that Tomcat would auto-start upon reboot of the
> server.  Is this easy to setup? In the near-term though I just need to
know
> how to start/restart/shutdown tomcat.
>
> Thanks in advance!
>
> Neal
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to