tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordi Prats <jpr...@cesca.es>
Subject tomcat cluster
Date Tue, 11 Dec 2007 09:20:24 GMT
Hi all,
I'm getting this error on a tomcat cluster configuration:

Dec 11, 2007 10:08:23 AM 
org.apache.catalina.cluster.tcp.FastAsyncSocketSender$FastQueueThread 
pushQueuedMessages
WARNING: Unable to asynchronously send session with 
id=[F0C4C2B44AAB98DEA8AE8CF572463189-1197364103377] - message will be 
ignored.
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:516)
        at java.net.Socket.connect(Socket.java:466)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:208)
        at 
org.apache.catalina.cluster.tcp.DataSender.createSocket(DataSender.java:704)
        at 
org.apache.catalina.cluster.tcp.DataSender.openSocket(DataSender.java:679)
        at 
org.apache.catalina.cluster.tcp.DataSender.pushMessage(DataSender.java:803)
        at 
org.apache.catalina.cluster.tcp.FastAsyncSocketSender$FastQueueThread.pushQueuedMessages(FastAsyncSocketSender.java:476)
        at 
org.apache.catalina.cluster.tcp.FastAsyncSocketSender$FastQueueThread.run(FastAsyncSocketSender.java:442)

Anyone knows what's causing this and how to solve it?

I've checked firewalls and added this (unnecesary?) route:

route add -net 228.0.11.0/24 dev eth1

This is my Cluster configuration on my server.xml file:

        <Cluster 
className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
                                          mcastAddr="228.0.11.1"
                                          tcpListenPort="4002"
                                          name="tomcatproduccio"/>


Thak you!

Jordi

-- 
......................................................................
         __
        / /          Jordi Prats
  C E / S / C A      Dept. de Sistemes
      /_/            Centre de Supercomputació de Catalunya

  Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
  T. 93 205 6464 · F.  93 205 6979 · jprats@cesca.es
...................................................................... 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message