Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2008
    Posts
    73
    Rep Power
    0

    Default Error: Address already in use: JVM_Bind:8080

    Hello friends,

    I am having error in eclipse . when i am starting project i am getting below error.

    Jan 7, 2009 11:13:05 AM org.apache.catalina.core.AprLifecycleListener 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\MyEclipse 6.0\bin;C:\Program Files\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse .easie.tomcat.myeclipse_6.0.1.zmyeclipse601200710\ tomcat\bin
    Jan 7, 2009 11:13:05 AM org.apache.coyote.http11.Http11Protocol init
    SEVERE: Error initializing endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEnd point.java:501)
    at org.apache.coyote.http11.Http11Protocol.init(Http1 1Protocol.java:177)
    at org.apache.catalina.connector.Connector.initialize (Connector.java:1059)
    at org.apache.catalina.core.StandardService.initializ e(StandardService.java:677)
    at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:792)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:518)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:538)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.load(Bootstr ap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:412)
    Jan 7, 2009 11:13:05 AM org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.catalina.connector.Connector.initialize (Connector.java:1061)
    at org.apache.catalina.core.StandardService.initializ e(StandardService.java:677)
    at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:792)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:518)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:538)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.load(Bootstr ap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:412)
    Jan 7, 2009 11:13:05 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1578 ms
    Jan 7, 2009 11:13:05 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 7, 2009 11:13:05 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
    Jan 7, 2009 11:13:11 AM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
    INFO: Tiles definition factory loaded for module ''.
    Jan 7, 2009 11:13:14 AM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
    INFO: Tiles definition factory loaded for module ''.
    Jan 7, 2009 11:13:14 AM org.apache.coyote.http11.Http11Protocol start
    SEVERE: Error starting endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEnd point.java:501)
    at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEn dpoint.java:515)
    at org.apache.coyote.http11.Http11Protocol.start(Http 11Protocol.java:204)
    at org.apache.catalina.connector.Connector.start(Conn ector.java:1132)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:531)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:566)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)
    Jan 7, 2009 11:13:14 AM org.apache.catalina.startup.Catalina start
    SEVERE: Catalina.start:
    LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.catalina.connector.Connector.start(Conn ector.java:1139)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:531)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:566)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)
    Jan 7, 2009 11:13:14 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 9313 ms
    Jan 7, 2009 11:13:14 AM 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(Unknown Source)
    at java.net.ServerSocket.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.apache.catalina.core.StandardServer.await(Stan dardServer.java:373)
    at org.apache.catalina.startup.Catalina.await(Catalin a.java:630)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:590)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)

    If anyone can help me ..
    Thanks in advance.
    Rakesh Mehta
    Rakesh Mehta

  2. #2
    unlimitedkent is offline Member
    Join Date
    Jan 2009
    Posts
    1
    Rep Power
    0

    Default You are using port 8080

    it could be you are running a web server using the same port.
    change your port number of Tomcat Application Server.

    you can open %TOMCAT_HOME%/conf/server.xml

    and change the port number inside.

  3. #3
    Join Date
    Oct 2008
    Posts
    73
    Rep Power
    0

    Default problem solved

    Hey,unlimitedkent

    Thanks for replying..
    problem was tomcat is also running on my pc in same port no..
    so find solution..
    Rakesh Mehta

Similar Threads

  1. Replies: 0
    Last Post: 06-07-2008, 10:02 PM
  2. Looking Up the Address of a Host
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 09:11 PM
  3. How to get IP Address of the client
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-05-2008, 11:14 AM
  4. JSP getting IP address
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-29-2008, 10:05 AM
  5. Getting host name/address
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-19-2007, 05:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •