Sunday, January 2, 2011

Changing OC4J ORMI Default Port for Oracle Warehouse Builder

I had an issue recently when i had to move Oracle Warehouse Builder and OBIEE on the same machine, they were running on separate machines in the production environment.

I was not able to start the OC4J service of Oracle Warehouse Builder as OBIEE OC4J was already running.

I Changed the ORMI OC4J Port of the Oracle Warehouse Builder and it worked like a charm!
  
The following are simple steps to change the ORMI default port in Oracle Warehouse Builder.

Navigate to OWB_HOME\bin\win32 and run ccashut.bat(in case OC4J is already running).
Next navigate to OWB_HOME\owb\jrt\config\rmi.xml file look out for rmi-server tag for port and ssl-port attributes.
Change the default non-ssl port 23791 and ssl port 23943, to any port which is not blocked.
Now start OC4J by navigating to OWB_HOME\bin\win32 and run ccastart.bat.
Edit the ccashut.bat in OWB_HOME\bin\win32, look out for string ormi://localhost:23791 and change the port number here to the value you specified in rmi file, If this step is not done you cannot shutdown CCA.

After the above changes you have to un-register and re-register the Default Agent to make the mappings work.

Goto Control Center Manager
Right Click Default Agent
Select Unregister Option select Yes
Right Click again on Default Agent select Register
Change the Port here(the same port that was put in rmi.xml file) and Press Ok.

No comments:

Post a Comment