IBM WebSphere - Resolve "Error occurred during startup Address already in use"

by
Jeremy Canfield |
Updated: March 08 2022
| IBM WebSphere articles
Let's say the following is in the HPEL or SystemOut log. This error occurs when attempting to start a WebSphere application server. In this example, port 12345 is "already in use".
WSVR0009E: Error occurred during startup
com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL:
ORBX0390E: Cannot create listener thread. Exception=[ java.net.BindException: Address already in use (Bind failed) - received while attempting to open server socket on port 12345 ].
WSVR0009E: Error occurred during startup
com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4 vmcid: 0x49421000 minor code: 56 completed: No
Use the netstat command with the -p flag to determine the PID/Program name that is using the port in question. In this example, PID "1012" is using port 12345. If a dash is displayed in the PID/Program name column, you may need to restart the operating system.
netstat -p
Proto Recv-Q Send-Q Local Address Foreign Address PID/Program name
tcp 0 0 102.168.0.101:12345 0.0.0.0:* 1012
Use the ps command with the -ef flags to determine the program associated wtih the PID that is using the port.
ps -ef | grep 98765
PID TTY TIME CMD
98765 ? 00:00:00 /path/to/some/command
If the program using the PID is not needed, use the kill command with the -9 flag.
kill -9 98765
Attempt to start the WebSphere application server.
Did you find this article helpful?
If so, consider buying me a coffee over at