facebook

Can’t start Tomcat in myeclipse

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #285651 Reply

    waihongchan
    Member

    I can’t start Tomcat in myeclipse. I have installed Tomcat and have configured it in myeclipse. But I hit the following error when trying to start Tomcat

    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:359)
    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:363)
    at org.apache.catalina.startup.Catalina.await(Catalina.java:616)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
    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:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

    #285659

    Loyal Water
    Member

    Make sure your connector looks like this (assuming your working with Tomcat 5.x)
    https://www.genuitec.com/forums/topic/tomcat-5-what-does-a-configured-connector-look-like/

    Also, make sure that under your configured connector, JDK > Tomcat JDK points to a JDK and not a JRE.

    #285683

    waihongchan
    Member

    I have done all the things you mentioned but still the same problem. As for JDK, I’m using 1.5.0_15

    #285684

    waihongchan
    Member

    Did some checks and realised the eclipse IDE is using JRE, could this be the possible cause?

    #285685

    waihongchan
    Member

    I figured it out that javaw.exe is running as a process and is using port 8005 which Tomcat is using. What I did was kill this process and Tomcat started successfully in myEclipse

    #285693

    Loyal Water
    Member

    Glad you got it to work.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Can’t start Tomcat in myeclipse

You must be logged in to post in the forum log in