|
| Home > Apache Geronimo v2.2 > Documentation > Installing and running > Running Geronimo > Running Multiple Geronimo Instances |
It is possible to run multiple instances of geronimo on the same machine. Currently multiple instances of geronimo share the following directories in <geronimo_home>, the directory where you installed Geronimo.
Each instance gets its own copy of the following at <geronimo_home>/<instance_name>
bin, lib and schema are read-only, and thus may be shared between instances. The repository is also shared, which means that an application deployed in one instance will show up in the list of deployed modules in all the other instances, but only shown running in the deployed instance.
Start with a fresh image of geronimo. Do not use an image that has been used to run the default instance.
To create an instance named foo do the following. All your instance data will be put in <geronimo_home>/foo. All the directories named below are relative to <geronimo_home>.
Follow the procedures as below:
<geronimo_home>/bin/startup
<geronimo_home>/bin/shutdown --port <port_num>
<geronimo_home>/bin/deploy --port <port_num> deploy <applications>
The Administrative Console can also be used for all these operations. Connect to an instance by using the right HTTP port (default 8080).
To use multiple repositories see Configuring multiple repositories.
|
|
Privacy Policy - Copyright © 2003-2011, The Apache Software Foundation, Licensed under ASL 2.0. |