[jboss-user] [JBoss Cache: Core Edition] - Porble regarding PojoCaching with Clustering node.
vipin123
do-not-reply at jboss.com
Tue Aug 19 03:26:23 EDT 2008
Hi all,
I am not too much aware about the caching.
I am using JBOSS 4.2.2 and pojo cache version 1.4.1 to implement
PojoCaching in my application.
I wrote the following java and xml file(s):
1.HelloWorldWeb1Servlet.java file to get/set value from/to cache.
package com.prohorenko.docaching.web1;
| import java.io.IOException;
| import java.io.PrintWriter;
| import javax.management.MBeanServer;
| import javax.management.MalformedObjectNameException;
| import javax.servlet.ServletConfig;
| import javax.servlet.ServletException;
| import javax.servlet.http.HttpServlet;
| import javax.servlet.http.HttpServletRequest;
| import javax.servlet.http.HttpServletResponse;
| import org.jboss.cache.aop.PojoCacheMBean;
| import org.jboss.mx.util.MBeanProxyExt;
| import org.jboss.mx.util.MBeanServerLocator;
| import com.prohorenko.docaching.pojo.Address;
|
| public class HelloWorldWeb1Servlet extends HttpServlet {
|
| private ServletConfig sConfig;
| private PojoCacheMBean cache;
| // Object address;
| private String greeting = "Hello Guys from Small Web Application #1!";
|
| public void init(ServletConfig config) throws ServletException {
| this.sConfig = config;
|
| }
|
| public void service(HttpServletRequest request, HttpServletResponse response)
| throws ServletException, IOException {
| try {
| MBeanServer server = MBeanServerLocator.locate();
| cache = (PojoCacheMBean) MBeanProxyExt.create(PojoCacheMBean.class,
| "jboss.cache:service=MyCache", server);
|
| // cache.putObject("/demo", null);
| } catch (MalformedObjectNameException e) {
| e.printStackTrace();
| } catch (Exception e) {
| e.printStackTrace(); }
|
| Object fromCache = null;
|
|
| Address address =new Address();
| System.out.println("222222222");
| address.setStreet("c-111");
| address.setCity("Delhi");
| address.setZip(201301);
| try {
| cache.putObject("/demo", address);
|
| fromCache = cache.get("/demo",address);
| } catch (Exception e) {
| e.printStackTrace();
| }
|
| response.setContentType("text/html");
| PrintWriter out = response.getWriter();
| out.println("We fetched from cache this greeting:="+ fromCache);
|
| }
|
| }
|
2.Address.java pojo class:
package com.prohorenko.docaching.pojo;
|
| import java.io.Serializable;
|
| public class Address implements Serializable
| {
| private String street = null;
| private String city = null;
| private int zip = 0;
|
| public String getStreet()
| {
| return street;
| }
|
| public void setStreet(String street)
| {
| this.street = street;
| }
|
| public String getCity()
| {
| return city;
| }
|
| public void setCity(String city)
| {
| this.city = city;
| }
|
| public int getZip()
| {
| return zip;
| }
|
| public void setZip(int zip)
| {
| this.zip = zip;
| }
|
| public String toString()
| {
| return "street=" + getStreet() + ", city=" + getCity() + ", zip=" + getZip();
| }
|
| public int hashCode()
| {
| return 1241 * zip + 37 * (city != null ? city.hashCode() : 0)
| + 37 * (street != null ? street.hashCode() : 0);
| }
|
| private boolean equals(Object o1, Object o2)
| {
| return o1 == o2 || (o1 != null && o1.equals(o2));
| }
|
| public boolean equals(Object o)
| {
| if (!(o instanceof Address))
| return false;
|
| Address addr = (Address)o;
| return addr.zip == zip && equals(addr.city, city) && equals(addr.street, street);
| }
|
| }
|
3. jboss-service.xml file: at F:\pojocaching_src\sar\META-INF\
| <?xml version="1.0" encoding="UTF-8" ?>
|
| <server>
| <mbean code="org.jboss.cache.aop.PojoCache" name="jboss.cache:service=MyCache">
| <depends>jboss:service=Naming</depends>
| <depends>jboss:service=TransactionManager</depends>
| <attribute name="CacheMode">REPL_SYNC</attribute>
| <attribute name="ClusterName">TreeCache-Cluster-Demo</attribute>
|
|
| <!--
| Isolation level : SERIALIZABLE
| REPEATABLE_READ (default)
| READ_COMMITTED
| READ_UNCOMMITTED
| NONE
| -->
| <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
|
|
| Just used for async repl: use a replication queue
| -->
| <attribute name="UseReplQueue">false</attribute>
|
| <!--
| Replication interval for replication queue (in ms)
| -->
| <attribute name="ReplQueueInterval">0</attribute>
|
| <!--
| Max number of elements which trigger replication
| -->
| <attribute name="ReplQueueMaxElements">0</attribute>
|
| <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
| cluster in order to find each other.
| -->
|
|
| <!--Uncomment next three statements to enable JGroups multiplexer.
| This configuration is dependent on the JGroups multiplexer being
| registered in an MBean server such as JBossAS. -->
| <!--
| <depends>jgroups.mux:name=Multiplexer</depends>
| <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
| <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
| -->
|
| <!-- JGroups protocol stack properties.
| ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
| -->
|
|
|
| <!--
| Whether or not to fetch state on joining a cluster
| NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
| -->
| <attribute name="FetchInMemoryState">true</attribute>
|
| <!--
| The max amount of time (in milliseconds) we wait until the
| state (ie. the contents of the cache) are retrieved from
| existing members in a clustered environment
| -->
|
|
| <!--
| Number of milliseconds to wait until all responses for a
| synchronous call have been received.
| -->
| <attribute name="SyncReplTimeout">15000</attribute>
|
| <!-- Max number of milliseconds to wait for a lock acquisition -->
| <attribute name="LockAcquisitionTimeout">10000</attribute>
|
| <!--
| Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
| class loader, e.g., inside an application server. Default is "false".
| -->
| <attribute name="UseRegionBasedMarshalling">true</attribute>
|
| </mbean>
|
| </server>
By using the above code on single machine i was able to set/get pojo in/from cache, but when we used the same .ear file in Jboss on multiple machine then i got the following exceptions:
11:27:35,738 WARN [TreeCache] putObject(): exception occurred: java.lang.RuntimeException: java.io.IOException: No ClassLoaders found for: com.prohorenko.docaching.pojo.Address
| 11:27:35,738 INFO [TreeCache] PojoCache.endTransaction(): rolling back tx for fqn: /demo
| 11:27:35,738 INFO [STDOUT] Problem while putting data into cache!java.lang.RuntimeException: java.io.IOException: No ClassLoaders found for: com.prohorenko.docaching.pojo.Address
| 11:27:35,738 ERROR [STDERR] java.lang.RuntimeException: java.io.IOException: No ClassLoaders found for: com.prohorenko.docaching.pojo.Address
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5889)
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.TreeCache.put(TreeCache.java:3773)
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.TreeCache.put(TreeCache.java:3504)
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.aop.InternalDelegate.put(InternalDelegate.java:141)
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.aop.SerializableObjectHandler.putIntoCache(SerializableObjectHandler.java:113)
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.aop.SerializableObjectHandler.serializableObjectPut(SerializableObjectHandler.java:72)
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:215)
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.aop.PojoCache._putObject(PojoCache.java:739)
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:465)
| 11:27:35,738 ERROR [STDERR] at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:426)
| 11:27:35,738 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:27:35,738 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:27:35,738 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:27:35,738 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:27:35,738 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 11:27:35,738 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 11:27:35,738 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 11:27:35,738 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 11:27:35,738 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 11:27:35,738 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 11:27:35,738 ERROR [STDERR] at $Proxy69.putObject(Unknown Source)
| 11:27:35,738 ERROR [STDERR] at com.prohorenko.docaching.web1.HelloWorldWeb1Servlet.service(HelloWorldWeb1Servlet.java:74)
| 11:27:35,738 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| 11:27:35,753 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| 11:27:35,753 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| 11:27:35,753 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| 11:27:35,753 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| 11:27:35,753 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| 11:27:35,753 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| 11:27:35,753 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| 11:27:35,753 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| 11:27:35,753 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 11:27:35,753 ERROR [STDERR] Caused by: java.io.IOException: No ClassLoaders found for: com.prohorenko.docaching.pojo.Address
| 11:27:35,753 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:332)
| 11:27:35,753 ERROR [STDERR] at org.jboss.serial.classmetamodel.StreamingClass.readStream(StreamingClass.java:72)
| 11:27:35,753 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:381)
| 11:27:35,753 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
| 11:27:35,753 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
| 11:27:35,753 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStreamSharedTree.readObjectOverride(JBossObjectInputStreamSharedTree.java:61)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.JBossObjectStreamFactory$JBossObjectInputStreamOverride.readObjectOverride(JBossObjectStreamFactory.java:33)
| 11:27:35,753 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:432)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallHashMap(TreeCacheMarshaller140.java:566)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:456)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallMethodCall(TreeCacheMarshaller140.java:493)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:436)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallMethodCall(TreeCacheMarshaller140.java:493)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:436)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.TreeCacheMarshaller140.objectFromStream(TreeCacheMarshaller140.java:148)
| 11:27:35,753 ERROR [STDERR] at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:167)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:254)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:654)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:367)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:777)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.JChannel.up(JChannel.java:1091)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:158)
| 11:27:35,753 ERROR [STDERR] at org.jgroups.stack.UpHandler.run(Protocol.java:60)
| 11:27:35,753 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.prohorenko.docaching.pojo.Address
| 11:27:35,753 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| 11:27:35,753 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
| 11:27:35,753 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
| 11:27:35,753 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| 11:27:35,753 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| 11:27:35,753 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
| 11:27:35,753 ERROR [STDERR] at java.lang.Class.forName(Class.java:242)
| 11:27:35,753 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.resolveClassByName(ClassMetamodelFactory.java:269)
| 11:27:35,753 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:289)
| 11:27:35,753 ERROR [STDERR] ... 27 more
| 11:27:39,050 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:27:39,550 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:27:50,019 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:27:50,519 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:27:57,581 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:29:33,253 INFO [TreeCache] viewAccepted(): [192.168.1.55:1615|2] [192.168.1.55:1615]
| 11:29:33,425 INFO [TreeCache] viewAccepted(): [192.168.1.55:1611|2] [192.168.1.55:1611]
| 11:29:35,238 WARN [GMS] failed to collect all ACKs (1) for view [192.168.1.55:1615|2] [192.168.1.55:1615] after 2000ms, missing ACKs from [192.168.1.55:1615] (received=[]), local_addr=192.168
| 11:29:38,425 WARN [GMS] failed to collect all ACKs (1) for view [192.168.1.55:1611|2] [192.168.1.55:1611] after 5000ms, missing ACKs from [192.168.1.55:1611] (received=[]), local_addr=192.168
| 11:29:48,894 INFO [TreeCache] viewAccepted(): [192.168.1.55:1587|2] [192.168.1.55:1587]
| 11:29:53,895 WARN [GMS] failed to collect all ACKs (1) for view [192.168.1.55:1587|2] [192.168.1.55:1587] after 5000ms, missing ACKs from [192.168.1.55:1587] (received=[]), local_addr=192.168
| 11:32:03,365 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,381 WARN [NAKACK] 192.168.1.55:1611] discarded message from non-member 192.168.1.45:4177, my view is [192.168.1.55:1611|2] [192.168.1.55:1611]
| 11:32:03,381 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,381 WARN [NAKACK] 192.168.1.55:1611] discarded message from non-member 192.168.1.45:4177, my view is [192.168.1.55:1611|2] [192.168.1.55:1611]
| 11:32:03,381 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1587] discarded message from non-member 192.168.1.45:4166, my view is [192.168.1.55:1587|2] [192.168.1.55:1587]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1611] discarded message from non-member 192.168.1.45:4177, my view is [192.168.1.55:1611|2] [192.168.1.55:1611]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1587] discarded message from non-member 192.168.1.45:4166, my view is [192.168.1.55:1587|2] [192.168.1.55:1587]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1607] discarded message from non-member 192.168.1.45:4171, my view is [192.168.1.55:1607|1] [192.168.1.55:1607, 192.168.1.45:4061]
| 11:32:03,396 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1611] discarded message from non-member 192.168.1.45:4177, my view is [192.168.1.55:1611|2] [192.168.1.55:1611]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1587] discarded message from non-member 192.168.1.45:4166, my view is [192.168.1.55:1587|2] [192.168.1.55:1587]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1607] discarded message from non-member 192.168.1.45:4171, my view is [192.168.1.55:1607|1] [192.168.1.55:1607, 192.168.1.45:4061]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1611] discarded message from non-member 192.168.1.45:4177, my view is [192.168.1.55:1611|2] [192.168.1.55:1611]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1587] discarded message from non-member 192.168.1.45:4166, my view is [192.168.1.55:1587|2] [192.168.1.55:1587]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1607] discarded message from non-member 192.168.1.45:4171, my view is [192.168.1.55:1607|1] [192.168.1.55:1607, 192.168.1.45:4061]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1611] discarded message from non-member 192.168.1.45:4177, my view is [192.168.1.55:1611|2] [192.168.1.55:1611]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1587] discarded message from non-member 192.168.1.45:4166, my view is [192.168.1.55:1587|2] [192.168.1.55:1587]
| 11:32:03,396 WARN [NAKACK] 192.168.1.55:1607] discarded message from non-member 192.168.1.45:4171, my view is [192.168.1.55:1607|1] [192.168.1.55:1607, 192.168.1.45:4061]
| 11:32:03,396 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,412 WARN [NAKACK] 192.168.1.55:1615] discarded message from non-member 192.168.1.45:4183, my view is [192.168.1.55:1615|2] [192.168.1.55:1615]
| 11:32:03,412 WARN [NAKACK] 192.168.1.55:1607] discarded message from non-member 192.168.1.45:4171, my view is [192.168.1.55:1607|1] [192.168.1.55:1607, 192.168.1.45:4061]
| 11:32:03,412 WARN [NAKACK] 192.168.1.55:1607] discarded message from non-member 192.168.1.45:4171, my view is [192.168.1.55:1607|1] [192.168.1.55:1607, 192.168.1.45:4061]
| 11:32:03,412 WARN [NAKACK] 192.168.1.55:1615] discarded message from non-member 192.168.1.45:4183, my view is [192.168.1.55:1615|2] [192.168.1.55:1615]
| 11:32:03,412 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,412 WARN [NAKACK] 192.168.1.55:1615] discarded message from non-member 192.168.1.45:4183, my view is [192.168.1.55:1615|2] [192.168.1.55:1615]
| 11:32:03,412 WARN [NAKACK] 192.168.1.55:1587] discarded message from non-member 192.168.1.45:4166, my view is [192.168.1.55:1587|2] [192.168.1.55:1587]
| 11:32:03,412 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,412 WARN [NAKACK] 192.168.1.55:1615] discarded message from non-member 192.168.1.45:4183, my view is [192.168.1.55:1615|2] [192.168.1.55:1615]
| 11:32:03,427 WARN [NAKACK] 192.168.1.55:1615] discarded message from non-member 192.168.1.45:4183, my view is [192.168.1.55:1615|2] [192.168.1.55:1615]
| 11:32:03,427 WARN [NAKACK] 192.168.1.55:1615] discarded message from non-member 192.168.1.45:4183, my view is [192.168.1.55:1615|2] [192.168.1.55:1615]
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,443 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,459 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 2, delta: -1) : [127.0.0.1:1099]
| 11:32:03,459 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,459 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,459 INFO [DefaultPartition] I am (127.0.0.1:1099) received membershipChanged event:
| 11:32:03,459 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,459 INFO [DefaultPartition] Dead members: 0 ([])
| 11:32:03,459 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,459 INFO [DefaultPartition] New Members : 0 ([])
| 11:32:03,459 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,474 INFO [DefaultPartition] All Members : 1 ([127.0.0.1:1099])
| 11:32:03,474 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,474 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,474 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,474 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,490 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,490 WARN [UDP] discarded message from different group "DefaultPartition" (our group is "TreeCache-Cluster-Demo"). Sender was 192.168.1.45:4086
| 11:32:03,490 WARN [NAKACK] 192.168.1.55:1619] discarded message from non-member 192.168.1.45:4191, my view is [192.168.1.83:1126|3] [192.168.1.83:1126, 192.168.1.55:1619]
| 11:32:03,490 INFO [TreeCache] viewAccepted(): [192.168.1.83:1126|4] [192.168.1.83:1126, 192.168.1.55:1619, 192.168.1.45:4191]
|
Please suggest us whatever steps required to fix the above issue(s).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171190#4171190
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171190
More information about the jboss-user
mailing list