> From: lightbulb432 [mailto:[EMAIL PROTECTED] 
> Subject: Multiple Tomcat 6 instances with catalina.base
> 
> in my startup script I say the following:
> 
> startup -Dcatalina.base="pathToBaseDir"

Despite what RUNNING.txt says, I don't think that works.  You actually
need to set the CATALINA_BASE environment variable prior to invoking the
startup.bat script.

> Right now the baseDir that I point to in the startup script 
> is completely empty. I was hoping that Tomcat would populate
> it with some defaults, but I guess not.

Tomcat won't - that's up to you.  However, logs, temp, and work should
all initially be empty, so all you really need to set up are conf and
webapps.

With the simplified classloading hierarchy of Tomcat 6, there's not much
that's documented as shared anymore; according to RUNNING.txt, it's just
bin, not even the lib directory.  However, examining catalina.properties
shows that lib is actually referenced via CATALINA_HOME, not
CATALINA_BASE, so that would seem to be shared across multiple instances
and need not be copied.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to