On the Redhat 6.2 server, I'm running JDK1.3 with Tomcat 1.3(standalone) and
all of the JSP examples work fine!

On the RedHat 7 server, once the path is rectified, then I will install the
latest version of Tomcat.

Since I can't shutdown the server without fully qualifying the path to
/sbin, it appears setting environment variables just don''t take. :(
I'm not sure why! I tried all combinations that I can think of!



-----Original Message-----
From: Sterling [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 11:48 AM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: Re: Setting JAVA_HOME path on Linux 7.0


H-

This might not be relevant now, but I have read that Tomcat 3.1 doesn't work
with JDK1.3. It only works with JDK1.2.

I was having problems getting Tomcat running using JDK1.3. I switched and
changed my JAVA_HOME to point to JDK1.2 and all the problems went away. Well
not
all, but it started working as soon as I set my CLASS_PATH correctly. (The
whole
500 error terror. 8^)

Newbies .002$.
-Sterling


"Lambert, Stephen : CO IR" wrote:

> I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).
>
> However, on a Redhat 7.0 server, I having difficulty setting the path for
> JAVA_HOME after installing JDK1.3
> I can't cd to $JAVA_HOME.
>
> The .bash_profile is as follows:
> # .bash_profile
>
> # Get the aliases and functions
> if [ -f ~/.bashrc ]; then
>         . ~/.bashrc
> fi
>
> # User specific environment and startup programs
>
> PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
> BASH_ENV=$HOME/.bashrc
> USERNAME="root"
>
> export USERNAME BASH_ENV PATH
>
> JAVA_HOME=/usr/local/jdk1.3
> export JAVA_HOME
>
> -----------
>
> Also, when I shutdown the server, it requires /sbin/./shutdown -h now
>
> The only difference I can tell between the two Linux version is the
ENV(6.2)
> vs BASH_ENV(7.0)
>
> Can someone help?
> Thanks.

Reply via email to