https://bugzilla.novell.com/show_bug.cgi?id=471639
User admin@vbi.vt.edu added comment
https://bugzilla.novell.com/show_bug.cgi?id=471639#c12
--- Comment #12 from Sysadmin VBI 2009-02-25 06:31:50 MST ---
We see the same issue, after upgrading to this latest patch:
wikitest:~ # rctomcat6 start
Starting Tomcat (/usr/share/tomcat6)lock file found but no process running for
pid 7878, continuing done
wikitest:~ # rctomcat6 status
Checking for Tomcat (/usr/share/tomcat6) dead
wikitest:~ # rctomcat6 stop
Shutting down Tomcat (/usr/share/tomcat6) failed
And here are our config files:
wikitest:~ # egrep -v '^#|^$' /etc/sysconfig/tomcat6
JAVA_HOME=""
JAVA_OPTS="-server -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m
-Dconfluence.disable.peopledirectory.anonymous=true -Djava.awt.headless=true"
TOMCAT_OPTS=""
CATALINA_OPTS=""
wikitest:~ # egrep -v '^#|^$' /etc/tomcat6/tomcat6.conf
JAVA_HOME="/etc/alternatives/jre"
CATALINA_BASE="/usr/share/tomcat6"
CATALINA_HOME="/usr/share/tomcat6"
JASPER_HOME="/usr/share/tomcat6"
CATALINA_TMPDIR="/var/cache/tomcat6/temp"
TOMCAT_USER="tomcat"
SECURITY_MANAGER="false"
SHUTDOWN_WAIT="30"
SHUTDOWN_VERBOSE="false"
CATALINA_PID="/var/run/tomcat6.pid"
As you can see, they're the default, except adding extra memory options.
wikitest:~ # update-alternatives --display java
java - status is auto.
link currently points to /usr/lib64/jvm/jre-1.6.0-sun/bin/java
/usr/lib64/jvm/jre-1.6.0-sun/bin/java - priority 1613
slave ControlPanel: /usr/lib64/jvm/jre-1.6.0-sun/bin/ControlPanel
slave keytool.1.gz: /usr/share/man/man1/keytool-java-1_6_0-sun.1.gz
slave rmid.1.gz: /usr/share/man/man1/rmid-java-1_6_0-sun.1.gz
slave orbd.1.gz: /usr/share/man/man1/orbd-java-1_6_0-sun.1.gz
slave rmid: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmid
slave servertool.1.gz: /usr/share/man/man1/servertool-java-1_6_0-sun.1.gz
slave javaws.1.gz: /usr/share/man/man1/javaws-java-1_6_0-sun.1.gz
slave jre_exports: /usr/lib64/jvm-exports/jre-1.6.0-sun
slave policytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/policytool
slave orbd: /usr/lib64/jvm/jre-1.6.0-sun/bin/orbd
slave rmiregistry: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmiregistry
slave tnameserv: /usr/lib64/jvm/jre-1.6.0-sun/bin/tnameserv
slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1_6_0-sun.1.gz
slave keytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/keytool
slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1_6_0-sun.1.gz
slave javaws: /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws
slave servertool: /usr/lib64/jvm/jre-1.6.0-sun/bin/servertool
slave java.1.gz: /usr/share/man/man1/java-java-1_6_0-sun.1.gz
slave policytool.1.gz: /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz
slave jre: /usr/lib64/jvm/jre-1.6.0-sun
Current `best' version is /usr/lib64/jvm/jre-1.6.0-sun/bin/java.
Again, the problem is fixed by making sure /usr/bin/dtomcat6 knows what
JAVA_HOME is, for example:
--- /usr/bin/dtomcat6.orig 2009-02-25 09:26:11.148524078 -0500
+++ /usr/bin/dtomcat6 2009-02-25 09:26:32.827550895 -0500
@@ -6,6 +6,8 @@
# TOMCAT_CFG="/etc/tomcat6/tomcat6.conf"
#fi
+. /etc/profile.d/alljava.sh
+
if [ -r "$TOMCAT_CFG" ]; then
. $TOMCAT_CFG
fi
Is there any particular reason for having two tomcat6 config files, and
duplicate options between them?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.