You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by moch <mo...@hotmail.com> on 2003/12/19 03:49:21 UTC
cluster problems on tomcat5.0.16
tomcat-userHello,
I am having trouble with tomcat 5.0.16 cluster under the following config:
Apache2.0.48 + jakarta-tomcat-connectors-jk2.0.2-win32-apache2.0.43
:2 Tomcat servers on 1 machine.
I just uncomment the <Cluster> and <Valve> in server.xml, and change 8005 to 11005, 8009 to 11009. add jvmRoute="tomcat1" to <Engine ...... , tomcat2 similar to tomcat1.
After startup tomcat1, some problem happens while startup tomcat2.
Unable to start cluster listener.
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
108)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
at org.apache.catalina.cluster.tcp.ReplicationListener.listen(Replicatio
nListener.java:134)
at org.apache.catalina.cluster.tcp.ReplicationListener.run(ReplicationLi
stener.java:115)
Should I deploy tomcat server to different machines? or change some config?
Thanks for any help.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org