Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Issue 5559 and 5987 does not affect the G3 minimal bundles

...

  1. Create a directory foo under <geronimo_home>.
  2. Copy var, repository and etc directories to foo.You can use the command deploy:new-server-instance to help you with this step.
  3. Edit foo/var/config/config-substitutions.properties and change the portOffset. Try using any integers such as 1, 2, 10, 20, 30.. for various instances.
Note

The For the Geronimo javaee6 release bundles, the ActiveMQ doesn't consume portOffset from config-substitutions.properties yet, therefore multiple-instance won't work until GERONIMO-5559 is fixed~! (Also GERONIMO-5987)
However, this is not a problem with the Geronimo minimal release bundles because it does not package nor implement the ActiveMQ service.

Running an instance

  1. Set the org.apache.geronimo.server.name system property to define a server name before you start the server. This system property is null by default, defining the server instance at <geronimo_home> as the default instance. Use the syntax -Dorg.apache.geronimo.server.name=foo to change the server name to an instance named foo located at <geronimo_home>/foo. Add this to your GERONIMO_OPTS environment variable:

...