tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jm...@adobe.com
Subject Re: Can't find JAVA_HOME
Date Sun, 12 Jan 2003 21:18:05 GMT
I concur with Paul's observation below... please check to see if the 
tomcat is running as a different user and if so either adjust the 
user's login shell (.profile (bourne) or .cshrc (c-shell)) and add the 
appropriate java binary

also do the following when tomcat attempts to run

/bin/ps -ef | grep java (assuming your on solaris)

check to see the /path/to/the/java binary that is being used and set 
your java_home to that... 

also you can add additional debugging statements to the startup 
scripts... for example edit /path/to/tomcat/bin/catalina.sh and add a 
var to echo out $JAVA_HOME to see what its trying to set it to.

Good luck

Jan-Michael

----- Original Message -----
From: Paul Yunusov <pyunusov@rogers.com>
Date: Sunday, January 12, 2003 7:37 am
Subject: Re: Can't find JAVA_HOME

> On Sunday 12 January 2003 03:34 am, David Durst wrote:
> > I just dumped the tomcat 4.1.18 from RPM onto a system.
> > It can't seem to find JAVA_HOME.
> >
> > I echo $JAVA_HOME
> > and it comes back perfect, any clues????
> 
> Specific error messages and echo output, please? Also, you could 
> be running 
> Tomcat as one user and echo as another - environments are going to 
> be 
> different.
> 
> Paul
> 
> --
> 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