Hi,

I have more or less successfully setup multiple instances of Tomcat using the 
same $CATALINA_HOME install, but am encountering a couple of issues I can't 
seem 
to resolve after searching for answers.  I am running Tomcat 5.5.29 on Windows 
XP Pro SP3.

For each new instance I have performed the following steps:

1) created a new CATALINA_BASE directory with the following structure:
        bin
            setenv.bat
        conf
            |- Catalina
            |    |- localhost
            |        |-admin.xml
            |        |-manager.xml
            |-server.xml
            |-tomcat-users.xml
            |-web.xml
        logs
        temp
        webapps
        work

2) created a bin/setenv.bat setting some JAVA_OPTS and CATALINA_OPTS as follows:

set JAVA_OPTS= -XX:MaxPermSize=256M 
set CATALINA_OPTS= -Xms512m -Xmx1024m 

3) modified admin.xml and manager.xml to point docbase back to the 
$CATALINA_HOME webapp location under server/webapps/
4) created a startup.bat file in each $CATALINA_BASE setting $CATALINA_BASE and 
calling startup.bat in $CATALINA_HOME/bin

Each instance is starting up using the correct directories as shown from the 
startup extract of one of the starts:

Using CATALINA_BASE:   C:\tomcat\apache-tomcat-5.5.29-mpm
Using CATALINA_HOME:   C:\tomcat\apache-tomcat-5.5.29
Using CATALINA_TMPDIR: C:\tomcat\apache-tomcat-5.5.29-mpm\temp
Using JRE_HOME:                C:\Java\jdk1.6.0_20
Using CLASSPATH:           C:\tomcat\apache-tomcat-5.5.29\bin\bootstrap.jar

So my questions are as follows:

1) /admin works fine on each instance, but /manager does not and I can't see 
why 
not as pathing is correct
2) why no log files are being output anywhere that I've been able to determine 
- 
not in $CATALINA_BASE nor in $CATALINA_HOME - so I'm not sure what happened to 
the Tomcat log files - the Tomcat docs say this will be automatically 
determined 
based on $CATALINA_BASE, but I have no log files being output anywhere anymore.

Thanks
Rob


      

Reply via email to