From 78378fcdcd80c7db86ccce0a6657f791de054e12 Mon Sep 17 00:00:00 2001 From: Bela Ban Date: Tue, 25 Mar 2008 09:08:35 +0000 Subject: [PATCH] state is not fetched if no STATE_TRANSFER protocol is present (http://jira.jboss.com/jira/browse/JGRP-722) --- src/org/jgroups/JChannel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/jgroups/JChannel.java b/src/org/jgroups/JChannel.java index d7765413436..fcd171c971e 100644 --- a/src/org/jgroups/JChannel.java +++ b/src/org/jgroups/JChannel.java @@ -67,7 +67,7 @@ * the construction of the stack will be aborted. * * @author Bela Ban - * @version $Id: JChannel.java,v 1.106.2.4 2008/01/23 11:13:14 belaban Exp $ + * @version $Id: JChannel.java,v 1.106.2.5 2008/03/25 09:08:35 belaban Exp $ */ public class JChannel extends Channel { @@ -1654,7 +1654,7 @@ public void run() { } } - if(auto_getstate) { + if(auto_getstate && state_transfer_supported) { if(log.isInfoEnabled()) log.info("fetching the state (auto_getstate=true)"); boolean rc=JChannel.this.getState(null, GET_STATE_DEFAULT_TIMEOUT);