Port already in use BindException error Inquira start fails (Doc ID 1039933.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Knowledge - Version 8.0.x to 8.4.2.1 [Release 8.0 to 8.4]
Information in this document applies to any platform.

Symptoms

*Symptoms
Briefly describe the symptoms of the problem. Remember to delete any customer specific information

When starting one of the inquira services the log shows a Port already in use error and then terminates the process.  Here are a couple example errors:

IM shutdown port already in use:

INFO: Starting Coyote HTTP/1.1 on http-8223
Mar 28, 2012 11:34:16 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 28, 2012 11:34:16 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 38323 ms
Mar 28, 2012 11:34:16 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8009]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)


JMX port in use:

If set up this way, only one instance under this install will be able to start. Subsequent instances will fail on start up with an error such as:

<-- Wrapper Stopped
--> Wrapper Started as Service
Launching a JVM...
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 2222; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
JVM exited while loading the application.
There were 1 failed launches in a row, each lasting less than 300 seconds. Giving up.
There may be a configuration problem: please check the logs.
<-- Wrapper Stopped

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms