How to configure two OC4j containers for two different applications running on same server.

Introduction:

The default port for the OC4j container is 8888. You may not be able to install on that port. You need to change the port settings in 3 XML files.

In OC4j, all the configuration files are placed under below path,

/u02/oracle/j2ee/home/config

1. Configure the listening port

Open the defaut-web-site.xml file

If port 8888 is already occupied, change the default port 8888 to port 8844.

2. Configure the start port

Open the rmi.xml file

The remote service port setting is 23971 by default. If two OC4Js are installed on the same server, the other one needs to be modified to 23972.

3. Configure the jms port

Open the jms.xml file

If port 9127 already in use, change the default port 9127 to port 9128.

Recommended Posts

Start typing and press Enter to search