Hi, I'm running CentOS 5 with Tomcat5 (5.5.2.0) that came with the install. If I try to run dtomcat5 stop or version etc I get the following message below - I have also pasted the tomcat5.conf file below- it is obvious that dtomcat5 is not reading the /etc/tomcat5/tomcat5.conf file - what do I have wrong? Am I going about starting/stopping/getting versions for tomcat the wrong way? Any suggestions? Thanks
[EMAIL PROTECTED] conf]# dtomcat5 stop Found JAVA_HOME: /usr/lib/java Please complete your /etc/tomcat5/tomcat5.conf so we won't have to look for it next time Using CATALINA_BASE: /usr Using CATALINA_HOME: /usr Using CATALINA_TMPDIR: /usr/temp Using JRE_HOME: /usr/bin/dtomcat5: line 347: /usr/lib/java/bin/java: No such file or directory [EMAIL PROTECTED] conf]# dtomcat5 version Found JAVA_HOME: /usr/lib/java Please complete your /etc/tomcat5/tomcat5.conf so we won't have to look for it next time Using CATALINA_BASE: /usr Using CATALINA_HOME: /usr Using CATALINA_TMPDIR: /usr/temp Using JRE_HOME: /usr/bin/dtomcat5: line 366: /usr/lib/java/bin/java: No such file or directory [EMAIL PROTECTED] conf]# I have updated the /etc/tomcat5/tomcat5.conf file to read as follows: # tomcat5 service configuration file # you could also override JAVA_HOME here # Where your java installation lives JAVA_HOME="/usr/bin/java" # Where your tomcat installation lives # That change from previous RPM where TOMCAT_HOME # used to be /var/tomcat. # Now /var/tomcat will be the base for webapps only CATALINA_HOME="/usr/share/tomcat5" JASPER_HOME="/usr/share/tomcat5" CATALINA_TMPDIR="/usr/share/tomcat5/temp" JAVA_ENDORSED_DIRS="/usr/share/tomcat5/common/endorsed" # You can pass some parameters to java # here if you wish to #JAVA_OPTS="-Xminf0.1 -Xmaxf0.3" # Use JAVA_OPTS to set java.library.path for libtcnative.so #JAVA_OPTS="-Djava.library.path=/usr/lib # Bug 190: # https://www.jpackage.org/bugzilla/show_bug.cgi?id=190 # System property catalina.ext.dirs should be set to its default value # for ExtensionValidator to be functional. JAVA_OPTS="$JAVA_OPTS - Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib:$CATALINA_HO ME/common/lib" # What user should run tomcat TOMCAT_USER="tomcat" # You can change your tomcat locale here #LANG=en_US # Time to wait in seconds, before killing process SHUTDOWN_WAIT=30 # Set the TOMCAT_PID location CATALINA_PID=/var/run/tomcat5.pid # Connector port is 8080 for this tomcat5 instance #CONNECTOR_PORT=8080 # If you wish to further customize your tomcat environment, # put your own definitions here --