http://bugzilla.novell.com/show_bug.cgi?id=520038
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=520038#c9
Michal Vyskocil
michal Here is the output from doing a stop on the tomcat server. Looks like a loop is taking place and timing out while tracking down the process id?
I'm not sure where's the problem. The tomcat is stopped using following call
+ /bin/su - tomcat -c ' export JAVA_HOME="/etc/alternatives/jre" ; export CATALINA_BASE="/usr/share/tomcat6" ; export CATALINA_HOME="/usr/share/tomcat6" ; export JASPER_HOME="/usr/share/tomcat6" ; export CATALINA_TMPDIR="/var/cache/tomcat6/temp" ; export TOMCAT_USER="tomcat" ; export SECURITY_MANAGER="false" ; export SHUTDOWN_WAIT="30" ; export SHUTDOWN_VERBOSE="false" ; export CATALINA_PID="/var/run/tomcat6.pid" ; export JAVA_HOME="" ; export JAVA_OPTS="" ; export TOMCAT_OPTS="" ; export CATALINA_OPTS="" ; /usr/bin/dtomcat6 stop'
Where is something like elif [ "$1" = "stop" ]; then ${JAVA_HOME}/bin/java $JAVA_OPTS \ -classpath "$CLASSPATH" \ -Dcatalina.base="$CATALINA_BASE" \ -Dcatalina.home="$CATALINA_HOME" \ -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \ -Djava.io.tmpdir="$CATALINA_TMPDIR" \ org.apache.catalina.startup.Bootstrap stop \ >> ${CATALINA_BASE}/logs/catalina.out 2>&1 Which may stop the daemon. I'm unsure about return value, but it seems that nonzero is an error (eg. no process is running) and zero is successful start of stopping. Maybe there is anything in logs which causes a long time to stop ... can you test? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.