Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

VMware vFabric Hyperic Server 4.5/4.6 fails to start when another Tomcat instance is running on same machine (2034753)

Symptoms

VMware Hyperic Server fails to start and the following error appears in the Bootstrap.log file:

ERROR [main] [org.apache.catalina.core.StandardServer@410] StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
    at java.net.DualStackPlainSocketImpl.bind0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
    at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
    at java.net.PlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.apache.catalina.core.StandardServer.await(StandardServer.java:406)
    at org.apache.catalina.startup.Catalina.await(Catalina.java:676)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:628)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Cause

In vFabric Hyperic Server 4.5 and 4.6, the Hyperic Server's internal application server (Tomcat or tcServer) listens for shutdown commands on port 8005. This port is the default shutdown port for Tomcat and should be disabled for any Tomcat instance running Hyperic.

If there are other Tomcat or tc Server instances on the Hyperic Server host listening on 8005, the Hyperic Server fails to start.

This problem occurs when the application server is configured in server.xml to use shutdown.port instead of base.shutdown.port.

Resolution

To resolve this issue, you must open server-4.X.Y-EE/hq-engine/hq-server/conf/server.xml and change this line

<Server port="${shutdown.port}" shutdown="SHUTDOWN">

to:

<Server port="${base.shutdown.port}" shutdown="SHUTDOWN">

After you have modified the line, save the file. 

Additional Information

This is a known issue affecting VMware vFabric Hyperic Server 4.5.3, 4.6.5 and 4.6.5.1.

This has been fixed for version 4.6.6.

Tags

Hyperic Server fails to start,java.net.BindException: Address already in use: JVM_Bind,ERROR [main] [org.apache.catalina.core.StandardServer@410] StandardServer.await: create[8005]:,

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: