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 product URLs.
When the documentation indicates a URL such as http://localhost:<PORT>/decisioncenter,
you must replace <PORT> with
the value that is used by your server.
The default port number
for the sample server is 9090. Make sure this port
is available on your machine before running the sample server. If
it is not available, you can use a different port number.
Procedure
- If port
9090is in use, try to stop the application running on the port before running the sample server. - If you cannot stop the application that is running on port
9090, you can change the port number of the sample server before you run the server:- Set the property
server.portto another port number in <Install Dir>/shared/samplesServer/wlp/build.properties. - Set the property
httpPortto the new port number in the file <Install Dir>/shared/samplesServer/wlp/server.xml.
You can then start the server with the usual procedure.
- Set the property
Results
If you change the port number, you must use the new number
in all the URLs that access the sample server. For example, if the
port number is now 9091, you must add this value
to the URLs of the applications that run on the sample server:
- Rule Execution Server: http://localhost:9091/res
- Decision Center Business console: http://localhost:9091/decisioncenter