[EMAIL PROTECTED] writes:
> Each server directory under tomcat-servers contains a complete copy
> of Tomcat at this point. (If someone can suggest a way to reduce the
> duplication while still being able to run multiple instances that are
> not aware of or affected by each other I'm open to suggestions.)

Although I only have one instance, I run it seperate from the unpacked
Tomcat installation, to make upgrading Tomcat easier.  You could do the
same to avoid duplicating the Tomcat installation.

For the Tomcat instance, I have the following directory structure:

        tomcat 
            |-- conf
            |     |- server.xml
            |
            |-- logs

This is seperate to the Tomcat installation, which is just the tar.gz
unpacked, and no modifications made.

I've got my own startup script which I use to launch it, which basically
sets the classpath pointing at the Tomcat installation, and uses arguments
to point to the configuration directory above.

    java -classpath $CLASSPATH org.apache.tomcat.startup.Tomcat
        -config /.../tomcat/conf/server.xml -home /.../tomcat

The "-home" setting means that the logs and auto-generated files (which I
don't use) get written to this directory.

-- 
 `O O'  | [EMAIL PROTECTED]
// ^ \\ | http://www.pyrites.org.uk/

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

Reply via email to