doesnt sound right ..here is an excerpt from setclasspath.sh
# Make sure prerequisite environment variables are set
if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then
# Bugzilla 37284
if $darwin && [ -d
"/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home" ]; then
export
JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home"
else
echo "Neither the JAVA_HOME nor the JRE_HOME environment variable is
defined"
echo "At least one of these environment variable is needed to run this
program"
exit 1
fi
fi
if [ -z "$JAVA_HOME" -a "$1" = "debug" ]; then
echo "JAVA_HOME should point to a JDK in order to run in debug mode."
exit 1
fi
if [ -z "$JRE_HOME" ]; then
JRE_HOME="$JAVA_HOME"
fi
As you can clearly see you will need to have either JRE_HOME or JAVA_HOME
environment vars set before executing
Since all of this is conjecture and speculation..do you have the source for
tomcat.exe so we can find out whats going on?
Thanks,
Martin Gainty
GMT+5
(e)[EMAIL PROTECTED]
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse distribution to any party other than intended recipient. Sender does
not necessarily endorse content contained within this transmission.
> Subject: JAVA_HOME is not found but tomcat is running. possible?
> To: [email protected]
> From: [EMAIL PROTECTED]
> Date: Fri, 17 Oct 2008 18:58:29 +0530
>
> Hi all ,
>
> I have a tomcat 4.x version (Perhaps it is a old version ,it is in
> production and we cant upgrade as of now).
>
> It is running as a window service in Windows2000 server.
> in the service icon i can find the path to executable:
>
>
> C:\Products\Apache Tomcat 4.1\bin\tomcat.exe
>
> My doubt is ,does tomcat.exe needs JAVA_HOME or JRE_HOME defined to run
> tomcat in this case as we are not starting tomcat using Startup.bat or
> Catalina.bat.
>
> If so,In my system i couldn't find any environmental varible set for
> JAVA_HOME or JRE_HOME... i can find only CATALINA_OPTS in it.
>
> It is also not defined in any of the .bat file as well...please help me on
> this.thanks
>
>
>
>
>
> Regards,
> Thangavel Sankaranarayanan
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
_________________________________________________________________
Stay organized with simple drag and drop from Windows Live Hotmail.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008