tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Clotworthy <tclotwor...@integratedsecure.com>
Subject Problem Running Two Tomcat Servers at the Same Time
Date Tue, 25 Jan 2011 15:24:47 GMT
Hello,

I have tomcat5.5 running on port 8080. I wanted to have a second tomcat instance (that was
is tomcat5.0) running at the same time. I made only one change to prevent a conflict. I changed
the connect port (in the server.xml file) of the 5.0 instance to 8090. However, if my 5.5
instance is up and running, I get the following error when attempting to start my 5.0 instance:

Jan 25, 2011 10:09:20 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8090
Jan 25, 2011 10:09:20 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 968 ms
StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind
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:487)
      at org.apache.catalina.startup.Catalina.await(Catalina.java:610)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
      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:286)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:387)

Do I need to do more than change the connect port to avoid a conflict? Any response is appreciated.
Thanks!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message