search cancel

JCP won't start | java.lang.IllegalArgumentException: port out of range


Article ID: 202665


Updated On:


CA Automic Workload Automation - Automation Engine


When attempting to start the JCP on a new installation or after changing ports, the JCP won't start up.  

JCP log shows:

20201103/110908.653 - 54     U00045014 Exception 'java.lang.IllegalArgumentException: "port out of range:[REST port number]"' at ''.
20201103/110908.653 - 54     U00003620 Routine '' forces trace because of error.

and the JCP trc file shows:

20201103/105601.700 - 55               ----------------------- Stack Trace -----------------------
20201103/105601.700 - 55               java.lang.IllegalArgumentException: port out of range:[REST port number]
20201103/105601.700 - 55                at Source)
20201103/105601.700 - 55                at<init>(Unknown Source)
20201103/105601.700 - 55                at<init>(Unknown Source)


The PORT number is not allowed on the OS


Update the port= setting in the [REST] section of the ucsrv.ini file to a valid port number.