Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Default Directory

Andi Reinbrech

2004-05-13


Hi,

With Tomcat 5.0.24 running as a service, where would the "current directory"
be? 5.0.18 allowed you to specify --WorkingPath "%CATALINA_HOME%\bin" in
service.bat, but this setting is ignored now in 5.0.24.

I need to open some config files from the current directory at startup.

BTW how does the technique work to "grab a resource" from the CLASSPATH?
Maybe I only need to put the config files in the classpath in that case.
(or in the WEB-INF directory of the service?).

Thanks!
Andi

**************************************************************************************************************************
Everything in this e-mail and attachments relating to the official business of MultiChoice Africa is proprietary to
the company. Any view or opinion expressed in this message may be the view of the individual and should not automatically
be ascribed to the company. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or
copy this message. If you have received this message in error, please notify the sender immediately by email, facsimile
or telephone and destroy the original message.
**************************************************************************************************************************
©2008 junlu.com - Jax Systems, LLC, U.S.A.