Checking the server port number

To run Rule Execution Server, Decision Center, and other applications on the sample server, you must make sure that the port number is correct.

About this task

You must use the correct port number in the URLs. For example, when the documentation indicates the URL http://localhost:<PORT>/teamserver, you must replace <PORT> with the value used by your server.

The default port number for WebSphere® Application Server is 9080, but it can be different depending on your installation.

The first time that you start the sample server, a was.properties file is created along with the WebSphere Application Server profile. The was.properties contains the information about the server host and port, and the path to the installation of WebSphere Application Server.

Procedure

To check the port number:

  1. Open <WAS_InstallDir>/profiles/ODMSample<version>/data/was.properties.

    <WAS_InstallDir> refers to the installation directory of WebSphere Application Server. Depending on your installation, the installation directory of WebSphere Application Server can be located under the installation directory of Operational Decision Manager.

  2. Check the value of the server.port property.
    For example, if the value is 9081, you must add this value to the URLs of the applications that run on the sample server:
    • Rule Execution Server: http://localhost:9081/res
    • Decision Center Enterprise Console: http://localhost:9081/teamserver
    • Decision Center Business Console: http://localhost:9081/decisioncenter
    • Event Widgets: http://localhost:9081/EventWidgets/widgets/
  3. You can also look at the preferences in the samples console to view the URLs for Rule Execution Server and Decision Center. On the Window menu, click Preferences, and expand Operational Decision Manager > Samples Console.