Technical Blog Post
Deploying the RMI registry in a Maximo Clustered Environment, part 2
Continuing from Deploying the RMI registry in a Maximo Clustered Environment, part 1 ...
Let's now look at how to prepare the RMI registry file, rmireg.war to build and deploy this to your clustered environment.
1. Prepare and Build the RMI Registry file
The tool used to build the rmireg.war file is <maximo_home>/deployment/buildrmiregwar.cmd. This tool uses the settings in the
<maximo_home>/applications/maximo/properties/maximo.properties file to build a war (Web Archive) file with the necessary parameters to run in the Maximo environment.
TIP: If you wanted, you could make a copy of the original maximo.properties file, rename it to for example maximo.propertiesRMI,
Open the buildrmiregwar.xml (which is used by the buildrmiregwar.cmd as the build file) and edit it to build using maximo.propertiesRMI
a) Edit the maximo.propertiesRMI file and make changes to the following:
By default, there is no mxe.registry.port property in properties files.
This property must be added if the registry port needs to be controlled or modified to use a port different than the default value of 1099.
Save your changes to the file.
b) Open command prompt and navigate to <maximo_home>/deployment and execute buildrmiregwar.cmd
c) You will see the rmireg_war file is created under the <maximo_home>/deployment/default folder
2. Now, let's move on to deploying this RMI registry in the application server.
This file will be deployed as a separate server on it's own independent of the Maximo clusters.
NOTE: I am using Maximo 7.5.x.x with Websphere 7.0.x.x for this demonstration, however, the process is the same for Maximo 7.6 with WebSphere 8.x.x.x.
a) Follow the below in depth guide with screenshots on how to deploy the RMI registry.
Note: It is important to note the RMI registry JVM is always the first one to start, then you can ripple start any Maximo clusters/JVMs afterwards.
3. Once everything is up and running!
Check out the Maximo systemout.log at the time of startup and you will see the RMI registry bound entry, which shows the registry started successfully.
Search for "Bound rmiI" text in the log file.
This is simple blog on how to set up RMI for a clustered environment. I hope you have enjoyed following this blog.