Alan,

On SLES 10, tomcat looks at /etc/sysconfig/j2ee for the definition of
these variables.  Could it be that you have JAVA_HOME set to something
in this file?

Aria.
On Tue, 01 May 2007 13:12:27 -0400 Levy, Alan said:
>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
>
>
>=20
>-----Original Message-----
>From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
>Mark Post
>Sent: Tuesday, May 01, 2007 12:49 PM
>To: [email protected]
>Subject: Re: Tomcat/Java problem
>
>  >>> On Tue, May 1, 2007 at 12:36 PM, in message
><[EMAIL PROTECTED]>,
>"Levy,
>Alan" <[EMAIL PROTECTED]> wrote:=20
>
>-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

----------------------------------------------------------------------
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

Reply via email to