...
- Create a directory
foo
under<geronimo_home>
. - Copy
var
,repository
andetc
directories tofoo
.You can use the command deploy:new-server-instance to help you with this step. - 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) |
Running an instance
- 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 namedfoo
located at<geronimo_home>/foo
. Add this to yourGERONIMO_OPTS
environment variable:
...