new1234.jpg

Archive

Posts Tagged ‘Infrastructure Web Access’

VMware: Java.net.BindException: Address already in use: JVM_Bind

September 13th, 2010 6 comments

Today I got some trouble with VMware Infrastructure Web Access, when I start the service he unexpectedly stops every time. After searching on even id 7034 I found some information about Tomcat. When opening some logfiles I saw this errors:

13-sep-2010 10:11:26 org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
    at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Solution:

There is a conflict with your default Tomcat port, change the port and bring your webservices online again. To resolve this issue you need to change the port in the server configfile located:

C:\Program Files\VMware\Infrastructure\VirtualCenter Server\tomcat\conf\server.xml

image

Change the port from 8005/tcp to 8006/tcp (whatever you want) and start your service. The service won’t crash anymore

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn