tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Working directory for tomcat service on W2K
Date Thu, 25 Nov 2004 16:52:00 GMT

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: tomcat-user-unsubscribe@jakarta.apache.org
 >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message