The /etc/init.d/tomcat script just does a "$CATALINA_HOME/bin/startup.sh" which calls Catalina.sh. This script just references $JAVA_HOME which is already set to the 1.5 directory.
#./catalina.sh Using CATALINA_BASE: /usr/jakarta-tomcat-5.0.28 Using CATALINA_HOME: /usr/jakarta-tomcat-5.0.28 Using CATALINA_TMPDIR: /usr/jakarta-tomcat-5.0.28/temp Using JAVA_HOME: /usr/lib/java -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, May 01, 2007 12:49 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Tomcat/Java problem >>> On Tue, May 1, 2007 at 12:36 PM, in message <[EMAIL PROTECTED]>, "Levy, Alan" <[EMAIL PROTECTED]> wrote: -snip- > Although I still have Java 1.42 in my /opt directory, why is Tomcat > starting with that java and not the 1.5 that's in my path ? I would look at the script that starts Tomcat. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390