Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Clarify var setting for mutliple servers

...

  1. set the org.apache.geronimo.server.name system property to the instance name before you start the server.
    • Use the syntax -Dorg.apache.geronimo.server.name=foo to name your instance foo.
    • There are two ways to do this:
      1. Add this to your GERONIMO_OPTS environment variable, or
      2. Pass it on the java command-line invocation of the server.
    • The server's var directory will then be in <geronimo_home>/foo.
    • org.apache.geronimo.server.name may be any pathname relative to (descending from) <geronimo_home>. For example, servers/bar would put the server's var directory in <geronimo_home>/servers/bar.
    • The org.apache.geronimo.server.dir system property may also be used, and it overrides org.apache.geronimo.server.name.
    • Use org.apache.geronimo.server.name to specify an absolute path, which need not be relative to <geronimo_home>. For example, /ag20/servers/bar would put the server's var directory at /ag20/servers/bar. Otherwise, the two system properties behave the same.
  2. mkdir foo
  3. Copy var to foo.
  4. Start the server.

Multiple Repositories

First, we consider the case single server instance case, and just add a second repository. Say we want to leave Geronimo in its repository, but add a second repository to deploy our applications. Adding a second repository is pretty easy.

...