Tomcat 5.5 JRE Working Director
Hello,
I have an instance of Tomcat 5.5 running with IIS6. When my web app starts up, the first thing it does is reads a custom config file, and starts up a custom logger class. The application, currently requires that the config and log files exists in windows/system32. Which wouldn't be a problem, but I need to support three environments (Dev/Test/Demo) on one machine, and currently that means all three environments would read the same config file.
So, I was wondering how I can define the current working directory for the JRE when it starts. So, instead of pointing to windows/system32 (which it's doing now) point to my application's document root directory.
I would like to avoid making any changes to the code,. but if that's the only way, then, I guess I'll have to do it that way. But the code is working fine with three enviorments on an older version of Tomcat.
Thanks!
Chris

