Geronimo provides an easy way of creating and running multiple server instances from a single Geronimo installation. All you need to do is copy a few directories and set a few system properties, and you will have a new server instance with all of the configurations in the default instance. We will now create another instance of the Geronimo server in which we have deployed the helloworld-cluster
sample application. This new instance will run in a different JVM on a different set of server ports. The two server instances replicate sessions between them such that the instance that is serving the request during a session is transparent to the user. To create a new server instance, follow the steps below:
1. Choose a name for your new server instance (for example, inst2) and create a directory with that name under the
<GERONIMO_HOME>
directory. We will refer to the instance name as<INSTANCE_NAME>
.2. Make sure that the...