Have you tried putting an echo in the tomcat script right after
JAVA_HOME is set? Or running the script with 'sh -x' to see the content
of the variables?

Ben Ricker
Wellinx.com

On Mon, 2003-07-07 at 11:22, [EMAIL PROTECTED] wrote:
> Below is the error 
> 
> /etc/init.d/tomcat start
>  * Starting Tomcat...
> The JAVA_HOME environment variable is not defined correctly!
> This environment variable is needed to run this program.
>   [ !! ]/etc/conf.d/tomcat file for details.
> 
> ****ACTUAL line from /etc/conf.d/tomcat
> JAVA_HOME=`/bin/grep -e "JAVA_HOME" /etc/profile.env | /bin/sed -e
> "s/^.*'\(.*\)'$/\1/"`
> 
> which java
> /opt/blackdown-jre-1.4.1/bin/java
> 
> I just emerged tomcat, and verified the java is installed.  I cannot figure
> why tomcat is rejecting the JAVA_HOME variable.  Any ideas?
> 
> Thanks-
> Ryan
> 
> ==============================================================================
> --- PRESBYTERIAN HEALTHCARE SERVICES DISCLAIMER ---
> 
> This message originates from Presbyterian Healthcare Services or one of its
> affiliated organizations. It contains information, which may be confidential
> or privileged, and is intended only for the individual or entity named above.
> It is prohibited for anyone else to disclose, copy, distribute or use the
> contents of this message. All personal messages express views solely of the
> sender, which are not to be attributed to Presbyterian Healthcare Services or
> any of its affiliated organizations, and may not be distributed without this
> disclaimer. If you received this message in error, please notify us
> immediately at [EMAIL PROTECTED] 
> ==============================================================================
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 


--
[EMAIL PROTECTED] mailing list

Reply via email to