Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar}

This article is organized as follows:

Table of Contents

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.

...

  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 for an instance named foo located at <geronimo_home>/foo. Add this to your GERONIMO_OPTS environment variable
    Tip
    titleWindows Hint

    set GERONIMO_OPTS=-Dorg.apache.geronimo.server.name=foo

  2. Start the server using startup
    Code Block
    <geronimo_home>/bin/startup
    
  3. To shutdown[] this instance use the port number of RMI Naming port (default 1099)
    Code Block
    <geronimo_home>/bin/shutdown --port <port_num>
    
  4. To []deploy applications to this instance use the port number of RMI Nmaing port
    Code Block
    <geronimo_home>/bin/deploy --port <port_num> deploy ......
    

...

To use multiple repositories see:
[] Multiple Repositories