|
| Home > Apache Geronimo v2.1 > Documentation > User's guide > Administration > Running Geronimo > Running Multiple Instances of Geronimo |
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 shared, i.e. an application deployed in one instance will show up in the list of deployed modules, but not running, in all the other instances!
| Be Careful 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 follwing. All your instance data will be put in <geronimo_home>/foo. All the directories named below are relative to <geronimo_home>.
We will be using var as a template.
| Windows Hint set GERONIMO_OPTS=-Dorg.apache.geronimo.server.name=foo |
The Geronimo Administration Console can also be used for all these operations. Connect to an instance by using the right HTTP port (default 8080)
The default instance is nameless, i.e. it is run from <geronimo_home>/var. It can be deleted!
The default instance named 'geronimo' will be created and run using the following. It will use <geronimo_home>/geronimo for instance data.
<geronimo_home>/bin/startup
To use multiple repositories see:
Multiple Repositories
|
|
Copyright © 2003-2008, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. |