MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to General Development
View previous topic Printable version Log in to check your private messages View next topic
Author Message
NERI-1
Post subject: Error while starting Tomcat  PostPosted: May 29, 2012 - 10:40 AM
Registered Member
Registered Member


Joined: May 29, 2012
Posts: 2

Hi,

I am getting an error while starting Tomcat in eclipse as "java.net.BindException: Address already in use: JVM_Bind"
I have stopped other tomcat services outside IDE still i am getting this error.


Can you please tell me what will be the solution?



May 29, 2012 5:33:49 PM 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:\Users\dbsramya\AppData\Local\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin;C:\Users\dbsramya\AppData\Local\MyEclipse\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806\tomcat\bin
May 29, 2012 5:33:49 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8090
May 29, 2012 5:33:49 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 253 ms
May 29, 2012 5:33:49 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 29, 2012 5:33:49 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
May 29, 2012 5:33:49 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8090
May 29, 2012 5:33:49 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
May 29, 2012 5:33:49 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
May 29, 2012 5:33:49 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=0/12 config=null
May 29, 2012 5:33:49 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 467 ms
May 29, 2012 5:33:49 PM 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: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:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:630)
at org.apache.catalina.startup.Catalina.start(Catalina.java:590)
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)

Thanks
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: May 29, 2012 - 11:39 AM



Joined: Nov 11, 2010
Posts: 2491

NERI-1,

Sorry that you are seeing this issue.

1. Can you copy and paste your installation details from MyEclipse > Installation Summary > Installation Details?

2. Can you check if Tomcat is not installed as system service ? You might have installed Tomcat using the EXE and it got installed as a system service and is infact starting up when your computer starts up. Go to your administrative tools under Control Panel, then Services. Look for "Apache Tomcat" or "Tomcat", open the settings and change it from Automatic mode to Manual mode, then hit OK and Stop it.

3. Have you setup any other software to use port 8080?
The Netstat command can list currently used ports, which might be helpful if you suspect an application is clashing with another one on an active port. Use the -an switch to show all connections and listening ports in numeric form. This would give you PID. Next use the windows task manager to check which program is using this port.

Alternatively, you can configure your tomcat to run on a different port. If you are using sandbox tomcat, you can change the port number of tomcat here - open MyEclipse IDE, from menu options click on Window > Preferences > MyEclipse > Servers > Integrated Sandbox > MyEclipse Tomcat and change the port number on the right hand pane.
In case you have configured Tomcat 5 / 6 to change the port number please refer http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/

Let me know how this works for you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
NERI-1
Post subject: Tomcat working now  PostPosted: May 30, 2012 - 04:39 AM
Registered Member
Registered Member


Joined: May 29, 2012
Posts: 2

Hi,


I have installed VMWare but port 8080 is not running in that.
After i stopped all vmware servies ,tomcat is running.

Thank you...
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: May 30, 2012 - 05:38 AM



Joined: Nov 11, 2010
Posts: 2491

NERI-1,

Glad that you got it working.
Let us know if you see any issues.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits