"ORBX0390E: Cannot create listener thread" starting CRX

Issue

Starting your IBM WebSphere instance, you might notice some CRX packages fail to initialise and the following exception appear in the SystemOut.log:

 

POST /lc/services/lccqrpc HTTP/1.1 ORBX0390E: Cannot create listener thread. Exception=[ org.omg.CORBA.INTERNAL: CAUGHT_EXCEPTION_WHILE_CONFIGURING_SSL_SERVER_SOCKET, Exception=org.omg.CORBA.INTERNAL: UNABLE_TO_CREATE_SSL_SERVER_SOCKET Exception=java.net.BindException: Address already in use  vmcid: 0x49421000  minor code: 76  completed: No  vmcid: 0x49421000  minor code: 77  completed: No - received while attempting to open server socket on port 12004 ].[4/21/15 13:04:08:798 CEST] 000001a5 Document      E   DOCS001: Unexpected exception. See the stack trace for details.                                

 

Multiple restarts might be required to resolve the port conflict.

Solution

This issue is related to a restriction on IBM WebSphere not allowing multiple calls to ORB.init() when Global Security is enabled. This permanent restriction is documented on the following technical note from IBM:

http://www-01.ibm.com/support/docview.wss?uid=swg1PK58704

 

To resolve the problem, configure the following ports to be dynamic by setting the value to "0":

  • ORB_LISTENER_ADDRESS
  • SAS_SSL_SERVERAUTH_LISTENER_ADDRESS
  • CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS
  • CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS 

 

Screenshot of the recommended configuration below:

WASPorts