Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  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 ActiveMQ doesn't consume portOffset from config-substitutions.properties yet, therefore multiple-instance won't work until GERONIMO-5559 is fixed~!

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:

...