Are you running Tomcat as a service and it happens to shutdown every
time you log off the machine? If so then you are having a problem with one
of Sun's "feature" enhancements to the JVM. You need to pass the JVM -Xrs
when it starts up so that it doesn't pay attention to the logoff signal. In
Tomcat 4 you do this by editing the registry.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache
Tomcat\Parameters is the group of setting you will be working with.
First check your JVM Option Number X parameters to make sure you aren't
already passing in a -Xrs.
If not, increase the JVM Option Count's value by one (call this value X for
future reference). Create a new String Value entry names JVM Option Number
X-1 and the value is -Xrs. Restart the service, log off, and Tomcat should
still be running.
Randy
> -----Original Message-----
> From: Keith Ng [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 2:38 AM
> To: Tomcat Users List
> Subject: How to log shutting down of tomcat
>
>
> is there anyway to log the shutting down of tomcat? My tomcat
> server tend to
> auto shutdown for unknown reasons. I have been trying to
> trace to no avail.
> Currently using 1.3.1 and tomcat 4.0.2. it shuts down like
> after 4-5 hours
> and i wasnt able to track why did it shutdown. I have changed
> my ODBC-JDBC
> bridge(type 1) to type 4 drivers. It could also be my tomcat
> crashing... i
> do not know.
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>