I checked with a senior engineer on this service. He said we didn't use jk_nt_service, even though we did run Apache and Tomcat as services in W2k.
Tomcat crashing did happen once when running as non-service. Anyway, I will manually configure that file to see if we will be able to get extra information on why it died. Kent -----Original Message----- From: Bill Barker [mailto:wbarker@;wilshire.com] Sent: Tuesday, November 05, 2002 12:31 AM To: [EMAIL PROTECTED] Subject: Re: How to Capture Error Msgs/Exceptions when Tomcat Die. A1: Probably this is why. The minimal amount of configuration is usually to set wrapper.tomcat_home and wrapper.java_home. After changing the file, you simply need to stop and re-start the service for the changes to take effect. A2: jk_nt_service is a wrapper program that can run as a NT/W2K/XP service. It invokes a java process running Tomcat as a sub-process with a command line that it creates from the wrapper.properties file. Because of the way that Windows works, this is the only way to allow Tomcat to continue running without having anyone logged into the machine (and many people are understandably uncomfortable with leaving their server logged in). Other than knowing how to respond to the "Service Manager" events (stop/start), it isn't all that much different than tomcat.bat. "CHAO,KENT (HP-Boise,ex1)" <[EMAIL PROTECTED]> wrote in message news:14562BDD08E0FC4C93D7C92B249AC94D02954B53@;xboi21.boise.itc.hp.com... > Bill: > > I have found the file for configuring jk_nt_service - wrapper.properties. > We didn't set "wrapper.tomcat_home" in this file. > > Q1: is this why I didn't get jvm_stderr? > Q2: Could you elaborate what jk_nt_service for? > > (I guess I have to admit that all my Tomcat knowledge came from my working > knowlege. I have little exposure in jk stuff.) > > thx > > Kent > > -----Original Message----- > From: Bill Barker [mailto:wbarker@;wilshire.com] > Sent: Saturday, November 02, 2002 12:19 AM > To: [EMAIL PROTECTED] > Subject: Re: How to Capture Error Msgs/Exceptions when Tomcat Die. > > > By default, jk_nt_service sends errors to $TOMCAT_HOME/logs/jvm.stderr. You > could try looking there first. > > "CHAO,KENT (HP-Boise,ex1)" <[EMAIL PROTECTED]> wrote in message > news:14562BDD08E0FC4C93D7C92B249AC94D02954B4E@;xboi21.boise.itc.hp.com... > > I am new to this group. I posted this question a few days ago, but didn't > > get any responses. Maybe I did something wrong. So I re-posted this > > question. > > > > Symptom: > > > > I have a Tomcat application, running with Apache (1.3.26) and Tomcat (3.3) > > in W2k with sp3. I experienced Tomcat died several times (freq: once a > > week), while Apache remained running. > > > > Question 1: Where I can capture the last exception or other error messages > > before Tomcat died? I need to find out what caused Tomcat to die first, > > before I can take steps to fix the problem. > > > > Does any one experience similar situation? > > > > > > When I said Tomcat died, I mean: > > In W2k service mode, it simply stopped. > > In non-service mode and in the same command window, a prompt was > displayed > > and no more log4j messages on display. > > > > The application did generate Log4j messages in log files at ~\tomcat\logs. > > I cannot find any Exceptions at end of file. > > > > Any suggestions are welcome. > > > > thx in advance. > > > > Kent > > > > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
