Bug 36518 - synchronous and asynchronous cluster replication modes do not work due to typo in DataSenders.properties
synchronous and asynchronous cluster replication modes do not work due to typ...
Status: RESOLVED FIXED
Product: Tomcat 5
Classification: Unclassified
Component: Catalina:Cluster
Nightly Build
Other other
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2005-09-06 14:18 UTC by Christoph Bachhuber-Haller
Modified: 2005-09-06 06:52 UTC (History)
1 user (show)



Attachments
Fix (682 bytes, patch)
2005-09-06 14:19 UTC, Christoph Bachhuber-Haller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Bachhuber-Haller 2005-09-06 14:18:48 UTC
When using said replication modes, I get this error:


Cannot instantiate a data replication sender of class
org.apache.catalina..cluster.tcp.AsyncSocketSender
java.lang.ClassNotFoundException: org/apache/catalina//cluster/tcp/AsyncSocketSender
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at
org.apache.catalina.cluster.tcp.IDataSenderFactory.getSender(IDataSenderFactory.java:136)
        at
org.apache.catalina.cluster.tcp.IDataSenderFactory.getIDataSender(IDataSenderFactory.java:96)
        at
org.apache.catalina.cluster.tcp.ReplicationTransmitter.add(ReplicationTransmitter.java:667)
        at
org.apache.catalina.cluster.tcp.SimpleTcpCluster.memberAdded(SimpleTcpCluster.java:1104)
        at
org.apache.catalina.cluster.mcast.McastService.memberAdded(McastService.java:446)
        at
org.apache.catalina.cluster.mcast.McastServiceImpl.receive(McastServiceImpl.java:215)
        at
org.apache.catalina.cluster.mcast.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:253)
Comment 1 Christoph Bachhuber-Haller 2005-09-06 14:19:29 UTC
Created attachment 16315 [details]
Fix 

This patch should fix the bug
Comment 2 Remy Maucherat 2005-09-06 14:52:10 UTC
I am not certain it is that sensible to try to use these two senders, but I
allpied the patch since it's an obvious typo.