Hi there Craig,

I've been attempting to set up Tomcat 4.0 b1 for my own use, and I've found
I have a bit of an issue with the way that it handles the "current
directory".

Usually I like to install a servlet container once and have multiple
configurations for it set up in different directories (e.g. a server.xml and
some webapps - I need this to work with our version control system). To do
this I like to rely on the current directory to find the various config
files. However, catalina sets the effective current directory for
the -config option (and some other things, by the look) to CATALINA_HOME,
which kind of breaks this way of doing things. This presumably means I would
have to hard code full path names to the conf file, and from there to all
the webapp dirs, etc. Unfortunatelty this is incompatible with our VC system
which creates working dirs with a different name each time...

Is there a good reason that catalina can't use the user's current directory
as the base for relative paths? Perhaps even check for a file in the users
current dir and _then_ check for the file in CATALINA_HOME? If you think
it's not likely to cause problems I could probably do a patch...

cheers

Geoff



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to