On 8/28/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:

>
> The CLASSPATH environment variable should never be used when running
> Tomcat.  (For that matter, it shouldn't be used in any Java environment
> these days.)
>

Chuck:  I don't mean to hijack this thread with unrelated topics, but
can you explain the statement within the parentheses in a little more
detail?  Thanks!

Potri:  I don't have many suggestions, except maybe untar a fresh
copy, because something is seriously screwed up!

Something weird that I did notice, and at the moment I don't have a
system I can confirm this on, but if you look at your PATH, you seem
to have two JVMs installed.  I might try putting /root/j2se1.4.2/bin
at the beginning of the PATH definition.  I know you have
/usr/lib/java/jre/bin after /root/j2se1.4.2/bin, but there might be
symlinks in /usr/bin, etc that do come before it.

All this is just guessing, because I *think* defining JAVA_HOME takes
care of at least finding the path to javac, so I'd imagine defining it
would also allow Tomcat to infer the location of the correct JVM too,
regardless of if it is on the PATH or not.

-- brian

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to