无法使用端口80"Address Already in use error: JVM_Bind"启动OnCommand应用程序
适用场景
此问题描述仅会影响安装在Windows主机上的以下OnCommand应用程序
- OnCommand Insight (OCI) 7.X
- ActiveIQ Unified Manager 9.6及更高版本
- OnCommand Workflow Automation (WFA)
问题描述
- 应用程序无法启动
:> netstat -ano| findstr -i 80
的输出 显示 系统(通常为PID 4)正在侦听端口80。- 这通常是万维网发布服务
- 所有部署文件均解析为.failed
- 在系统日志中、在 故障级联开始时出现以下错误:
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
- 尝试通过WebUI或Java客户端启动OnCommand Insight时。Java客户端返回以下应用程序 错误:
Unable to launch the application.
- 在JBoss日志中、报告以下错误:
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
报告错误:
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显示错误:
404 - Not Found