| Author |
Message |
|
|
Post subject: Can't start Tomcat in myeclipse
Posted: Jun 05, 2008 - 11:29 AM
|
|
Registered Member

Joined: Jun 05, 2008
Posts: 4
|
|
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) |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Can
Posted: Jun 05, 2008 - 01:25 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
|
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Can
Posted: Jun 06, 2008 - 02:38 AM
|
|
Registered Member

Joined: Jun 05, 2008
Posts: 4
|
|
I have done all the things you mentioned but still the same problem. As for JDK, I'm using 1.5.0_15 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Can
Posted: Jun 06, 2008 - 03:25 AM
|
|
Registered Member

Joined: Jun 05, 2008
Posts: 4
|
|
Did some checks and realised the eclipse IDE is using JRE, could this be the possible cause? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Can
Posted: Jun 06, 2008 - 05:01 AM
|
|
Registered Member

Joined: Jun 05, 2008
Posts: 4
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Can
Posted: Jun 06, 2008 - 03:29 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
Glad you got it to work. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|