Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 9987 invoked from network); 25 Sep 2009 02:01:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Sep 2009 02:01:25 -0000 Received: (qmail 72692 invoked by uid 500); 25 Sep 2009 02:01:24 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 72650 invoked by uid 500); 25 Sep 2009 02:01:23 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 72642 invoked by uid 99); 25 Sep 2009 02:01:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 02:01:23 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=FS_REPLICA,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kunliang_xiaonei@hotmail.com designates 65.55.116.85 as permitted sender) Received: from [65.55.116.85] (HELO blu0-omc3-s10.blu0.hotmail.com) (65.55.116.85) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 02:01:12 +0000 Received: from BLU115-W17 ([65.55.116.73]) by blu0-omc3-s10.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Sep 2009 19:00:51 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_0cba2459-6f75-4dcc-96a1-218798a1ce77_" X-Originating-IP: [220.248.0.145] From: LiangBen To: geronimo mailing list Subject: session can not be replicated with static wadi configuration Date: Fri, 25 Sep 2009 02:00:51 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 25 Sep 2009 02:00:51.0650 (UTC) FILETIME=[02447A20:01CA3D84] X-Virus-Checked: Checked by ClamAV on apache.org --_0cba2459-6f75-4dcc-96a1-218798a1ce77_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Hi,all First of all I will thank David Jencks,your solution is pretty good to solve the exception and I really feel sorry for sending an email to mailing list in which the content is not related to the subject . Although I have solve the exception,seesion can not be replicated with static wadi configuration. For NODE01: ${ReplicaCount} true 4003 ${EndPointURI} ${WADIClusterName} org.apache.geronimo.configs wadi-clustering 2.2-SNAPSHOT car firstStaticMember org.apache.catalina.tribes.membership.StaticMember 4001 -1 test-domain 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 9.123.233.67 org.apache.geronimo.configs wadi-clustering 2.2-SNAPSHOT car secondStaticMember org.apache.catalina.tribes.membership.StaticMember 4002 -1 test-domain 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 9.123.233.67 FOR NODE02: ${ReplicaCount} true 4004 ${EndPointURI} ${WADIClusterName} org.apache.geronimo.configs wadi-clustering 2.2-SNAPSHOT car firstStaticMember org.apache.catalina.tribes.membership.StaticMember 4001 -1 test-domain 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 9.123.233.67 org.apache.geronimo.configs wadi-clustering 2.2-SNAPSHOT car secondStaticMember org.apache.catalina.tribes.membership.StaticMember 4002 -1 test-domain 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 9.123.233.67 When I shutdown a node the session is not replicated to the next node. I really need your help. Thanks a lot _________________________________________________________________ Լ��˵����ط���������΢����ͼ����msn�������ܣ� http://ditu.live.com/?form=TL&swm=1 --_0cba2459-6f75-4dcc-96a1-218798a1ce77_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit Hi,all

First of all I will thank David Jencks,your solution is pretty good to solve the exception and I really feel sorry for sending an email to mailing list in which the content is not related to the subject .

Although I have solve the exception,seesion can not be replicated with static wadi configuration.

For NODE01:
<module name="org.apache.geronimo.configs/wadi-clustering/2.2-SNAPSHOT/car">
        <gbean name="DefaultBackingStrategyFactory">
            <attribute name="nbReplica">${ReplicaCount}</attribute>
        </gbean>
        <gbean name="DefaultDispatcherHolder">
            <attribute name="disableMCastService">true</attribute>
    &nb sp;       <attribute name="receiverPort">4003</attribute>
            <attribute name="endPointURI">${EndPointURI}</attribute>
            <attribute name="clusterName">${WADIClusterName}</attribute>
            <reference name="staticMember">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>wadi-clustering</artifactId>
      &n bsp;             <version>2.2-SNAPSHOT</version>
                    <type>car</type>
                    <name>firstStaticMember</name>
                </pattern>
            </reference>
        </gbean>
        <gbean name="org.apache.geronimo.configs/wadi-clustering/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/wadi-clustering/2.2-SNAPSHOT/car,j2eeType=GBean,name=firstStaticMember" gbeanInfo="org.apache.geronimo.clustering.wadi.WadiStaticMembe r">
            <attribute name="className">org.apache.catalina.tribes.membership.StaticMember</attribute>
            <attribute name="port">4001</attribute>
            <attribute name="securePort">-1</attribute>
            <attribute name="domain">test-domain</attribute>
            <attribute name="UniqueId">0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</attribute>
            <attribute name="host">9.123.233.67</attribute>
            <reference name="nextWadiStaticMember">
    &nbs p;           <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>wadi-clustering</artifactId>
                    <version>2.2-SNAPSHOT</version>
                    <type>car</type>
                    <name>secondStaticMember</name>
              &nbs p; </pattern>
            </reference>
        </gbean>
        <gbean name="org.apache.geronimo.configs/wadi-clustering/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/wadi-clustering/2.2-SNAPSHOT/car,j2eeType=GBean,name=secondStaticMember" gbeanInfo="org.apache.geronimo.clustering.wadi.WadiStaticMember">
            <attribute name="className">org.apache.catalina.tribes.membership.StaticMember</attribute>
            <attribute name="port">4002</attribute>
            <attribute name="securePort">-1</attribute>
            <attribute name="d omain">test-domain</attribute>
            <attribute name="UniqueId">1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</attribute>
            <attribute name="host">9.123.233.67</attribute>
            <reference name="nextWadiStaticMember"/>
        </gbean>
    </module>


FOR NODE02:

<module name="org.apache.geronimo.configs/wadi-clustering/2.2-SNAPSHOT/car">
        <gbean name="DefaultBackingStrategyFactory">
            <attribute name="nbReplica">${ReplicaCount}</attribute>
        </gbean>
         <gbean name="DefaultDispatcherHolder">
            <attribute name="disableMCastService">true</attribute>
            <attribute name="receiverPort">4004</attribute>
            <attribute name="endPointURI">${EndPointURI}</attribute>
            <attribute name="clusterName">${WADIClusterName}</attribute>
            <reference name="staticMember">
                <pattern>
                    <groupId>org.apache.geronimo.configs< /groupId>
                    <artifactId>wadi-clustering</artifactId>
                    <version>2.2-SNAPSHOT</version>
                    <type>car</type>
                    <name>firstStaticMember</name>
                </pattern>
            </reference>
        </gbean>
        <gbean name="org.apache.g eronimo.configs/wadi-clustering/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/wadi-clustering/2.2-SNAPSHOT/car,j2eeType=GBean,name=firstStaticMember" gbeanInfo="org.apache.geronimo.clustering.wadi.WadiStaticMember">
            <attribute name="className">org.apache.catalina.tribes.membership.StaticMember</attribute>
            <attribute name="port">4001</attribute>
            <attribute name="securePort">-1</attribute>
            <attribute name="domain">test-domain</attribute>
            <attribute name="UniqueId">0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</attribute>
        & nbsp;   <attribute name="host">9.123.233.67</attribute>
            <reference name="nextWadiStaticMember">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>wadi-clustering</artifactId>
                    <version>2.2-SNAPSHOT</version>
                    <type>car</type>
    & nbsp;               <name>secondStaticMember</name>
                </pattern>
            </reference>
        </gbean>
        <gbean name="org.apache.geronimo.configs/wadi-clustering/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/wadi-clustering/2.2-SNAPSHOT/car,j2eeType=GBean,name=secondStaticMember" gbeanInfo="org.apache.geronimo.clustering.wadi.WadiStaticMember">
            <attribute name="className">org.apache.catalina.tribes.membership.StaticMember</attribute>
            <attribute name="port">4002</attrib ute>
            <attribute name="securePort">-1</attribute>
            <attribute name="domain">test-domain</attribute>
            <attribute name="UniqueId">1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</attribute>
            <attribute name="host">9.123.233.67</attribute>
            <reference name="nextWadiStaticMember"/>
        </gbean>
    </module>

When I shutdown a node the session is not replicated to the next node.

I really need your help.
Thanks a lot


����������Ѷ�����°�MSN��ҳ�� ���̷��ʣ� --_0cba2459-6f75-4dcc-96a1-218798a1ce77_--