Looks like an issue with a node based on C4 clustering is trying to join C5
cluster. Thats the reason for the CNF : Caused by:
java.lang.ClassNotFoundException:
org.apache.axis2.clustering.Member.

Your cluster and another cluster is using the same cluster domain.

On Thu, Sep 3, 2015 at 6:01 PM, Aruna Karunarathna <ar...@wso2.com> wrote:

> Is this because running on the same domain?     "wso2.carbon.domain"
>
> If that is the case shouldn't it be prevented by IP ranges?..
>
> On Thu, Sep 3, 2015 at 5:50 PM, Aruna Karunarathna <ar...@wso2.com> wrote:
>
>> I'am getting the following error with ip ranges testing. [1]
>>
>> My IP is 10.100.5.41 and i gave the range as follows 10.100.5.30-41, but
>> it connects to a 10.100.5.42 node, and giving the following exception.
>> The exception may be because of hazelcast version mismatch. But as per
>> the IP range I've given it shouldn't connect to the 10.100.5.42 right?..
>>
>> Any thoughts?..
>>
>> [1].
>> [2015-09-03 17:42:46,335]  INFO {com.hazelcast.cluster.impl.TcpIpJoiner}
>> -  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Address[10.100.5.31]:4001
>> is added to the blacklist.
>> [2015-09-03 17:42:46,335]  INFO {com.hazelcast.cluster.impl.TcpIpJoiner}
>> -  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Address[10.100.5.30]:4001
>> is added to the blacklist.
>> [2015-09-03 17:42:46,337]  INFO {com.hazelcast.nio.tcp.SocketConnector} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Could not connect to: /
>> 10.100.5.39:4000. Reason: SocketException[No route to host to address /
>> 10.100.5.39:4000]
>> [2015-09-03 17:42:46,337]  INFO {com.hazelcast.nio.tcp.SocketConnector} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Could not connect to: /
>> 10.100.5.39:4001. Reason: SocketException[No route to host to address /
>> 10.100.5.39:4001]
>> [2015-09-03 17:42:46,337]  INFO {com.hazelcast.cluster.impl.TcpIpJoiner}
>> -  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Address[10.100.5.39]:4000
>> is added to the blacklist.
>> [2015-09-03 17:42:46,337]  INFO {com.hazelcast.cluster.impl.TcpIpJoiner}
>> -  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Address[10.100.5.39]:4001
>> is added to the blacklist.
>> [2015-09-03 17:42:46,339]  INFO
>> {com.hazelcast.nio.tcp.TcpIpConnectionManager} -  [10.100.5.41]:4000
>> [wso2.carbon.domain] [3.5] Established socket connection between /
>> 10.100.5.41:4000
>> [2015-09-03 17:42:46,341]  INFO {com.hazelcast.nio.tcp.SocketConnector} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Could not connect to: /
>> 10.100.5.38:4001. Reason: SocketException[No route to host to address /
>> 10.100.5.38:4001]
>> [2015-09-03 17:42:46,341]  INFO {com.hazelcast.nio.tcp.SocketConnector} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Could not connect to: /
>> 10.100.5.38:4000. Reason: SocketException[No route to host to address /
>> 10.100.5.38:4000]
>> [2015-09-03 17:42:46,341]  INFO {com.hazelcast.cluster.impl.TcpIpJoiner}
>> -  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Address[10.100.5.38]:4001
>> is added to the blacklist.
>> [2015-09-03 17:42:46,341]  INFO {com.hazelcast.cluster.impl.TcpIpJoiner}
>> -  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Address[10.100.5.38]:4000
>> is added to the blacklist.
>> [2015-09-03 17:42:46,342]  INFO {com.hazelcast.cluster.impl.TcpIpJoiner}
>> -  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Address[10.100.5.41]:4001
>> is removed from the blacklist.
>> [2015-09-03 17:42:47,320]  INFO {com.hazelcast.nio.tcp.SocketConnector} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Connecting to /
>> 10.100.5.42:4000, timeout: 0, bind-any: true
>> [2015-09-03 17:42:47,320]  WARN {com.hazelcast.cluster.ClusterService} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Could not create connection
>> to possible master Address[10.100.5.42]:4000
>> [2015-09-03 17:42:47,321]  WARN {com.hazelcast.cluster.ClusterService} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Could not create connection
>> to possible master Address[10.100.5.42]:4000
>> [2015-09-03 17:42:47,324]  INFO
>> {com.hazelcast.nio.tcp.TcpIpConnectionManager} -  [10.100.5.41]:4000
>> [wso2.carbon.domain] [3.5] Established socket connection between /
>> 10.100.5.41:38318
>> [2015-09-03 17:42:53,364]  INFO {com.hazelcast.nio.tcp.SocketAcceptor} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Accepting socket connection
>> from /10.100.5.42:37180
>> [2015-09-03 17:42:53,366]  INFO
>> {com.hazelcast.nio.tcp.TcpIpConnectionManager} -  [10.100.5.41]:4000
>> [wso2.carbon.domain] [3.5] Established socket connection between /
>> 10.100.5.41:4000
>> [2015-09-03 17:42:53,372]  INFO {com.hazelcast.cluster.ClusterService} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5]
>>
>> Members [4] {
>> Member [10.100.5.42]:4000
>> Member [10.100.5.42]:4002
>> Member [10.100.5.41]:4001
>> Member [10.100.5.41]:4000 this
>> }
>>
>> [2015-09-03 17:42:53,396] ERROR
>> {com.hazelcast.cache.impl.operation.PostJoinCacheOperation} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Service with name
>> 'hz:impl:cacheService' not found!
>> com.hazelcast.core.HazelcastException: Service with name
>> 'hz:impl:cacheService' not found!
>> at com.hazelcast.spi.Operation.getService(Operation.java:213)
>> at
>> com.hazelcast.cache.impl.operation.PostJoinCacheOperation.run(PostJoinCacheOperation.java:44)
>> at
>> com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:137)
>> at
>> com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor.runOnCallingThread(ClassicOperationExecutor.java:380)
>> at
>> com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.runOperationOnCallingThread(OperationServiceImpl.java:252)
>> at
>> com.hazelcast.cluster.impl.operations.PostJoinOperation.run(PostJoinOperation.java:93)
>> at
>> com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:137)
>> at
>> com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor.runOnCallingThread(ClassicOperationExecutor.java:380)
>> at
>> com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.runOperationOnCallingThread(OperationServiceImpl.java:252)
>> at
>> com.hazelcast.cluster.impl.operations.FinalizeJoinOperation.run(FinalizeJoinOperation.java:99)
>> at
>> com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:137)
>> at
>> com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:309)
>> at
>> com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.processPacket(OperationThread.java:142)
>> at
>> com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.process(OperationThread.java:115)
>> at
>> com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.doRun(OperationThread.java:101)
>> at
>> com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.run(OperationThread.java:76)
>> [2015-09-03 17:42:53,398]  WARN
>> {com.hazelcast.cache.impl.operation.PostJoinCacheOperation} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Error while running
>> post-join operation: HazelcastException: Service with name
>> 'hz:impl:cacheService' not found!
>> [2015-09-03 17:42:53,850]   OFF
>> {com.hazelcast.partition.InternalPartitionService} -  [10.100.5.41]:4000
>> [wso2.carbon.domain] [3.5] Processing replica sync requests: 1
>> [2015-09-03 17:42:53,863]   OFF
>> {com.hazelcast.partition.InternalPartitionService} -  [10.100.5.41]:4000
>> [wso2.carbon.domain] [3.5] Processing replica sync requests: 1
>> [2015-09-03 17:42:54,071]   OFF
>> {com.hazelcast.partition.InternalPartitionService} -  [10.100.5.41]:4000
>> [wso2.carbon.domain] [3.5] Processing replica sync requests: 1
>> [2015-09-03 17:42:55,336]  INFO {com.hazelcast.core.LifecycleService} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Address[10.100.5.41]:4000 is
>> STARTED
>> [2015-09-03 17:42:55,336]  INFO
>> {org.wso2.carbon.clustering.hazelcast.HazelcastClusteringAgent} -
>>  Hazelcast initialized in 12329ms
>> [2015-09-03 17:42:55,372] ERROR
>> {org.wso2.carbon.internal.clustering.CarbonClusterServiceComponent} -
>>  Error while initializing cluster
>> org.wso2.carbon.clustering.exception.ClusterInitializationException:
>> org.wso2.carbon.clustering.exception.MembershipFailedException: Error while
>> trying join wka membership scheme
>> at
>> org.wso2.carbon.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:168)
>> at
>> org.wso2.carbon.internal.clustering.CarbonClusterServiceComponent.initializeCluster(CarbonClusterServiceComponent.java:137)
>> at
>> org.wso2.carbon.internal.clustering.CarbonClusterServiceComponent.setClusteringAgent(CarbonClusterServiceComponent.java:86)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:483)
>> at
>> org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:444)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bind(ServiceComponentProp.java:218)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:343)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>> at
>> org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
>> at
>> org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
>> at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
>> at
>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
>> Caused by:
>> org.wso2.carbon.clustering.exception.MembershipFailedException: Error while
>> trying join wka membership scheme
>> at
>> org.wso2.carbon.clustering.hazelcast.wka.WKABasedMembershipScheme.joinGroup(WKABasedMembershipScheme.java:124)
>> at
>> org.wso2.carbon.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:166)
>> ... 18 more
>> Caused by:
>> com.hazelcast.nio.serialization.HazelcastSerializationException:
>> java.lang.ClassNotFoundException: org.apache.axis2.clustering.Member
>> at
>> com.hazelcast.nio.serialization.DefaultSerializers$ObjectSerializer.read(DefaultSerializers.java:201)
>> at
>> com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:41)
>> at
>> com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:276)
>> at
>> com.hazelcast.util.QueryResultSet$QueryResultIterator.next(QueryResultSet.java:170)
>> at
>> org.wso2.carbon.clustering.hazelcast.wka.WKABasedMembershipScheme.joinGroup(WKABasedMembershipScheme.java:116)
>> ... 19 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.axis2.clustering.Member
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> at
>> org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFinder.java:131)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> at
>> com.hazelcast.nio.ClassLoaderUtil.tryLoadClass(ClassLoaderUtil.java:125)
>> at com.hazelcast.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:114)
>> at com.hazelcast.nio.IOUtil$1.resolveClass(IOUtil.java:113)
>> at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1613)
>> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
>> at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)
>> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
>> at
>> com.hazelcast.nio.serialization.DefaultSerializers$ObjectSerializer.read(DefaultSerializers.java:196)
>> ... 23 more
>> [2015-09-03 17:42:57,252]  INFO {com.hazelcast.nio.tcp.SocketAcceptor} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5] Accepting socket connection
>> from /10.100.5.41:49046
>> [2015-09-03 17:42:57,253]  INFO
>> {com.hazelcast.nio.tcp.TcpIpConnectionManager} -  [10.100.5.41]:4000
>> [wso2.carbon.domain] [3.5] Established socket connection between /
>> 10.100.5.41:4000
>> [2015-09-03 17:43:06,229]  INFO {com.hazelcast.cluster.ClusterService} -
>>  [10.100.5.41]:4000 [wso2.carbon.domain] [3.5]
>>
>> Members [5] {
>> * Member [10.100.5.42]:4000*
>> * Member [10.100.5.42]:4002*
>> Member [10.100.5.41]:4001
>> Member [10.100.5.41]:4000 this
>> Member [10.0.2.15]:4003
>> }
>>
>> [2015-09-03 17:43:06,239]  INFO
>> {org.wso2.carbon.clustering.hazelcast.wka.WKABasedMembershipScheme} -
>>  Member joined [23bdbfdf-49a1-4857-ba12-13ff94846e66]: /10.0.2.15:4003
>> [2015-09-03 17:43:09,510]   OFF
>> {com.hazelcast.partition.InternalPartitionService} -  [10.100.5.41]:4000
>> [wso2.carbon.domain] [3.5] Processing replica sync requests: 2
>>
>>
>>
>> [2] . WKA Members in cluster.xml
>>
>>          <WKA>
>>             <Members>
>>                 <Member>
>>                     *<Host>10.100.5.30-41</Host>*
>>                     <Port>4000</Port>
>>                 </Member>
>> <Member>
>>                     *<Host>10.100.5.30-41</Host>*
>>                     <Port>4001</Port>
>>                 </Member>
>>             </Members>
>>         </WKA>
>>
>>
>> Regards,
>> Aruna
>>
>> On Thu, Sep 3, 2015 at 11:36 AM, Aruna Karunarathna <ar...@wso2.com>
>> wrote:
>>
>>>
>>>
>>> On Thu, Sep 3, 2015 at 11:33 AM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
>>>> ACK.
>>>>
>>>> @Aruna, can we do this as part of the clustering testing effort? For
>>>> the moment, lets test this manually.
>>>>
>>>
>>> Sure will test this.
>>>
>>>>
>>>> On Mon, Aug 24, 2015 at 6:57 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>
>>>>> $subject
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>> * <http://www.apache.org/>*
>>>>> *email: **az...@wso2.com* <az...@wso2.com>
>>>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>>> *twitter: **http://twitter.com/afkham_azeez*
>>>>> <http://twitter.com/afkham_azeez>
>>>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>>
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Kishanthan Thangarajah*
>>>> Associate Technical Lead,
>>>> Platform Technologies Team,
>>>> WSO2, Inc.
>>>> lean.enterprise.middleware
>>>>
>>>> Mobile - +94773426635
>>>> Blog - *http://kishanthan.wordpress.com
>>>> <http://kishanthan.wordpress.com>*
>>>> Twitter - *http://twitter.com/kishanthan
>>>> <http://twitter.com/kishanthan>*
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *| Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *| Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>
>
>
> --
>
> *Aruna Sujith Karunarathna *| Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>



-- 
*Kishanthan Thangarajah*
Associate Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to