- This topic has 4 replies, 2 voices, and was last updated 19 years ago by
markusin.
-
AuthorPosts
-
markusinMemberHello
first of all I did not install tomcat as services. I read this article too:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-1927-view-next.htmlSo it seems that tomcat is starting up, while I am launching eclipse.
So I need always: go in tomcat bin dir, shutdown tomcat and than I am able to launch tomcat.Any idea what this could be
using: eclipse 3.1.1 withm myEclipse pro 4.1.1
error:
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:343) at org.apache.catalina.startup.Catalina.await(Catalina.java:600) at org.apache.catalina.startup.Catalina.start(Catalina.java:560) 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:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
thanks for helping me
regards Innerebner Markus
May 31, 2006 at 6:59 pm #252896
Riyad KallaMemberSo when you startup Tomcat, can you switch to the debug perspective and see it’s thread running? If you then click the app server control, go to Tomcat then “Stop” do you see the Thread get “terminated” appropriately?
June 22, 2006 at 1:46 am #253775
markusinMemberHello Ryan
Sorry for that late answer, but I was away (holiday).
< If you then click the app server control, go to Tomcat then “Stop” do you see the Thread get “terminated” <appropriately?
After the exception shown below ALL threads are terminated. I do not need to click the “Stop” button, because the appliciation is already terminated.What I probally forget to say. This happens only the first time, when Tomcat is started (after turning on my pc).
I would try to remove my tomcat installation and reinstall it.
regards Markus
June 22, 2006 at 9:00 am #253796
Riyad KallaMemberAhh, I’m willing to bet anything you 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. You should be fine then.
June 26, 2006 at 2:28 am #253886
markusinMemberHi,
I was looking at the services, but tomcat did not run as a service daemon. Then I took a look to the registry and I see that there (don’t ask me why it was set there) tomcat was set to start on startup.
Sorry again
Markus
-
AuthorPosts