Hi,
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