tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Berruchon <vincent.berruc...@neo-logism.fr>
Subject Re: Tomcat and JDK on FreeBSD
Date Mon, 07 Oct 2002 09:43:18 GMT
OK, thanks for your reply
Do you mean there is a patch to use different JDK on freebsd?

you seem to say that only environnement variables are important...
But my Tomcat (4.0.3) is started by the "www" user in a rc.d script at 
the boot, and this user have no shell access... will it change something 
       to create a .cshrc for this user??



jamie@f-resource.com wrote:
> 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
> 
> 
> 
> PATH=/usr/local/jdk1.3.1/bin
> 
> 
> 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"
> setenv CLASSPATH
> ".:$JAVA_HOME/lib/tools:jar:$JAVA_HOME/lib/dt.jar:$ANT_HOME/lib/ant.jar"
> 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 jakart.apache.org  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/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:tomcat-user-unsubscribe@jakarta.apache.org> For additional
>>commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message