~ubuntu-branches/ubuntu/natty/tomcat6/natty-proposed

« back to all changes in this revision

Viewing changes to java/org/apache/catalina/tribes/transport/ReplicationTransmitter.java

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2010-05-21 13:51:15 UTC
  • mfrom: (2.2.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100521135115-qfwnf24lzvi3644v
Tags: 6.0.26-2
* debian/tomcat6.{postinst,prerm}: Respect TOMCAT6_USER and TOMCAT6_GROUP
  as defined in /etc/default/tomcat6 when setting directory permissions and
  authbind configuration (Closes: #581018, LP: #557300)
* debian/tomcat6.postinst: Use group "tomcat6" instead of "adm" for
  permissions in /var/lib/tomcat6, so that group "adm" doesn't get write
  permissions over /var/lib/tomcat6/webapps (LP: #569118)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 * type 
31
31
 * 
32
32
 * @author Filip Hanik
33
 
 * @version $Revision: 532800 $ $Date: 2007-04-26 18:52:29 +0200 (Do, 26. Apr 2007) $
 
33
 * @version $Revision: 908741 $ $Date: 2010-02-11 00:16:46 +0100 (Do, 11. Feb 2010) $
34
34
 */
35
35
public class ReplicationTransmitter implements ChannelSender {
36
36
    private static org.apache.juli.logging.Log log = org.apache.juli.logging.LogFactory.getLog(ReplicationTransmitter.class);
77
77
     */
78
78
    public void sendMessage(ChannelMessage message, Member[] destination) throws ChannelException {
79
79
        MultiPointSender sender = getTransport();
80
 
        sender.sendMessage(destination,message);
 
80
        try {
 
81
            sender.sendMessage(destination,message);
 
82
        }catch (ChannelException x) {
 
83
            sender.disconnect();
 
84
            throw x;
 
85
        }
81
86
    }
82
87
    
83
88