Hi,

I am trying to share Config and Governance Partitions to a Remote Registry.
I have followed [1] and configured WSO2 GREG as remote registry instance
and AS as carbon server node. I was able to run GREG instance successfully
but failed to run AS as it's producing the following error.


[2015-02-05 06:37:13,106]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}
-  Using multicast based membership management scheme
[2015-02-05 06:42:33,424] ERROR {com.hazelcast.instance.Node} -
[127.0.0.1]:4001 [wso2.carbon.domain] Could not join cluster, shutting down!
java.lang.IllegalStateException:
======================================================
Couldn't connect to discovered master! tryCount: 50
address: Address[127.0.0.1]:4001
masterAddress: Address[127.0.0.1]:0
multicast: true
connection: null
======================================================

    at com.hazelcast.cluster.AbstractJoiner.failedJoiningToMaster(
AbstractJoiner.java:139)
    at com.hazelcast.cluster.MulticastJoiner.doJoin(MulticastJoiner.java:69)
    at com.hazelcast.cluster.AbstractJoiner.join(AbstractJoiner.java:61)
    at com.hazelcast.instance.Node.join(Node.java:526)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.rejoin(Node.java:515)
    at com.hazelcast.instance.Node.join(Node.java:531)
    at com.hazelcast.instance.Node.start(Node.java:316)
    at com.hazelcast.instance.HazelcastInstanceImpl.<init>(
HazelcastInstanceImpl.java:94)
    at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(
HazelcastInstanceFactory.java:87)
    at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(
HazelcastInstanceFactory.java:72)
    at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
    at org.wso2.carbon.core.clustering.hazelcast.
HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:178)
    at org.wso2.carbon.core.util.ClusteringUtil.enableClustering(
ClusteringUtil.java:38)
    at org.wso2.carbon.core.internal.StartupFinalizerServiceCompone
nt.completeInitialization(StartupFinalizerServiceComponent.java:177)
    at org.wso2.carbon.core.internal.StartupFinalizerServiceCompone
nt.serviceChanged(StartupFinalizerServiceComponent.java:284)
    at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.
serviceChanged(FilteredServiceListener.java:107)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
dispatchEvent(BundleContextImpl.java:861)
    at org.eclipse.osgi.framework.eventmgr.EventManager.
dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.
dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
publishServiceEventPrivileged(ServiceRegistry.java:819)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
publishServiceEvent(ServiceRegistry.java:771)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.
register(ServiceRegistrationImpl.java:130)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
registerService(ServiceRegistry.java:214)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
registerService(BundleContextImpl.java:433)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
registerService(BundleContextImpl.java:451)
    at org.wso2.carbon.throttling.agent.internal.
ThrottlingAgentServiceComponent.registerThrottlingAgent(
ThrottlingAgentServiceComponent.java:123)
    at org.wso2.carbon.throttling.agent.internal.
ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponen
t.java:100)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.internal.ds.model.ServiceComponent.
activate(ServiceComponent.java:260)
    at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
activate(ServiceComponentProp.java:146)
    at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
build(ServiceComponentProp.java:347)
    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.getEligible(
Resolver.java:343)
    at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(
SCRManager.java:222)
    at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.
serviceChanged(FilteredServiceListener.java:107)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
dispatchEvent(BundleContextImpl.java:861)
    at org.eclipse.osgi.framework.eventmgr.EventManager.
dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.
dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
publishServiceEventPrivileged(ServiceRegistry.java:819)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
publishServiceEvent(ServiceRegistry.java:771)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.
register(ServiceRegistrationImpl.java:130)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
registerService(ServiceRegistry.java:214)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
registerService(BundleContextImpl.java:433)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
registerService(BundleContextImpl.java:451)
    at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(
CarbonServerManager.java:517)
    at org.wso2.carbon.core.init.CarbonServerManager.start(
CarbonServerManager.java:219)
    at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(
CarbonCoreServiceComponent.java:74)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.internal.ds.model.ServiceComponent.
activate(ServiceComponent.java:260)
    at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
activate(ServiceComponentProp.java:146)
    at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
build(ServiceComponentProp.java:347)
    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.getEligible(
Resolver.java:343)
    at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(
SCRManager.java:222)
    at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.
serviceChanged(FilteredServiceListener.java:107)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
dispatchEvent(BundleContextImpl.java:861)
    at org.eclipse.osgi.framework.eventmgr.EventManager.
dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.
dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
publishServiceEventPrivileged(ServiceRegistry.java:819)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
publishServiceEvent(ServiceRegistry.java:771)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.
register(ServiceRegistrationImpl.java:130)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.
registerService(ServiceRegistry.java:214)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
registerService(BundleContextImpl.java:433)
    at org.eclipse.equinox.http.servlet.internal.Activator.
registerHttpService(Activator.java:81)
    at org.eclipse.equinox.http.servlet.internal.Activator.
addProxyServlet(Activator.java:60)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.
init(ProxyServlet.java:40)
    at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.
init(DelegationServlet.java:38)
    at org.apache.catalina.core.StandardWrapper.initServlet(
StandardWrapper.java:1267)
    at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1186)
    at org.apache.catalina.core.StandardWrapper.load(
StandardWrapper.java:1081)
    at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:5027)
    at org.apache.catalina.core.StandardContext.startInternal(
StandardContext.java:5314)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(
ContainerBase.java:1559)
    at org.apache.catalina.core.ContainerBase$StartChild.call(
ContainerBase.java:1549)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

I am not sure what went wrong. Does anyone know what causes this error?


[1] -
https://docs.wso2.com/display/Governance460/Config+and+Governance+Partitions+in+a+Remote+Registry

Thanks.

-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to