When it's running as a service, Tomcat gets the location of Java from
the registry, not from JAVA_HOME.
You can change this and other settings using tomcat4w.exe.
-- 
Len



On Fri, Oct 17, 2008 at 09:28, Thangavel Sankaranarayanan
<[EMAIL PROTECTED]> wrote:
> 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: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to