Assuming you are using Tomcat 5.x.xx, you can add the following to service.bat to set the working directory...


set PR_STARTPATH=%CATALINA_HOME%\bin
set PR_STOPPATH=%CATALINA_HOME%\bin

I set it to Tomcat's "bin" directory since that is where it would be if running with the startup.bat file. Just seems consistent. You can set it for anywhere you want.

You can also modify this using the GUI interface. Just run "tomcat5w.exe" and adjust the values in the "Working Path" field in the "Startup" and "Shutdown" tabs.

Jake

At 09:32 AM 11/25/2004 +0000, you wrote:
>Is there any way to change this, when tomcat runs as a service, from
>c:\winnt\system32?
>
>TIA
>
>Mark
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to