12.x JCP won't start U00045102 Error: All defined ports in the configuration file are already in use.
search cancel

12.x JCP won't start U00045102 Error: All defined ports in the configuration file are already in use.

book

Article ID: 234520

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

JWP starts, but JCP will not start.  The CP log files hows:

20220211/203230.566 - 26     U00003487 ListenSocket with port number '0.0.0.0:2217' could not be created.
20220211/203230.566 - 26     U00045014 Exception 'java.net.BindException: "Address already in use: bind"' at 'sun.nio.ch.Net.bind0()'.
20220211/203230.566 - 26     U00003487 ListenSocket with port number '0.0.0.0:2218' could not be created.
20220211/203230.566 - 26     U00045014 Exception 'java.net.BindException: "Address already in use: bind"' at 'sun.nio.ch.Net.bind0()'.
20220211/203230.566 - 26     U00045058 Failed to get a free port for this 'JCP'. Check the [PORTS] section of the configuration file.
20220211/203230.581 - 26     U00045102 Error: All defined ports in the configuration file are already in use. 

Environment

Release : 12.2

Component :

Resolution

The ucsrv.ini file had:

cp1=2217
cp2=2218
;cp3=2219

we uncommented the line:
cp3=2219

JCP started after this