|
| Apache Geronimo > Discussion Forums | User List | Dev List | Wiki | Issue Tracker |
|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
session can not be replicated with static wadi configurationFirst 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首页! 立刻访问! |
|
|
Re: session can not be replicated with static wadi configurationAre these the only nodes in your configuration? Your setup indicates at least 4 nodes total. Also, of the two you have provided, neither of those nodes are setup to share sessions with each other. A little more description of your desired setup would be useful in determining what is going wrong.
Thanks, ~Jason Warner 2009/9/24 LiangBen <kunliang_xiaonei@...>
|
| Free embeddable forum powered by Nabble | Forum Help |
