tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Sávio <joaosa...@gmail.com>
Subject Re: Help with Tomcat 7 clustering using BIO receiver
Date Wed, 02 Jul 2014 13:37:45 GMT
?


2014-06-30 18:38 GMT-03:00 João Sávio <joaosavio@gmail.com>:

> Hello people
>
> This is my first message on this group! I'm trying to set up a Tomcat
> clustering using BIO receiver but I've been receiving the following error
> when I started two nodes and tried to enter on my application:
>
> Jun 30, 2014 9:25:12 PM
> org.apache.catalina.tribes.transport.bio.BioReplicationT
> ask run
> SEVERE: Unable to service bio socket
> java.net.SocketTimeoutException: Read timed out
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:152)
>         at java.net.SocketInputStream.read(SocketInputStream.java:122)
>         at java.net.SocketInputStream.read(SocketInputStream.java:108)
>         at
> org.apache.catalina.tribes.transport.bio.BioReplicationTask.drainSock
> et(BioReplicationTask.java:146)
>         at
> org.apache.catalina.tribes.transport.bio.BioReplicationTask.run(BioRe
> plicationTask.java:64)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
> java:1145)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:615)
>         at java.lang.Thread.run(Thread.java:744)
>
> Jun 30, 2014 9:25:15 PM org.apache.catalina.ha.session.DeltaManager
> startInternal
> INFO: Register manager localhost#/myApp to cluster element Engine with
> name Catalina
> Jun 30, 2014 9:25:15 PM org.apache.catalina.ha.session.DeltaManager
> startInternal
> INFO: Starting clustering manager at localhost#/myApp
> Jun 30, 2014 9:25:15 PM org.apache.catalina.ha.session.DeltaManager
> getAllClusterSessions
> INFO: Manager [localhost#/myApp], requesting session state from
> org.apache.catalina.tribes.membership.MemberImpl[tcp://{10, 212, 191,
> 209}:4000,{10, 212, 191, 2
> 09},4000, alive=32096, securePort=-1, UDP Port=-1, id={-58 95 -116 89 86
> -12 714 -75 -2 74 -45 -54 -82 40 -114 }, payload={}, command={},
> domain={}, ]. This operation will timeout if no session state has been
> received within 60 seconds.
>
>
> Attached are my two server.xml configuration. I've taken the default
> configuration (worked on my computer) and replaced the following things:
>
>
> <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver"
> by
> <Receiver className="org.apache.catalina.tribes.transport.bio.BioReceiver"
>
> and
>
> <Transport
> className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
> by
> <Transport
> className="org.apache.catalina.tribes.transport.bio.PooledMultiSender"/>
>
>
> I don't know if I'm missing something. I'll be very thankful if someone
> can take a look on my server.xml files or send me an example configuration
> using BIO receiver (I couldn't find anyone).
>
> Thanks
> João
> --
> http://joaosavio.wordpress.com
>
>
>


-- 
http://joaosavio.wordpress.com

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