You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Shailesh Kochhar <sh...@gmail.com> on 2005/01/26 19:08:06 UTC

Tomcat 5.0: Configuring default directory property

Hi,

I'm running Tomcat 5.0.28 on Win2K and I'm trying to set the default
directory that Tomcat uses when creating/reading files.

I have some dll files that need to be loaded by my webapp and need to
be present in the default directory. I created a jsp page to figure
out what the directory was, and it turns out that it's
C:\WINNT\System32 which is obviously a bad place to put app specific
dlls.

I've tried setting the workDir for both the Host (localhost) and the
Context (foo) in server.xml and placing my dlls there, but with no
luck.

I also tried placing the dlls in
$CATALINA_HOME\work\Catalina\localhost\foo - but that didn't work
either. It seems that my app works only when the dlls are in
C:\WinNT\System32 and I really don't want to leave them there.

Thanks,

  - Shailesh

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