When I run Tomcat as a service, the working directory becomes
c:\windows\system32.

I'm using Grails and it tries to load application.properties and other files
such as images from this path. My current workaround is to copy all these
files into system32 (i.e. images have to go in
c:\windows\system32\web-app\images). But that needs to be fixed properly.

Is there a way to set a working directory for Tomcat?
- OR -
Is there a way to specify in Grails where to look for files?

Thanks much.

Michael
-- 
View this message in context: 
http://www.nabble.com/Tomcat-as-Service----Working-Directory-is-system32-tp14668013p14668013.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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