tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: Tomcat and JDK on FreeBSD
Date Fri, 04 Oct 2002 17:16:06 GMT
I have mine set like so:

install linux-jdk via port this is needed (i believe) in conjunction with
the native 1.3.1 and tied together via the patchset #p7.
so you need to make install clean inside linux-jdk and follow directions

then inside your /root/.cshrc

put the following


setenv JAVA_HOME "/usr/local/jdk1.3.1"
#setenv ANT_HOME "/home/myname/JAKARTA/jakarta-ant-1.5"
setenv CATALINA_HOME "/home/myname/JAKARTA/jakarta-tomcat-4.1.12"
then cp /root/.cshrc /home/myhome/.cshrc

logout log back in

"export or setenv from interactive mode only last the terminal session"

grab the binary tomcat from  version4.1.12.

>   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/
> (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:
> 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:
> <> For additional
> commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message