Unable to launch OnCommand Application with port 80 'Address already in use error: JVM_Bind'
Applies to
This issue only impacts the following OnCommand applications when installed on a Windows Host
- OnCommand Insight (OCI) 7.X
- ActiveIQ Unified Manager 9.6+
- OnCommand Workflow Automation (WFA)
Issue
- Application failsed to start
- output of
:> netstat -ano| findstr -i 80
shows SYSTEM (usually PID 4) is LISTENING on Port 80. - This is usually the World Wide Web Publishing service
- The Deployment files all resolve as a .failed
- Within the System Logs the following errors seen at the beginning of the cascade of failures:
Services which failed to start: service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener.
20XX-XX-XX 16:05:17,892 INFO [org.jboss.as.connector.subsystems.datasources] (msc service thread 1-3) JBAS010409: Unbound Datasource [Java:/onaro_pool_acq]
20XX-XX-XX 16:05:17,908 INFO [org.jboss.as.connector.deployers.jdbc] (msc service thread 1-8) JBAS010418: Stopped Driver service with driver-name = h2
20XX-XX-XX 16:05:17,908 INFO [org.jboss.messaging] (msc service thread 1-2) JBAS011605: Unbound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory
20XX-XX-XX 16:05:17,908 INFO [org.jboss.as.connector.subsystems.datasources] (msc service thread 1-4) JBAS010409: Unbound Datasource [Java:/onaro_pool]
20XX-XX-XX 16:05:17,908 INFO [org.wildfly.extension.undertow] (msc service thread 1-7) JBAS017521: Undertow HTTPS listener https suspending
20XX-XX-XX 16:05:17,923 INFO [org.jboss.as.connector.deployment] (msc service thread 1-1) : Unbound JCA ConnectionFactory [java:/JmsXA]
20XX-XX-XX 16:05:17,923 INFO [org.jboss.as.connector.messaging] (ServerService Thread Pool -- 67) JBAS011605: Unbound messaging object to jndi name java:/queue/SummaryQueue
- When attempting to launch the OnCommand Insight by WebUI or Java client. Java client returns the following Application Error:
Unable to launch the application.
- In jboss logs, the following error is reported:
ERROR [org.apache.coyote.http11.Http11Protocol] Error initializing endpoint: java.net.BindException: Address already in use: JVM_Bind /0.0.0.0:80
jboss/server.log
reports error:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service org.wildfly.undertow.listener.default: org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.default: Address already in use: bind /0.0.0.0:80
ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "undertow"),
("server" => "default-server"),
("http-listener" => "default")
]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.undertow.listener.default" => "Address already in use: bind /0:0:0:0:0:0:0:0:80"}}
ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "messaging-activemq"),
("server" => "default")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.http-upgrade-registry.default"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.messaging-activemq.default is missing [jboss.http-upgrade-registry.default]"]
- WebUI shows error:
404 - Not Found