VMware: Java.net.BindException: Address already in use: JVM_Bind
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
Change the port from 8005/tcp to 8006/tcp (whatever you want) and start your service. The service won’t crash anymore
pimp
My cousin recommended this blog and she was totally right keep up the fantastic work!
Keep up the good work, I like your writing.
Credit to you the poster
Fixed my issue, thanks!
Thanks!