Bug 36518

Summary: synchronous and asynchronous cluster replication modes do not work due to typo in DataSenders.properties
Product: Tomcat 5 Reporter: Christoph Bachhuber-Haller <bachhube>
Component: Catalina:ClusterAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal CC: bachhube
Priority: P2    
Version: Nightly Build   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: Fix

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.