Hi all,

I am doing the ESB task to test the VFS Inbound.
I went through some portion of Carbon-Mediation code related to VFS and
tested VFS file transfer functionality with Smooks mediator (Synapse Sample
654) so far.

>From this testing, I got an idea of Smooks mediator and practically tested
one of the use cases of VFS inbound.

I have set up ESB worker/manager cluster without ELB. For this I referred
document [1] and used Ngnix Load Balancer. And I used the ESB pack got from
[2].

[1]
https://docs.google.com/a/wso2.com/document/d/1x80QfnBW09keGVYOi3MLruckXbIVp45vOj9deyF0l5I/edit?usp=sharing

[2]
https://svn.wso2.org/repos/wso2/people/ishan/dist/esb/4.9.0/wso2esb-4.9.0-M7.zip

*Issues:*

   - When I start Worker 1, I am getting the exception *Can't find a svn
   action for svn output line : Updating 'repository/deployment/server'*
   see in log [3].

[3]

[2015-04-24 10:15:56,155]  INFO - MemberUtils Added member: Host:
mgt.esb.wso2.com, Remote Host:null, Port: 4100, HTTP:-1, HTTPS:-1, Domain:
null, Sub-domain:null, Active:true
[2015-04-24 10:16:04,676]  INFO - HazelcastClusteringAgent Hazelcast
initialized in 8519ms
[2015-04-24 10:16:04,696]  INFO - MemberUtils Added member:
Host:10.100.5.171, Remote Host:null, Port: 4100, HTTP:8281, HTTPS:8244,
Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
[2015-04-24 10:16:04,696]  INFO - HazelcastClusteringAgent Local member:
[d795d8a2-f6da-491a-ad5f-fe2cfa82f950] - Host:10.100.5.171, Remote
Host:null, Port: 4200, HTTP:8282, HTTPS:8245, Domain: wso2.esb.domain,
Sub-domain:null, Active:true
[2015-04-24 10:16:04,704]  INFO - MemberUtils Added member:
Host:10.100.5.171, Remote Host:null, Port: 4200, HTTP:8282, HTTPS:8245,
Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
[2015-04-24 10:16:04,960]  INFO - HazelcastClusteringAgent Cluster
initialization completed
[2015-04-24 10:16:04,968]  INFO - NioSelectorPool Using a shared selector
for servlet write/read
[2015-04-24 10:16:05,400]  INFO - NioSelectorPool Using a shared selector
for servlet write/read
[2015-04-24 10:16:05,470]  INFO - TaskServiceImpl Task service starting in
CLUSTERED mode...
[2015-04-24 10:16:05,510]  INFO - NTaskTaskManager Initialized task
manager. Tenant [-1234]
[2015-04-24 10:16:05,511]  INFO - ClusterGroupCommunicator Waiting for 2
[ESB_TASK] task executor nodes...
[2015-04-24 10:16:08,023]  WARN - SvnOutputParser Can't find a svn action
for svn output line : Updating 'repository/deployment/server':


   - When I shout down Worker 1, It says "Error in waiting for task
   [ESB_TASK] executor nodes: Hazelcast instance is not active!". See the  log
   in [4].

[4]

[2015-04-24 10:26:54,215] ERROR - TasksDSComponent Error in intializing
Tasks component: Error in waiting for task [ESB_TASK] executor nodes:
Hazelcast instance is not active!
org.wso2.carbon.ntask.common.TaskException: Error in waiting for task
[ESB_TASK] executor nodes: Hazelcast instance is not active!
    at
org.wso2.carbon.ntask.core.impl.clustered.ClusterGroupCommunicator.checkServers(ClusterGroupCommunicator.java:159)
    at
org.wso2.carbon.ntask.core.service.impl.TaskServiceImpl.runAfterRegistrationActions(TaskServiceImpl.java:324)
    at
org.wso2.carbon.ntask.core.internal.TasksDSComponent.activate(TasksDSComponent.java:109)
    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:601)
    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.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:196)
    at
org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:285)
    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(ThrottlingAgentServiceComponent.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:601)
    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:88)
    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:601)
    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:1279)
    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192)
    at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
    at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
    at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
    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$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException:
Hazelcast instance is not active!
    at
com.hazelcast.spi.impl.ProxyServiceImpl$ProxyRegistry.<init>(ProxyServiceImpl.java:259)
    at
com.hazelcast.spi.impl.ProxyServiceImpl$ProxyRegistry.<init>(ProxyServiceImpl.java:246)
    at
com.hazelcast.spi.impl.ProxyServiceImpl$1.createNew(ProxyServiceImpl.java:84)
    at
com.hazelcast.spi.impl.ProxyServiceImpl$1.createNew(ProxyServiceImpl.java:82)
    at
com.hazelcast.util.ConcurrencyUtil.getOrPutIfAbsent(ConcurrencyUtil.java:50)
    at
com.hazelcast.spi.impl.ProxyServiceImpl.getDistributedObject(ProxyServiceImpl.java:116)
    at
com.hazelcast.instance.HazelcastInstanceImpl.getDistributedObject(HazelcastInstanceImpl.java:307)
    at
com.hazelcast.instance.HazelcastInstanceImpl.getAtomicLong(HazelcastInstanceImpl.java:231)
    at
com.hazelcast.instance.HazelcastInstanceProxy.getAtomicLong(HazelcastInstanceProxy.java:110)
    at
org.wso2.carbon.ntask.core.impl.clustered.ClusterGroupCommunicator.checkServers(ClusterGroupCommunicator.java:155)
    ... 98 more

   - But the manager listens worker 1.

*Manager Log*

[2015-04-24 10:16:04,703]  INFO - MemberUtils Added member:
Host:10.100.5.171, Remote Host:null, Port: 4200, HTTP:8282, HTTPS:8245,
Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
[2015-04-24 10:26:56,082]  INFO - WKABasedMembershipScheme Member left
[d795d8a2-f6da-491a-ad5f-fe2cfa82f950]: esb.wso2.com/10.100.5.171:4200

Can anyone guide me to fix this?


Thank you

-- 
Shakila Sivagnanarajah
Associate Software Engineer
Mobile :+94 (0) 770 760240
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to