Hello,
I'm using Tomcat 4.0.3 with FreeBSD 4.6
I've install SUN JDK 1.3.1
but also the SUN JDK 1.4.1

Since the beginning, despite the definition of JAVA_HOME in the 
/usr/local/jakarta-tomcat4.0.3/catalina.sh
(with this line export JAVA_HOME="usr/java/"   -->this script use sh)
/usr/java a symbolic link to the JDK I want to use,
for the moment 1.3.1 but I'd like to pass to 1.4.1

Since the installation, when I start tomcat (with the script executing 
tomcat4ctl with "www" identity)
I get this error :
tomcat4ctl: Unable to stat /usr/local/linux-jdk1.3.1: No such file or 
directory

I've try to set JAVA_HOME using different ways in different files... but 
nothing works so I had to create a sym link with the path TOmcat was 
asking for (/usr/local/linux-jdk1.3.1) to the directory of my 
linux-Sun-JDK 1.3.1 (/usr/local/linux-sun-jdk1.3.1)

It's like Tomcat don't care about the JAVA_HOME env.variable and always 
use an hard-coded-like java_home dir : /usr/local/linux-jdk1.3.1
???

Questions:
Catalina.sh is not the place to set the JAVA_HOME var for Tomcat??
So where is it? why is Tomcat asking for "/usr/local/linux-jdk1.3.1" a 
path that didn't exist and that I never set in a conf file...

Does Tomcat 4.0.3 support JDK 1.4.x on FreeBSD? (or something different 
from 1.3.1, just want to know even I don't absolutely need 1.4)

Thanks
Vincent


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to