Skip to main content

Product: OpenFusion CORBA Services

Version: ALL

 

Description:

How do you run an OpenFusion CORBA Service on a fixed port?

 

Resolution:

This is actually documented in the System Guide in the CORBA Properties section under the heading Server Port.

If you are using JacORB you will need to make sure you have set the jacorb.property:

use_imr = off

You can fix the port for the service by using the Administation Manager or by using the command line tool, adminMgrTool.

A) To use the Administration Manager

1. Start the Administration Manager. If you just want to start the Manager tool for configuration purposes you can use the following command:

manager -noorb

You will not be able to start or stop the services if you do this, but you can configure them.

2. Choose the Service from the list and go to the CORBA tag. In the 'Server Port ' option enter the number of the port you require.

3. Save the settings and exit the manager. You should now be able to start the service on a fixed port

If you want to run the Administration Manger on a fixed port so that you can start it without the imr you need to fill in the server port setting on the General tag on the Domains node.


B) Using the command line tool

You can do also set the port by using the adminMgrTool, which is a command line tool that allows you to alter the contents of the xml files. You will find this in the bin directory of the installation.

If you have not started the service before, you will need to populate the xml files before you do anything. You do this by using the command:

adminMgrTool -p

To change the port number you would use the following command:

adminMgrTool -ap OpenFusion.localhost.NameService Port 14058


-ap means change this property
OpenFusion.localhost.NameService is the object you want to change
Port is the value in the xml file you are changing
And 14058 is the value you want to set to for the port.

adminMgrTool -? shows all the options available for this tool.


#OpenFusion
#KnowledgeDocs