I'm running Tomcat 5.5.20 with JSVC on Redhat, and I'm having trouble
catching startup errors.  Say I have an invalid server.xml.  If I run
catalina directly, it throws errors and immediately dies, as expected.
The problem is when I run via jsvc, jsvc keeps running and I doesn't
catch the errors.  Running with debug on, I see output as follows:

[Catalina throws errors on bad config]
INFO: Server startup in 0 ms
24/10/2006 13:41:36 16677 jsvc.exec debug: Daemon started successfully
24/10/2006 13:41:36 16677 jsvc.exec debug: Waiting for a signal to be delivered
24/10/2006 13:41:36 16677 jsvc.exec debug: create_tmp_file: /tmp/16677.jsvc_up
24/10/2006 13:41:36 16673 jsvc.exec debug: get_pidf: 5 in /var/run/jsvc.pid
24/10/2006 13:41:36 16673 jsvc.exec debug: get_pidf: pid 16677
24/10/2006 13:41:36 16673 jsvc.exec debug: check_tmp_file: /tmp/16677.jsvc_up

Yet it clearly did not start successfully.  When I run ps I see jsvc
still indeed running.  How can I know when Tomcat startup errors occur
of jsvc ignores them?

Thanks-

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to