it turns-out that my problem was defining CATALINA_BASE improperly
for the Win2K service.  i was setting CATALINE_BASE as an Enviroment
variable. for example:

          MS-DOS> CATALINA_BASE=...

and then i <Start>'ed the Service.  wrong! that is NOT how to define config 
params for the Tomcat (all MS-Windows?) Service.  as a result, when my 
Tomcat Service started, it had no knowledge of my environment variable and
just defaulted CATALINA_BASE to CATALINA_HOME.

i fixed the problem by running the Service Management GUI (tomcat5w.exe). 
under startup options i added a line: -Dcatalina.base=G:/tomcatuser
and that did the job.

shame on me for developing under Win2K instead of FreeBSD.

thanks to all for reviewing/answering my post.

 - ken harwood


i'm running the latest tomcat (5.5.9) on Win2K Pro.
Tomcat works in the default configuration.  thanks.
i'm trying to get Tomcat working using CATALINA_BASE.
that is, i want a second Tomcat instance to serve my 
webapps from a directory different than the default.  

the "default" directory is (F:\tomcat 5.5\webapps\myapp).
the "secondary" is (G:\tomcatuser\webapps\myapp).
CATALINA_HOME=F:\tomcat 5.5
CATALINA_BASE=G:\tomcatuser

[snip]

Tomcat seems to ignore my "second" configuation.  
that is, when i start tomcat it keeps trying to fetch
my web pages from the [F:] disk's directory.

Reply via email to