THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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.
...
Start with a fresh image of geronimo. Do not use an image that has been used to run the default instance.
...
- 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 namedfoo
located at<geronimo_home>/foo
. Add this to yourGERONIMO_OPTS
environment variableTip title Windows Hintset GERONIMO_OPTS=-Dorg.apache.geronimo.server.name=foo
- Start the server using startup
<geronimo_home>/bin/startup
- To shutdown this instance use the port number of RMI Naming port (default 1099)
<geronimo_home>/bin/shutdown --port <port_num>
- To deploy applications to this instance use the port number of RMI Naming port
<geronimo_home>/bin/deploy --port <port_num> deploy ......
...