- This topic has 3 replies, 2 voices, and was last updated 13 years, 10 months ago by support-swapna.
-
AuthorPosts
-
choonhoongParticipantHi,
I need to run two separate instances of tomcat on my server. I have installed tomcat 6.0 in it’s own directory and this runs on port 8080.
I still want to be able to deploy Myeclipse Tomcat (the inbuilt one) and this is set to run on port 8090.
Both run on the same version of java (JDK 1.6.0_13) that comes with Myeclipse.
The standalone tomcat 6.0 is running just fine. Now when I try to start Myeclipse tomcat, I get the error below. Do I need to install another JDK/JRE for each tomcat installation?
11/02/2011 7:02:47 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(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)
java.net.SocketException: Connection reset
support-swapnaModeratorchoonhoong,
SEVERE: StandardServer.await: create[8005]:
Even though the ports of ME Tomcat and stand alone tomcat are different, they both use 8005.
Edit the server.xml in the Tomcat 6 install directory and replace
<Server port=”8005″ shutdown=”SHUTDOWN”>
with
<Server port=”8004″ shutdown=”SHUTDOWN”>This should fix the issue.
Let us know how it works for you.
choonhoongParticipantThanks! that worked! :>
support-swapnaModeratorchoonhoong,
Glad that it is working for you.
Do let us know if you have any other issues. -
AuthorPosts