|
Re: Does WTP reset CATALINA_HOME at "Run at Server"-time? [message #174515 is a reply to message #174507] |
Sat, 15 July 2006 13:13 |
Eclipse User |
|
|
|
Originally posted by: gene.rockhoppertech.com
Graeme Harker wrote:
> If I "Run at Server" WTP appears to "publish" my application to a secret
> folder in the workspace. If my Tomcat app uses the CATALINA_HOME
> environment variable as the basename of pathnames for file IO then it's
> going to get confused if I "Run at Server" unless WTP automatically
> resets CATALINA_HOME to point to the secret folder in the workspace.
> Does WTP do this or do I have to set CATALINA_HOME explicitly?
The default config is to run it from the workspace. You can change that.
Double click on the server.
Your code that does file IO based on an environment variable - or a
directory path - in a web app has to go. That is not the way to do it -
as you just discovered.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04030 seconds