org.apache.catalina.tribes.ChannelException: Operation has timed out(3000 ms.).; Faulty members:tcp://{-64, -88, 3, 16}:4000;

2012-03-26 Thread Dhaval Jaiswal
Hi List,

Below is my server.xml configuration for session replication.


Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster
channelSendOptions=6/
   Manager className=org.apache.catalina.ha.session.BackupManager
expireSessionsOnShutdown=false
   notifyListenersOnReplication=true mapSendOptions=6/
Channel
className=org.apache.catalina.tribes.group.GroupChannel
 Membership
className=org.apache.catalina.tribes.membership.McastService
address=192.168.3.14
port=45564
frequency=500
dropTime=3/
 Receiver
className=org.apache.catalina.tribes.transport.nio.NioReceiver
  address=auto
  port=5000
  selectorTimeout=5000
  timeout=6
  maxThreads=6/

 Sender
className=org.apache.catalina.tribes.transport.ReplicationTransmitter
   Transport
className=org.apache.catalina.tribes.transport.nio.PooledParallelSender
timeout=6 keepAliveCount=0/
 /Sender
 Interceptor
className=org.apache.catalina.tribes.group.interceptors.TcpFailureDetector/
 Interceptor
className=org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor/
 Interceptor
className=org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor/
  /Channel
 Valve className=org.apache.catalina.ha.tcp.ReplicationValve

filter=.*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt/
   ClusterListener
className=org.apache.catalina.ha.session.ClusterSessionListener/


We are continuously getting following logging in our catalina.out. Can any
one explain me why it is saying Operation has timed out(3000 ms.)
How do i resolve it. I have searched the archive mail  change the setting
according to it. However, no luck. Server is getting high load after adding
session replication for backup manager. Your valuable response will be
highly appreciated.



SEVERE: Unable to send message through cluster sender.
org.apache.catalina.tribes.ChannelException: Operation has timed out(3000
ms.).; Faulty members:tcp://{-64, -88, 3, 16}:4000;
at
org.apache.catalina.tribes.transport.nio.ParallelNioSender.sendMessage(ParallelNioSender.java:97)
at
org.apache.catalina.tribes.transport.nio.PooledParallelSender.sendMessage(PooledParallelSender.java:53)
at
org.apache.catalina.tribes.transport.ReplicationTransmitter.sendMessage(ReplicationTransmitter.java:80)
at
org.apache.catalina.tribes.group.ChannelCoordinator.sendMessage(ChannelCoordinator.java:78)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75)
at
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.sendMessage(TcpFailureDetector.java:87)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75)
at
org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.sendMessage(MessageDispatchInterceptor.java:73)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75)
at
org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:216)
at
org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:175)
at
org.apache.catalina.ha.tcp.SimpleTcpCluster.send(SimpleTcpCluster.java:816)
at
org.apache.catalina.ha.tcp.SimpleTcpCluster.sendClusterDomain(SimpleTcpCluster.java:794)
at
org.apache.catalina.ha.tcp.ReplicationValve.send(ReplicationValve.java:551)
at
org.apache.catalina.ha.tcp.ReplicationValve.sendMessage(ReplicationValve.java:535)
at
org.apache.catalina.ha.tcp.ReplicationValve.sendSessionReplicationMessage(ReplicationValve.java:517)
at
org.apache.catalina.ha.tcp.ReplicationValve.sendReplicationMessage(ReplicationValve.java:428)
at
org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:362)
at
org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:209)
at
org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:419)
at
org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:378)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:619)
Mar 26, 2012 3:30:56 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
memberAdded
INFO: Replication member
added:org.apache.catalina.tribes.membership.MemberImpl[tcp://{-64, -88, 3,
10}:4000,{-64, -88, 3, 10},4000, alive=11339404,id={45 15

Re: org.apache.catalina.tribes.ChannelException: Operation has timed out(3000 ms.).; Faulty members:tcp://{-64, -88, 3, 16}:4000;

2012-03-26 Thread Mark Eggers
My replies are buried in the middle. I'll surround them with = Question 
===

/mde/

- Original Message -

 From: Dhaval Jaiswal dhaval.jais...@via.com
 To: Tomcat Users List users@tomcat.apache.org
 Cc: 
 Sent: Monday, March 26, 2012 3:33 AM
 Subject: org.apache.catalina.tribes.ChannelException: Operation has timed 
 out(3000 ms.).; Faulty members:tcp://{-64, -88, 3, 16}:4000;
 
 Hi List,
 
 Below is my server.xml configuration for session replication.
 
 
 Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster
 channelSendOptions=6/
        Manager 
 className=org.apache.catalina.ha.session.BackupManager
 expireSessionsOnShutdown=false
                    notifyListenersOnReplication=true 
 mapSendOptions=6/
             Channel
 className=org.apache.catalina.tribes.group.GroupChannel
              Membership
 className=org.apache.catalina.tribes.membership.McastService
                         address=192.168.3.14
                         port=45564
                         frequency=500
                         dropTime=3/
              Receiver
 className=org.apache.catalina.tribes.transport.nio.NioReceiver
                       address=auto
                       port=5000
                       selectorTimeout=5000
                       timeout=6
                       maxThreads=6/
 
              Sender
 className=org.apache.catalina.tribes.transport.ReplicationTransmitter
                Transport
 className=org.apache.catalina.tribes.transport.nio.PooledParallelSender
 timeout=6 keepAliveCount=0/
              /Sender
              Interceptor
 className=org.apache.catalina.tribes.group.interceptors.TcpFailureDetector/
              Interceptor
 className=org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor/
              Interceptor
 className=org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor/
           /Channel
          Valve 
 className=org.apache.catalina.ha.tcp.ReplicationValve
 
 filter=.*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt/

= Question ===

Don't you need another Valve at this point? All of my (admittedly small, 
default) configurations have the following Valve in the Cluster configuration:

Valve className=org.apache.catalina.ha.session.JvmRouteBinderValve/

Each engine then gets a unique jvmRoute=someName which matches the AJP worker 
name that the particular Tomcat talks to. The worker name is in 
workers.properties (/etc/httpd/conf.d/workers.properties on my Fedora 15 and 
CentOS 5.8 systems).

I don't know for certain since I've not worked with the backup manager.

= Question ===

        ClusterListener
 className=org.apache.catalina.ha.session.ClusterSessionListener/

= Question ===

Don't you need another ClusterListener at this point? All of my (admittedly 
small, default) configurations have the following ClusterListener at the end:

ClusterListener 
  className=org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener/


I will also assume that you missed copying the closing /Cluster tag from your 
server.xml.

= Question ===

 
 
 We are continuously getting following logging in our catalina.out. Can any
 one explain me why it is saying Operation has timed out(3000 ms.)
 How do i resolve it. I have searched the archive mail  change the setting
 according to it. However, no luck. Server is getting high load after adding
 session replication for backup manager. Your valuable response will be
 highly appreciated.
 
 
 
 SEVERE: Unable to send message through cluster sender.
 org.apache.catalina.tribes.ChannelException: Operation has timed out(3000
 ms.).; Faulty members:tcp://{-64, -88, 3, 16}:4000;
         at
 org.apache.catalina.tribes.transport.nio.ParallelNioSender.sendMessage(ParallelNioSender.java:97)
         at
 org.apache.catalina.tribes.transport.nio.PooledParallelSender.sendMessage(PooledParallelSender.java:53)
         at
 org.apache.catalina.tribes.transport.ReplicationTransmitter.sendMessage(ReplicationTransmitter.java:80)
         at
 org.apache.catalina.tribes.group.ChannelCoordinator.sendMessage(ChannelCoordinator.java:78)
         at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75)
         at
 org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.sendMessage(TcpFailureDetector.java:87)
         at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75)
         at
 org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.sendMessage(MessageDispatchInterceptor.java:73)
         at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75)
         at
 org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:216)
         at
 org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:175

Re: Operation has timed out(3000 ms.).;

2012-03-23 Thread Dhaval Jaiswal
I have set it as below. However, still it is showing the same error. Please
let me know what to do as our all tomcats are going on high load because of
this kind of continuous logging. If there is any change required let us
know.


ERROR logging:
*SEVERE: Unable to send message through cluster sender.
org.apache.catalina.tribes.ChannelException: Operation has timed out(3000
ms.).; Faulty members:tcp://{-64, -88, 3, 9}:4000; tcp://{-64, -88, 3,
15}:4000;
at
org.apache.catalina.tribes.transport.nio.ParallelNioSender.sendMessage(ParallelNioSender.java:97)
*



 Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster
channelSendOptions=6/
   Manager className=org.apache.catalina.ha.session.BackupManager
expireSessionsOnShutdown=false
   notifyListenersOnReplication=true mapSendOptions=6/
Channel
className=org.apache.catalina.tribes.group.GroupChannel
 Membership
className=org.apache.catalina.tribes.membership.McastService
address=192.168.3.14
port=45564
frequency=500
dropTime=1/
 Receiver
className=org.apache.catalina.tribes.transport.nio.NioReceiver
  address=auto
  port=5000
  selectorTimeout=5000
  timeout=6
  maxThreads=6/

 Sender
className=org.apache.catalina.tribes.transport.ReplicationTransmitter
timeout=6
   Transport
className=org.apache.catalina.tribes.transport.nio.PooledParallelSender/
 /Sender
 Interceptor
className=org.apache.catalina.tribes.group.interceptors.TcpFailureDetector/
 Interceptor
className=org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor/
 Interceptor
className=org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor/
  /Channel
 Valve className=org.apache.catalina.ha.tcp.ReplicationValve

filter=.*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt/
   ClusterListener
className=org.apache.catalina.ha.session.ClusterSessionListener/




On Thu, Mar 22, 2012 at 9:37 PM, Filip Hanik Mailing Lists 
devli...@hanik.com wrote:

 take a look at the Sender timeout=... .../ attribute

 http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-sender.html



 - Original Message -
  From: Dhaval Jaiswal dhaval.jais...@via.com
  To: Tomcat Users List users@tomcat.apache.org
  Sent: Wednesday, March 21, 2012 10:35:14 PM
  Subject: Operation has timed out(3000 ms.).;
 
  Receiving below errors in catalina log. I have changed the backup
  manager
  value of dropTime=3000 to 1 with restart of tomcats. However,
  still
  it is not taking effect  notifying that Operation has timed out(3000
  ms.)
  Please guide me where should i look to stop this messages.
 
 
  SEVERE: Unable to send message through cluster sender.
  org.apache.catalina.tribes.ChannelException: Operation has timed
  out(3000
  ms.).; Faulty members:tcp://{-64, -88, 3, 6}:4000;
  at
 
 org.apache.catalina.tribes.transport.nio.ParallelNioSender.sendMessage(ParallelNioSender.java:97)
  at
 
 org.apache.catalina.tribes.transport.nio.PooledParallelSender.sendMessage(PooledParallelSender.java:53)
  at
 
 org.apache.catalina.tribes.transport.ReplicationTransmitter.sendMessage(ReplicationTransmitter.java:80)
  at
 
 org.apache.catalina.tribes.group.ChannelCoordinator.sendMessage(ChannelCoordinator.java:78)
  at
 
 org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75)
  at
 
 org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.sendMessage(TcpFailureDetector.java:87)
 
 
 
 
  --
  *
Dhaval Jaiswal
  Database  System
   E: dhaval.jais...@via.com
  T: +91-80-4043 3000
  M: +91-8095397843
   www.via.com
   http://www.admin.viaworld.in/callcenter?action1=ADD_EPR_LOG
 
 
   *
 

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Operation has timed out(3000 ms.).;

2012-03-22 Thread Filip Hanik Mailing Lists
take a look at the Sender timeout=... .../ attribute

http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-sender.html



- Original Message -
 From: Dhaval Jaiswal dhaval.jais...@via.com
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Wednesday, March 21, 2012 10:35:14 PM
 Subject: Operation has timed out(3000 ms.).;
 
 Receiving below errors in catalina log. I have changed the backup
 manager
 value of dropTime=3000 to 1 with restart of tomcats. However,
 still
 it is not taking effect  notifying that Operation has timed out(3000
 ms.)
 Please guide me where should i look to stop this messages.
 
 
 SEVERE: Unable to send message through cluster sender.
 org.apache.catalina.tribes.ChannelException: Operation has timed
 out(3000
 ms.).; Faulty members:tcp://{-64, -88, 3, 6}:4000;
 at
 org.apache.catalina.tribes.transport.nio.ParallelNioSender.sendMessage(ParallelNioSender.java:97)
 at
 org.apache.catalina.tribes.transport.nio.PooledParallelSender.sendMessage(PooledParallelSender.java:53)
 at
 org.apache.catalina.tribes.transport.ReplicationTransmitter.sendMessage(ReplicationTransmitter.java:80)
 at
 org.apache.catalina.tribes.group.ChannelCoordinator.sendMessage(ChannelCoordinator.java:78)
 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75)
 at
 org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.sendMessage(TcpFailureDetector.java:87)
 
 
 
 
 --
 *
   Dhaval Jaiswal
 Database  System
  E: dhaval.jais...@via.com
 T: +91-80-4043 3000
 M: +91-8095397843
  www.via.com
  http://www.admin.viaworld.in/callcenter?action1=ADD_EPR_LOG
 
 
  *
 

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Operation has timed out(3000 ms.).;

2012-03-21 Thread Dhaval Jaiswal
Receiving below errors in catalina log. I have changed the backup manager
value of dropTime=3000 to 1 with restart of tomcats. However, still
it is not taking effect  notifying that Operation has timed out(3000 ms.)
Please guide me where should i look to stop this messages.


SEVERE: Unable to send message through cluster sender.
org.apache.catalina.tribes.ChannelException: Operation has timed out(3000
ms.).; Faulty members:tcp://{-64, -88, 3, 6}:4000;
at
org.apache.catalina.tribes.transport.nio.ParallelNioSender.sendMessage(ParallelNioSender.java:97)
at
org.apache.catalina.tribes.transport.nio.PooledParallelSender.sendMessage(PooledParallelSender.java:53)
at
org.apache.catalina.tribes.transport.ReplicationTransmitter.sendMessage(ReplicationTransmitter.java:80)
at
org.apache.catalina.tribes.group.ChannelCoordinator.sendMessage(ChannelCoordinator.java:78)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:75)
at
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.sendMessage(TcpFailureDetector.java:87)




-- 
*
  Dhaval Jaiswal
Database  System
 E: dhaval.jais...@via.com
T: +91-80-4043 3000
M: +91-8095397843
 www.via.com http://www.admin.viaworld.in/callcenter?action1=ADD_EPR_LOG


 *