Hi all, I am using jsvc on solaris to run tomcat on port 80 using a non root user. Startup and running seems to be ok. I use the jsvc -stop -pidfile .... to initiate a shutdown. this command waits until the shutdown is complete. But in my case it lasts very long until jsvc is actually doing the shutdown:
Does anyone know what could be the problem ? In the mailing list I found the the command to shutdown could/should be kill -TERM `cat $PIDFILE`. this seems to be faster but does not block until shutdown is complete Thanks Charly following the -debug output shell: ....... 07/09/2007 23:07:47 3369 jsvc debug: | Class Arguments: 0 07/09/2007 23:07:47 3369 jsvc debug: +------------------------------------------------------- 07/09/2007 23:07:47 3369 jsvc debug: get_pidf: 3 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid 07/09/2007 23:07:47 3369 jsvc debug: get_pidf: pid 3068 07/09/2007 23:07:53 3369 jsvc debug: get_pidf: 3 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid 07/09/2007 23:07:53 3369 jsvc debug: get_pidf: pid 3068 07/09/2007 23:07:59 3369 jsvc debug: get_pidf: 3 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid 07/09/2007 23:07:59 3369 jsvc debug: get_pidf: pid 3068 07/09/2007 23:08:05 3369 jsvc debug: get_pidf: 3 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid 07/09/2007 23:08:05 3369 jsvc debug: get_pidf: pid 3068 07/09/2007 23:08:12 3369 jsvc debug: get_pidf: 3 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid 07/09/2007 23:08:12 3369 jsvc debug: get_pidf: pid 3068 07/09/2007 23:08:18 3369 jsvc debug: get_pidf: 3 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid 07/09/2007 23:08:18 3369 jsvc debug: get_pidf: pid 3068 07/09/2007 23:08:24 3369 jsvc debug: get_pidf: 3 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid 07/09/2007 23:08:24 3369 jsvc debug: get_pidf: pid 3068 07/09/2007 23:08:30 3369 jsvc debug: get_pidf: 3 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid 07/09/2007 23:08:30 3369 jsvc debug: get_pidf: pid 3068 07/09/2007 23:08:36 3369 jsvc debug: get_pidf: 3 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid 07/09/2007 23:08:36 3369 jsvc debug: get_pidf: pid 3068 07/09/2007 23:08:42 3369 jsvc debug: get_pidf: -1 in /usr/local/tomcat5/jakarta-tomcat-5.0.30/pid/jsvc.pid catalina.out: Sep 7, 2007 11:08:38 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-80 ..... Sep 7, 2007 11:08:40 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-9443 catalina.err: 07/09/2007 23:07:47 3068 jsvc debug: Caught SIGTERM: Scheduling a shutdown 07/09/2007 23:08:38 3068 jsvc debug: remove_tmp_file: /tmp/3068.jsvc_up 07/09/2007 23:08:38 3068 jsvc debug: Shutdown or reload requested: exiting 07/09/2007 23:08:41 3068 jsvc debug: Daemon stopped successfully 07/09/2007 23:08:41 3068 jsvc debug: Daemon destroyed successfully 07/09/2007 23:08:41 3068 jsvc debug: Calling System.exit(0) 07/09/2007 23:08:41 3067 jsvc debug: Service shut down