Announcement Announcement Module
Collapse
No announcement yet.
Shared config/ across instances Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X