Results 1 to 2 of 2

Thread: Shared config/ across instances

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    1

    Default Shared config/ across instances

    In the webinar titled "Large Scale Tomcat Deployments", one of the slides describes the option to share config/ across multiple tomcat instances. Specifically, the slide shows the following folder structure:

    apache-tomcat-6.0.x/
    * A regular Tomcat install
    run.sh
    * Control script
    shared/
    * Shared instance data
    - conf/
    logging.properties
    server.xml
    tomcat-users.xml
    - logs/
    instance_1/
    * An instance of a Tomcat server
    instance_2/
    instance_n/

    where the config files (server.xml, tomcat-users.xml) are shared across multiple tomcat instances. How exactly is this accomplished? where is the setting for which I can point to the shared config/ folder?

    Thank you

    Ben Tse

  2. #2

    Default

    hi Ben,
    the path to server.xml can be passed into the tomcat startup class
    java ..... org.apache.catalina.startup.Bootstrap -config /path/to/server.xml ....

    the path to tomcat-users.xml is defined in server.xml

    Filip

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •