dodonohoe
asked on
Tomcat Server Won't Start
Hi all,
I really hope someone can help. My Tomcat server will no longer start.
Netstat -a shows there is nothing using the required port.
I have also tried to force a port change in the server.xml file and still get the same results
I am using the following Windows7, JDK1.7.0, Tomcat 6.0.14
here is the full error message
Jan 05, 2012 8:46:34 PM org.apache.catalina.core.A prLifecycl eListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\Program Files\Java\jdk1.7.0\jre\bi n;C:\Windo ws\Sun\Jav a\bin;C:\W indows\sys tem32;C:\W indows;C:\ Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C :\Windows; C:\Windows \System32\ Wbem;C:\Wi ndows\Syst em32\Windo wsPowerShe ll\v1.0\;C :\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core- Static;C:\ Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Progr am Files (x86)\MySQL\MySQL Server 5.5\bin;.
Jan 05, 2012 8:46:34 PM org.apache.coyote.http11.H ttp11Proto col init
SEVERE: Error initializing endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net .JIoEndpoi nt.init(JI oEndpoint. java:501)
at org.apache.coyote.http11.H ttp11Proto col.init(H ttp11Proto col.java:1 77)
at org.apache.catalina.connec tor.Connec tor.initia lize(Conne ctor.java: 1059)
at org.apache.catalina.core.S tandardSer vice.initi alize(Stan dardServic e.java:677 )
at org.apache.catalina.core.S tandardSer ver.initia lize(Stand ardServer. java:792)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 518)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 538)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.load(Boo tstrap.jav a:260)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:412)
Jan 05, 2012 8:46:34 PM org.apache.catalina.startu p.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec tor.Connec tor.initia lize(Conne ctor.java: 1061)
at org.apache.catalina.core.S tandardSer vice.initi alize(Stan dardServic e.java:677 )
at org.apache.catalina.core.S tandardSer ver.initia lize(Stand ardServer. java:792)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 518)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 538)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.load(Boo tstrap.jav a:260)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:412)
Jan 05, 2012 8:46:34 PM org.apache.catalina.startu p.Catalina load
INFO: Initialization processed in 683 ms
Jan 05, 2012 8:46:35 PM org.apache.catalina.core.S tandardSer vice start
INFO: Starting service Catalina
Jan 05, 2012 8:46:35 PM org.apache.catalina.core.S tandardEng ine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Jan 05, 2012 8:46:43 PM org.apache.coyote.http11.H ttp11Proto col start
SEVERE: Error starting endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net .JIoEndpoi nt.init(JI oEndpoint. java:501)
at org.apache.tomcat.util.net .JIoEndpoi nt.start(J IoEndpoint .java:515)
at org.apache.coyote.http11.H ttp11Proto col.start( Http11Prot ocol.java: 204)
at org.apache.catalina.connec tor.Connec tor.start( Connector. java:1132)
at org.apache.catalina.core.S tandardSer vice.start (StandardS ervice.jav a:531)
at org.apache.catalina.core.S tandardSer ver.start( StandardSe rver.java: 710)
at org.apache.catalina.startu p.Catalina .start(Cat alina.java :566)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.start(Bo otstrap.ja va:288)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:413)
Jan 05, 2012 8:46:43 PM org.apache.catalina.startu p.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec tor.Connec tor.start( Connector. java:1139)
at org.apache.catalina.core.S tandardSer vice.start (StandardS ervice.jav a:531)
at org.apache.catalina.core.S tandardSer ver.start( StandardSe rver.java: 710)
at org.apache.catalina.startu p.Catalina .start(Cat alina.java :566)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.start(Bo otstrap.ja va:288)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:413)
Jan 05, 2012 8:46:43 PM org.apache.catalina.startu p.Catalina start
INFO: Server startup in 8202 ms
Jan 05, 2012 8:46:43 PM org.apache.catalina.core.S tandardSer ver await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSoc ketImpl.bi nd0(Native Method)
at java.net.DualStackPlainSoc ketImpl.so cketBind(D ualStackPl ainSocketI mpl.java:9 6)
at java.net.AbstractPlainSock etImpl.bin d(Abstract PlainSocke tImpl.java :374)
at java.net.PlainSocketImpl.b ind(PlainS ocketImpl. java:175)
at java.net.ServerSocket.bind (ServerSoc ket.java:3 76)
at java.net.ServerSocket.<ini t>(ServerS ocket.java :237)
at org.apache.catalina.core.S tandardSer ver.await( StandardSe rver.java: 373)
at org.apache.catalina.startu p.Catalina .await(Cat alina.java :630)
at org.apache.catalina.startu p.Catalina .start(Cat alina.java :590)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.start(Bo otstrap.ja va:288)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:413)
Jan 05, 2012 8:46:43 PM org.apache.coyote.http11.H ttp11Proto col pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 05, 2012 8:46:44 PM org.apache.catalina.core.S tandardSer vice stop
INFO: Stopping service Catalina
Jan 05, 2012 8:46:44 PM org.apache.catalina.connec tor.Mapper Listener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerExcep tion
at org.apache.catalina.connec tor.Mapper Listener.d estroy(Map perListene r.java:162 )
at org.apache.catalina.connec tor.Connec tor.stop(C onnector.j ava:1180)
at org.apache.catalina.core.S tandardSer vice.stop( StandardSe rvice.java :593)
at org.apache.catalina.core.S tandardSer ver.stop(S tandardSer ver.java:7 44)
at org.apache.catalina.startu p.Catalina .stop(Cata lina.java: 616)
at org.apache.catalina.startu p.Catalina $CatalinaS hutdownHoo k.run(Cata lina.java: 659)
Jan 05, 2012 8:46:44 PM org.apache.coyote.http11.H ttp11Proto col destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jan 05, 2012 8:46:44 PM org.apache.catalina.connec tor.Connec tor stop
SEVERE: Coyote connector has not been started
Jan 05, 2012 8:47:40 PM org.apache.catalina.core.A prLifecycl eListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\Program Files\Java\jdk1.7.0\jre\bi n;C:\Windo ws\Sun\Jav a\bin;C:\W indows\sys tem32;C:\W indows;C:\ Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C :\Windows; C:\Windows \System32\ Wbem;C:\Wi ndows\Syst em32\Windo wsPowerShe ll\v1.0\;C :\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core- Static;C:\ Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Progr am Files (x86)\MySQL\MySQL Server 5.5\bin;.
Jan 05, 2012 8:47:40 PM org.apache.coyote.http11.H ttp11Proto col init
SEVERE: Error initializing endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net .JIoEndpoi nt.init(JI oEndpoint. java:501)
at org.apache.coyote.http11.H ttp11Proto col.init(H ttp11Proto col.java:1 77)
at org.apache.catalina.connec tor.Connec tor.initia lize(Conne ctor.java: 1059)
at org.apache.catalina.core.S tandardSer vice.initi alize(Stan dardServic e.java:677 )
at org.apache.catalina.core.S tandardSer ver.initia lize(Stand ardServer. java:792)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 518)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 538)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.load(Boo tstrap.jav a:260)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:412)
Jan 05, 2012 8:47:40 PM org.apache.catalina.startu p.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec tor.Connec tor.initia lize(Conne ctor.java: 1061)
at org.apache.catalina.core.S tandardSer vice.initi alize(Stan dardServic e.java:677 )
at org.apache.catalina.core.S tandardSer ver.initia lize(Stand ardServer. java:792)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 518)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 538)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.load(Boo tstrap.jav a:260)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:412)
Jan 05, 2012 8:47:40 PM org.apache.catalina.startu p.Catalina load
INFO: Initialization processed in 628 ms
Jan 05, 2012 8:47:40 PM org.apache.catalina.core.S tandardSer vice start
INFO: Starting service Catalina
Jan 05, 2012 8:47:40 PM org.apache.catalina.core.S tandardEng ine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Jan 05, 2012 8:47:45 PM org.apache.coyote.http11.H ttp11Proto col start
SEVERE: Error starting endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net .JIoEndpoi nt.init(JI oEndpoint. java:501)
at org.apache.tomcat.util.net .JIoEndpoi nt.start(J IoEndpoint .java:515)
at org.apache.coyote.http11.H ttp11Proto col.start( Http11Prot ocol.java: 204)
at org.apache.catalina.connec tor.Connec tor.start( Connector. java:1132)
at org.apache.catalina.core.S tandardSer vice.start (StandardS ervice.jav a:531)
at org.apache.catalina.core.S tandardSer ver.start( StandardSe rver.java: 710)
at org.apache.catalina.startu p.Catalina .start(Cat alina.java :566)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.start(Bo otstrap.ja va:288)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:413)
Jan 05, 2012 8:47:45 PM org.apache.catalina.startu p.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec tor.Connec tor.start( Connector. java:1139)
at org.apache.catalina.core.S tandardSer vice.start (StandardS ervice.jav a:531)
at org.apache.catalina.core.S tandardSer ver.start( StandardSe rver.java: 710)
at org.apache.catalina.startu p.Catalina .start(Cat alina.java :566)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.start(Bo otstrap.ja va:288)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:413)
Jan 05, 2012 8:47:45 PM org.apache.catalina.startu p.Catalina start
INFO: Server startup in 5214 ms
Jan 05, 2012 8:47:45 PM org.apache.catalina.core.S tandardSer ver await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSoc ketImpl.bi nd0(Native Method)
at java.net.DualStackPlainSoc ketImpl.so cketBind(D ualStackPl ainSocketI mpl.java:9 6)
at java.net.AbstractPlainSock etImpl.bin d(Abstract PlainSocke tImpl.java :374)
at java.net.PlainSocketImpl.b ind(PlainS ocketImpl. java:175)
at java.net.ServerSocket.bind (ServerSoc ket.java:3 76)
at java.net.ServerSocket.<ini t>(ServerS ocket.java :237)
at org.apache.catalina.core.S tandardSer ver.await( StandardSe rver.java: 373)
at org.apache.catalina.startu p.Catalina .await(Cat alina.java :630)
at org.apache.catalina.startu p.Catalina .start(Cat alina.java :590)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:57 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:43)
at java.lang.reflect.Method.i nvoke(Meth od.java:60 1)
at org.apache.catalina.startu p.Bootstra p.start(Bo otstrap.ja va:288)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:413)
Jan 05, 2012 8:47:45 PM org.apache.coyote.http11.H ttp11Proto col pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 05, 2012 8:47:45 PM org.apache.catalina.connec tor.Connec tor pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerExcep tion
at org.apache.jk.server.JkMai n.pause(Jk Main.java: 679)
at org.apache.jk.server.JkCoy oteHandler .pause(JkC oyoteHandl er.java:15 3)
at org.apache.catalina.connec tor.Connec tor.pause( Connector. java:1074)
at org.apache.catalina.core.S tandardSer vice.stop( StandardSe rvice.java :563)
at org.apache.catalina.core.S tandardSer ver.stop(S tandardSer ver.java:7 44)
at org.apache.catalina.startu p.Catalina .stop(Cata lina.java: 616)
at org.apache.catalina.startu p.Catalina $CatalinaS hutdownHoo k.run(Cata lina.java: 659)
Jan 05, 2012 8:47:46 PM org.apache.catalina.core.S tandardSer vice stop
INFO: Stopping service Catalina
Jan 05, 2012 8:47:47 PM org.apache.catalina.connec tor.Mapper Listener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerExcep tion
at org.apache.catalina.connec tor.Mapper Listener.d estroy(Map perListene r.java:162 )
at org.apache.catalina.connec tor.Connec tor.stop(C onnector.j ava:1180)
at org.apache.catalina.core.S tandardSer vice.stop( StandardSe rvice.java :593)
at org.apache.catalina.core.S tandardSer ver.stop(S tandardSer ver.java:7 44)
at org.apache.catalina.startu p.Catalina .stop(Cata lina.java: 616)
at org.apache.catalina.startu p.Catalina $CatalinaS hutdownHoo k.run(Cata lina.java: 659)
Jan 05, 2012 8:47:47 PM org.apache.coyote.http11.H ttp11Proto col destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jan 05, 2012 8:47:47 PM org.apache.catalina.connec tor.Connec tor stop
SEVERE: Coyote connector has not been started
Many thanks,
I really hope someone can help. My Tomcat server will no longer start.
Netstat -a shows there is nothing using the required port.
I have also tried to force a port change in the server.xml file and still get the same results
I am using the following Windows7, JDK1.7.0, Tomcat 6.0.14
here is the full error message
Jan 05, 2012 8:46:34 PM org.apache.catalina.core.A
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\Program Files\Java\jdk1.7.0\jre\bi
Jan 05, 2012 8:46:34 PM org.apache.coyote.http11.H
SEVERE: Error initializing endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net
at org.apache.coyote.http11.H
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:46:34 PM org.apache.catalina.startu
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:46:34 PM org.apache.catalina.startu
INFO: Initialization processed in 683 ms
Jan 05, 2012 8:46:35 PM org.apache.catalina.core.S
INFO: Starting service Catalina
Jan 05, 2012 8:46:35 PM org.apache.catalina.core.S
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Jan 05, 2012 8:46:43 PM org.apache.coyote.http11.H
SEVERE: Error starting endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net
at org.apache.tomcat.util.net
at org.apache.coyote.http11.H
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:46:43 PM org.apache.catalina.startu
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:46:43 PM org.apache.catalina.startu
INFO: Server startup in 8202 ms
Jan 05, 2012 8:46:43 PM org.apache.catalina.core.S
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSoc
at java.net.DualStackPlainSoc
at java.net.AbstractPlainSock
at java.net.PlainSocketImpl.b
at java.net.ServerSocket.bind
at java.net.ServerSocket.<ini
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:46:43 PM org.apache.coyote.http11.H
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 05, 2012 8:46:44 PM org.apache.catalina.core.S
INFO: Stopping service Catalina
Jan 05, 2012 8:46:44 PM org.apache.catalina.connec
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerExcep
at org.apache.catalina.connec
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:46:44 PM org.apache.coyote.http11.H
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jan 05, 2012 8:46:44 PM org.apache.catalina.connec
SEVERE: Coyote connector has not been started
Jan 05, 2012 8:47:40 PM org.apache.catalina.core.A
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\Program Files\Java\jdk1.7.0\jre\bi
Jan 05, 2012 8:47:40 PM org.apache.coyote.http11.H
SEVERE: Error initializing endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net
at org.apache.coyote.http11.H
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:47:40 PM org.apache.catalina.startu
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:47:40 PM org.apache.catalina.startu
INFO: Initialization processed in 628 ms
Jan 05, 2012 8:47:40 PM org.apache.catalina.core.S
INFO: Starting service Catalina
Jan 05, 2012 8:47:40 PM org.apache.catalina.core.S
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Jan 05, 2012 8:47:45 PM org.apache.coyote.http11.H
SEVERE: Error starting endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net
at org.apache.tomcat.util.net
at org.apache.coyote.http11.H
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:47:45 PM org.apache.catalina.startu
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:47:45 PM org.apache.catalina.startu
INFO: Server startup in 5214 ms
Jan 05, 2012 8:47:45 PM org.apache.catalina.core.S
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSoc
at java.net.DualStackPlainSoc
at java.net.AbstractPlainSock
at java.net.PlainSocketImpl.b
at java.net.ServerSocket.bind
at java.net.ServerSocket.<ini
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:47:45 PM org.apache.coyote.http11.H
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 05, 2012 8:47:45 PM org.apache.catalina.connec
SEVERE: Protocol handler pause failed
java.lang.NullPointerExcep
at org.apache.jk.server.JkMai
at org.apache.jk.server.JkCoy
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:47:46 PM org.apache.catalina.core.S
INFO: Stopping service Catalina
Jan 05, 2012 8:47:47 PM org.apache.catalina.connec
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerExcep
at org.apache.catalina.connec
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
Jan 05, 2012 8:47:47 PM org.apache.coyote.http11.H
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jan 05, 2012 8:47:47 PM org.apache.catalina.connec
SEVERE: Coyote connector has not been started
Many thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
it looks like the server is not able to bind any of the address. try the user have sufficient permissions (try running as admin). also in server.xml try changing other ports as well apart from 8080. As i see 8005 is also causing problem. So looks like a permission issue.
Please paste the output of the following commands.
netstat -plan | grep ":8080"
and
service iptables save
iptables -nL | grep 8080
Let us know the results.
netstat -plan | grep ":8080"
and
service iptables save
iptables -nL | grep 8080
Let us know the results.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi ddsh79,
I am the administrator on the account. I have tried your recommendations with no luck. There are three of us working on this problem and we have tried everything. Is there anything else you can think of?
Many thanks
I am the administrator on the account. I have tried your recommendations with no luck. There are three of us working on this problem and we have tried everything. Is there anything else you can think of?
Many thanks
test apache or any other server if they work on 8080. change apache or iis configuration and start them on 8080. Tell me what happen.
ASKER
Hi testez & ddsh79,
I disabled firewall and uninstalled anti virus software and the error message has changed see below (it looks like it is trying to start even though the port 8080 issue continues). ddsh79 I will try your recommendation of running something on port 8080 next but if you could let me know what you think of this message. thanks
06-Jan-2012 14:30:46 org.apache.catalina.core.A prLifecycl eListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\W indows\Sun \Java\bin; C:\Windows \system32; C:\Windows ;C:\Progra m Files\Broadcom\Broadcom 802.11\Driver;;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program files\Java\jdk1.7.0\bin;C: \Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C :\Windows; C:\Windows \System32\ Wbem;C:\Wi ndows\Syst em32\Windo wsPowerShe ll\v1.0\;C :\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core- Static;C:\ Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Progr am Files (x86)\MySQL\MySQL Server 5.5\bin;C:\Program Files\Broadcom\WHL\;C:\Pro gram Files\Broadcom\WHL\syswow6 4;C:\Progr am Files\Broadcom\WHL\SysWow6 4\;C:\Prog ram Files\Broadcom\WHL\SysWow6 4\syswow64 ;
06-Jan-2012 14:30:46 org.apache.coyote.http11.H ttp11Proto col init
SEVERE: Error initializing endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net .JIoEndpoi nt.init(JI oEndpoint. java:501)
at org.apache.coyote.http11.H ttp11Proto col.init(H ttp11Proto col.java:1 77)
at org.apache.catalina.connec tor.Connec tor.initia lize(Conne ctor.java: 1059)
at org.apache.catalina.core.S tandardSer vice.initi alize(Stan dardServic e.java:677 )
at org.apache.catalina.core.S tandardSer ver.initia lize(Stand ardServer. java:792)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 518)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 538)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Un known Source)
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Unknown Source)
at java.lang.reflect.Method.i nvoke(Unkn own Source)
at org.apache.catalina.startu p.Bootstra p.load(Boo tstrap.jav a:260)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:412)
06-Jan-2012 14:30:46 org.apache.catalina.startu p.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec tor.Connec tor.initia lize(Conne ctor.java: 1061)
at org.apache.catalina.core.S tandardSer vice.initi alize(Stan dardServic e.java:677 )
at org.apache.catalina.core.S tandardSer ver.initia lize(Stand ardServer. java:792)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 518)
at org.apache.catalina.startu p.Catalina .load(Cata lina.java: 538)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Un known Source)
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Unknown Source)
at java.lang.reflect.Method.i nvoke(Unkn own Source)
at org.apache.catalina.startu p.Bootstra p.load(Boo tstrap.jav a:260)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:412)
06-Jan-2012 14:30:47 org.apache.catalina.startu p.Catalina load
INFO: Initialization processed in 436 ms
06-Jan-2012 14:30:47 org.apache.catalina.core.S tandardSer vice start
INFO: Starting service Catalina
06-Jan-2012 14:30:47 org.apache.catalina.core.S tandardEng ine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
06-Jan-2012 14:30:51 org.apache.coyote.http11.H ttp11Proto col start
SEVERE: Error starting endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net .JIoEndpoi nt.init(JI oEndpoint. java:501)
at org.apache.tomcat.util.net .JIoEndpoi nt.start(J IoEndpoint .java:515)
at org.apache.coyote.http11.H ttp11Proto col.start( Http11Prot ocol.java: 204)
at org.apache.catalina.connec tor.Connec tor.start( Connector. java:1132)
at org.apache.catalina.core.S tandardSer vice.start (StandardS ervice.jav a:531)
at org.apache.catalina.core.S tandardSer ver.start( StandardSe rver.java: 710)
at org.apache.catalina.startu p.Catalina .start(Cat alina.java :566)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Un known Source)
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Unknown Source)
at java.lang.reflect.Method.i nvoke(Unkn own Source)
at org.apache.catalina.startu p.Bootstra p.start(Bo otstrap.ja va:288)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:413)
06-Jan-2012 14:30:51 org.apache.catalina.startu p.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec tor.Connec tor.start( Connector. java:1139)
at org.apache.catalina.core.S tandardSer vice.start (StandardS ervice.jav a:531)
at org.apache.catalina.core.S tandardSer ver.start( StandardSe rver.java: 710)
at org.apache.catalina.startu p.Catalina .start(Cat alina.java :566)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Un known Source)
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Unknown Source)
at java.lang.reflect.Method.i nvoke(Unkn own Source)
at org.apache.catalina.startu p.Bootstra p.start(Bo otstrap.ja va:288)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:413)
06-Jan-2012 14:30:51 org.apache.catalina.startu p.Catalina start
INFO: Server startup in 4557 ms
I disabled firewall and uninstalled anti virus software and the error message has changed see below (it looks like it is trying to start even though the port 8080 issue continues). ddsh79 I will try your recommendation of running something on port 8080 next but if you could let me know what you think of this message. thanks
06-Jan-2012 14:30:46 org.apache.catalina.core.A
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\W
06-Jan-2012 14:30:46 org.apache.coyote.http11.H
SEVERE: Error initializing endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net
at org.apache.coyote.http11.H
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
06-Jan-2012 14:30:46 org.apache.catalina.startu
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
06-Jan-2012 14:30:47 org.apache.catalina.startu
INFO: Initialization processed in 436 ms
06-Jan-2012 14:30:47 org.apache.catalina.core.S
INFO: Starting service Catalina
06-Jan-2012 14:30:47 org.apache.catalina.core.S
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
06-Jan-2012 14:30:51 org.apache.coyote.http11.H
SEVERE: Error starting endpoint
java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.tomcat.util.net
at org.apache.tomcat.util.net
at org.apache.coyote.http11.H
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
06-Jan-2012 14:30:51 org.apache.catalina.startu
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Cannot assign requested address: JVM_Bind:8080
at org.apache.catalina.connec
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
at org.apache.catalina.startu
06-Jan-2012 14:30:51 org.apache.catalina.startu
INFO: Server startup in 4557 ms
Can you try a reboot of your machine and then try to restart tomcat?
Also please check the hosts file.
/WINDOWS/System32/drivers/ etc/hosts
and make sure that localhost is set correct.
/WINDOWS/System32/drivers/
and make sure that localhost is set correct.
ASKER
I did the reboot and here is a copy of the host file
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
#127.0.0.1 localhost127.0.0.1 localhost
127.0.0.1 localhost
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
#127.0.0.1 localhost127.0.0.1 localhost
127.0.0.1 localhost
Ok. Lets try this.
Open command prompt and run the following command.
netstat -a -n -o [Use "o" not "zero" ]
Now you will get a list of ip address. Check for the one that listen on port 8080.
Now note the PID numbers that matches that IP address.
Open task manager > click the processes tab > click view (at the top) > select columns > check PID > click Ok
Sort your Processes in Task Manager by PID and then kill the PID numbers that you noted.
Open command prompt and run the following command.
netstat -a -n -o [Use "o" not "zero" ]
Now you will get a list of ip address. Check for the one that listen on port 8080.
Now note the PID numbers that matches that IP address.
Open task manager > click the processes tab > click view (at the top) > select columns > check PID > click Ok
Sort your Processes in Task Manager by PID and then kill the PID numbers that you noted.
After that restart tomcat and see if it fix the issue.
ASKER
I ran that command and there is nothing on port 8080 or any other number begining with 8. I then re-started Tomcat and there is an 8005 running (java.exe). As I mentioned, even if I change the server.xml file from 8080 to 8181, it still gives the bind error
the message you say changed is nearly same because root cause is same. it can not assign port 8080 to run the server. Now try some other program to run on port 8080 and see if anything else can use the port?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It would be interesting to know if there is a command that will detect even a silent listener on a port
Glad to know that and thank you for updating us.
>>There was a program (listening silently) not showing on netstat or any other command.
Lol i think its a virus :-)
>>There was a program (listening silently) not showing on netstat or any other command.
Lol i think its a virus :-)
ASKER
As I mentioned in my post. I have tried changing port. As a test I ran tomcat on a separate machine with no problem and changed the port there to port 8181 with no issues. I have tried multiple re-boots and I have also re-installed Tomcat but to no avail it is the same error message every time. Any other suggestions on how I can get tomcat running would be greatly appreciated.
Thanks