Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-18 Thread Anuruddha Liyanarachchi
Hi Tishan,

As discussed offline issue is with window.restoreState((Object[]) data[0]);
> line. Underlying window implementation(SchedulerSiddhiQueue) is expecting
> a object[] for its restore method and cast its first element
> to LinkedBlockingQueue. But we are sending first element itself again after
> sending object[] earlier. So having only window.restoreState(data); will
> work fine.


By following this it resolved the Error for
SecondDerivativeFinderWindowProcessor. But I am getting following errors
now for AverageHeathRequest and AverageInFlightRequestsFinder execution
plans.

[2015-09-18 07:43:55,839]  INFO - {EventProcessorDeployer}  Execution Plan
was undeployed successfully : AverageHeathRequest.xml
[2015-09-18 07:43:56,103]  INFO - {EventJunction}  Producer added to the
junction. Stream:average_load_average_stats:1.0.0
[2015-09-18 07:43:56,103]  INFO - {EventJunction}  Producer added to the
junction. Stream:member_average_load_average_stats:1.0.0
[2015-09-18 07:43:56,104]  INFO - {EventJunction}  Producer added to the
junction. Stream:member_average_memory_consumption_stats:1.0.0
[2015-09-18 07:43:56,104]  INFO - {EventJunction}  Producer added to the
junction. Stream:average_memory_consumption_stats:1.0.0
[2015-09-18 07:43:56,104]  INFO - {EventJunction}  Producer added to the
junction. Stream:fault_message:1.0.0
[2015-09-18 07:43:56,105]  INFO - {EventJunction}  Consumer added to the
junction. Stream:cartridge_agent_health_stats:1.0.0
[2015-09-18 07:43:56,125]  INFO - {HAServiceClientThriftImpl}  Requesting
snapshot from 192.168.30.221:11224 for tenant:-1234 on:AverageHeathRequest
[2015-09-18 07:43:56,144]  INFO - {HAServiceClientThriftImpl}  Snapshot
received for tenant:-1234 on:AverageHeathRequest
[2015-09-18 07:43:56,159] ERROR - {HAManager}  Syncing failed when becoming
a Passive Node for tenant:-1234 on:AverageHeathRequest execution plan
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
java.util.concurrent.LinkedBlockingQueue
at
org.wso2.siddhi.core.util.collection.queue.SiddhiQueue.restoreState(SiddhiQueue.java:48)
at
org.wso2.siddhi.core.query.processor.window.TimeBatchWindowProcessor.restoreState(TimeBatchWindowProcessor.java:148)
at
org.wso2.siddhi.core.query.processor.window.WindowProcessor.restore(WindowProcessor.java:113)
at
org.wso2.siddhi.core.snapshot.SnapshotService.restore(SnapshotService.java:70)
at org.wso2.siddhi.core.SiddhiManager.restore(SiddhiManager.java:443)
at
org.wso2.carbon.event.processor.core.internal.ha.HAManager.becomePassive(HAManager.java:161)
at
org.wso2.carbon.event.processor.core.internal.ha.HAManager.tryChangeState(HAManager.java:111)
at
org.wso2.carbon.event.processor.core.internal.ha.HAManager.init(HAManager.java:97)
at
org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:358)
at
org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138)
at
org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker.reload(EventProcessorConfigurationFilesystemInvoker.java:86)
at
org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.activateInactiveExecutionPlanConfigurations(CarbonEventProcessorService.java:749)
at
org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.notifyServiceAvailability(CarbonEventProcessorService.java:530)
at
org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.setHazelcastInstance(EventProcessorServiceDS.java:102)
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.ComponentReference.bind(ComponentReference.java:376)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432)
at
org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334)
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

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-18 Thread Akila Ravihansa Perera
Hi Tishan,
Anuruddha and I went through the Siddhi-core 2.1.0 code and noticed that
TimeBatchWindowProcessor class has the same issue in restoreState method
[1]. What is the impact of this error "Syncing failed when becoming a
Passive Node"?

[1]
http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/dependencies/commons/siddhi/2.1.0-wso2v1/modules/siddhi-core/src/main/java/org/wso2/siddhi/core/query/processor/window/TimeBatchWindowProcessor.java

Thanks.

On Fri, Sep 18, 2015 at 2:38 PM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi Tishan,
>
> As discussed offline issue is with window.restoreState((Object[])
>> data[0]); line. Underlying window implementation(SchedulerSiddhiQueue)
>> is expecting a object[] for its restore method and cast its first element
>> to LinkedBlockingQueue. But we are sending first element itself again after
>> sending object[] earlier. So having only window.restoreState(data); will
>> work fine.
>
>
> By following this it resolved the Error for
> SecondDerivativeFinderWindowProcessor. But I am getting following errors
> now for AverageHeathRequest and AverageInFlightRequestsFinder execution
> plans.
>
> [2015-09-18 07:43:55,839]  INFO - {EventProcessorDeployer}  Execution Plan
> was undeployed successfully : AverageHeathRequest.xml
> [2015-09-18 07:43:56,103]  INFO - {EventJunction}  Producer added to the
> junction. Stream:average_load_average_stats:1.0.0
> [2015-09-18 07:43:56,103]  INFO - {EventJunction}  Producer added to the
> junction. Stream:member_average_load_average_stats:1.0.0
> [2015-09-18 07:43:56,104]  INFO - {EventJunction}  Producer added to the
> junction. Stream:member_average_memory_consumption_stats:1.0.0
> [2015-09-18 07:43:56,104]  INFO - {EventJunction}  Producer added to the
> junction. Stream:average_memory_consumption_stats:1.0.0
> [2015-09-18 07:43:56,104]  INFO - {EventJunction}  Producer added to the
> junction. Stream:fault_message:1.0.0
> [2015-09-18 07:43:56,105]  INFO - {EventJunction}  Consumer added to the
> junction. Stream:cartridge_agent_health_stats:1.0.0
> [2015-09-18 07:43:56,125]  INFO - {HAServiceClientThriftImpl}  Requesting
> snapshot from 192.168.30.221:11224 for tenant:-1234 on:AverageHeathRequest
> [2015-09-18 07:43:56,144]  INFO - {HAServiceClientThriftImpl}  Snapshot
> received for tenant:-1234 on:AverageHeathRequest
> [2015-09-18 07:43:56,159] ERROR - {HAManager}  Syncing failed when
> becoming a Passive Node for tenant:-1234 on:AverageHeathRequest execution
> plan
> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
> java.util.concurrent.LinkedBlockingQueue
> at
> org.wso2.siddhi.core.util.collection.queue.SiddhiQueue.restoreState(SiddhiQueue.java:48)
> at
> org.wso2.siddhi.core.query.processor.window.TimeBatchWindowProcessor.restoreState(TimeBatchWindowProcessor.java:148)
> at
> org.wso2.siddhi.core.query.processor.window.WindowProcessor.restore(WindowProcessor.java:113)
> at
> org.wso2.siddhi.core.snapshot.SnapshotService.restore(SnapshotService.java:70)
> at org.wso2.siddhi.core.SiddhiManager.restore(SiddhiManager.java:443)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.becomePassive(HAManager.java:161)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.tryChangeState(HAManager.java:111)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.init(HAManager.java:97)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:358)
> at
> org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138)
> at
> org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker.reload(EventProcessorConfigurationFilesystemInvoker.java:86)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.activateInactiveExecutionPlanConfigurations(CarbonEventProcessorService.java:749)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.notifyServiceAvailability(CarbonEventProcessorService.java:530)
> at
> org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.setHazelcastInstance(EventProcessorServiceDS.java:102)
> 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.ComponentReference.bind(ComponentReference.java:376)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416)
> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334)
> at
> 

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-17 Thread Tishan Dahanayakage
Hi All,

I remote debugged this and found out why this is occurring. The issue is
when we are building the Siddhi configuration We set
'DistributedProcessing' by checking whether ExecutionPlanConfiguration
returns "true" for the property  "siddhi.enable.distributed.processing".

if (isDistributedProcessingEnabledString != null &&
isDistributedProcessingEnabledString.equalsIgnoreCase("true"))

When we set distributed mode as Redundant node when creating the execution
plan property  "siddhi.enable.distributed.processing" returns
"RedundantNode". Hence distributed processing in Siddhi configuration is
not set. I am not quite sure whether this is the intended behavior.

Then in the init method of custom time window they initialize the window as
follows.


if (this.siddhiContext.isDistributedProcessingEnabled()) {
window = new SchedulerSiddhiQueueGrid(elementId, this,
this.siddhiContext, this.async);
} else {
window = new SchedulerSiddhiQueue(this);
}

SchedulerSiddhiQueue restore method expects a LinkedBlockingQueue. Hence
the ClassCastException. This means we are receiving a wrong object for the
restore method. And this happens on second node start up. Do we share state
between two execution plans through currentState/restoreState?

Thanks
Tishan


On Thu, Sep 17, 2015 at 9:44 AM, Sriskandarajah Suhothayan 
wrote:

> have you properly migrated SecondDerivativeFinderWindowProcessor to new
> siddhi version. the bug is there.
>
> Suho
>
> On Thu, Sep 17, 2015 at 9:32 AM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com> wrote:
>
>> Hi Ramindu,
>>
>> Please find the CEP artefacts that is being used [1].
>> Please note that the node starts first is not throwing any error.
>>
>> [1]
>> https://drive.google.com/a/wso2.com/file/d/0Bw0NgSFZG5YkWUZybUoxbzM0TTg/view?usp=sharing
>> 
>>
>> On Wed, Sep 16, 2015 at 10:34 PM, Sriskandarajah Suhothayan <
>> s...@wso2.com> wrote:
>>
>>> From the logs it looks like its an issue in
>>> SecondDerivativeFinderWindowProcessor check the getting and restoring the
>>> state part.
>>>
>>> Suho
>>>
>>> On Wed, Sep 16, 2015 at 10:16 PM, Ramindu De Silva 
>>> wrote:
>>>
 Hi Anuruddha,

 Is it possible to send me the artefacts you used for this scenario, so
 that i can reproduce and debug and see whats causing this issue.

 Best Regards,

 On Wed, Sep 16, 2015 at 7:30 PM, Anuruddha Liyanarachchi <
 anurudd...@wso2.com> wrote:

> Hi,
>
> I created CEP HA cluster with Deployment for full-active-active mode
> as per [1].
> I am seeing following error when starting the 2nd member.
> I have also attached execution plan [2].
>
> What is causing this issue ?
>
> [2015-09-16 13:22:38,191] ERROR - {HAManager}  Syncing failed when
> becoming a Passive Node for tenant:-1234
> on:SecondDerivativeOfRequestsInFlightFinder execution plan
> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
> java.util.concurrent.LinkedBlockingQueue
> at
> org.wso2.siddhi.core.util.collection.queue.SiddhiQueue.restoreState(SiddhiQueue.java:48)
> at
> org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor.restoreState(SecondDerivativeFinderWindowProcessor.java:229)
> at
> org.wso2.siddhi.core.query.processor.window.WindowProcessor.restore(WindowProcessor.java:113)
> at
> org.wso2.siddhi.core.snapshot.SnapshotService.restore(SnapshotService.java:70)
> at org.wso2.siddhi.core.SiddhiManager.restore(SiddhiManager.java:443)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.becomePassive(HAManager.java:161)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.tryChangeState(HAManager.java:111)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.init(HAManager.java:97)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:358)
> at
> org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138)
> at
> org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker.reload(EventProcessorConfigurationFilesystemInvoker.java:86)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.activateInactiveExecutionPlanConfigurations(CarbonEventProcessorService.java:749)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.notifyServiceAvailability(CarbonEventProcessorService.java:530)
> at
> org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.setHazelcastInstance(EventProcessorServiceDS.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> 

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-17 Thread Imesh Gunaratne
On Thu, Sep 17, 2015 at 9:44 AM, Sriskandarajah Suhothayan 
 wrote:

> have you properly migrated SecondDerivativeFinderWindowProcessor to new
> siddhi version. the bug is there.
>
> I also doubt this, it looks like this error has been raised by the
following method in SecondDerivativeFinderWindowProcessor:

@Override
protected void restoreState(Object[] data) {
window.restoreState(data);
window.restoreState((Object[]) data[0]);
oldEventList = ((ArrayList) data[1]);
newEventList = ((ArrayList) data[2]);
window.reSchedule();
}

@Anuruddha: Will us be able to debug this method in the second CEP node and
see the type of the data object being passed? It would be better if we can
also get siddhi source code attached.

Other question is do we need to migrate this logic?

On Thu, Sep 17, 2015 at 9:44 AM, Sriskandarajah Suhothayan 
wrote:

> have you properly migrated SecondDerivativeFinderWindowProcessor to new
> siddhi version. the bug is there.
>
> Suho
>
> On Thu, Sep 17, 2015 at 9:32 AM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com> wrote:
>
>> Hi Ramindu,
>>
>> Please find the CEP artefacts that is being used [1].
>> Please note that the node starts first is not throwing any error.
>>
>> [1]
>> https://drive.google.com/a/wso2.com/file/d/0Bw0NgSFZG5YkWUZybUoxbzM0TTg/view?usp=sharing
>> 
>>
>> On Wed, Sep 16, 2015 at 10:34 PM, Sriskandarajah Suhothayan <
>> s...@wso2.com> wrote:
>>
>>> From the logs it looks like its an issue in
>>> SecondDerivativeFinderWindowProcessor check the getting and restoring the
>>> state part.
>>>
>>> Suho
>>>
>>> On Wed, Sep 16, 2015 at 10:16 PM, Ramindu De Silva 
>>> wrote:
>>>
 Hi Anuruddha,

 Is it possible to send me the artefacts you used for this scenario, so
 that i can reproduce and debug and see whats causing this issue.

 Best Regards,

 On Wed, Sep 16, 2015 at 7:30 PM, Anuruddha Liyanarachchi <
 anurudd...@wso2.com> wrote:

> Hi,
>
> I created CEP HA cluster with Deployment for full-active-active mode
> as per [1].
> I am seeing following error when starting the 2nd member.
> I have also attached execution plan [2].
>
> What is causing this issue ?
>
> [2015-09-16 13:22:38,191] ERROR - {HAManager}  Syncing failed when
> becoming a Passive Node for tenant:-1234
> on:SecondDerivativeOfRequestsInFlightFinder execution plan
> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
> java.util.concurrent.LinkedBlockingQueue
> at
> org.wso2.siddhi.core.util.collection.queue.SiddhiQueue.restoreState(SiddhiQueue.java:48)
> at
> org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor.restoreState(SecondDerivativeFinderWindowProcessor.java:229)
> at
> org.wso2.siddhi.core.query.processor.window.WindowProcessor.restore(WindowProcessor.java:113)
> at
> org.wso2.siddhi.core.snapshot.SnapshotService.restore(SnapshotService.java:70)
> at org.wso2.siddhi.core.SiddhiManager.restore(SiddhiManager.java:443)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.becomePassive(HAManager.java:161)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.tryChangeState(HAManager.java:111)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.init(HAManager.java:97)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:358)
> at
> org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138)
> at
> org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker.reload(EventProcessorConfigurationFilesystemInvoker.java:86)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.activateInactiveExecutionPlanConfigurations(CarbonEventProcessorService.java:749)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.notifyServiceAvailability(CarbonEventProcessorService.java:530)
> at
> org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.setHazelcastInstance(EventProcessorServiceDS.java:102)
> 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.ComponentReference.bind(ComponentReference.java:376)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432)
> at
> 

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-17 Thread Tishan Dahanayakage
Hi Anuruddha,

As discussed offline issue is with window.restoreState((Object[]) data[0]);
line. Underlying window implementation(SchedulerSiddhiQueue) is expecting a
object[] for its restore method and cast its first element
to LinkedBlockingQueue. But we are sending first element itself again after
sending object[] earlier. So having only window.restoreState(data); will
work fine.

Thanks
Tishan

On Thu, Sep 17, 2015 at 11:08 PM, Imesh Gunaratne  wrote:

> On Thu, Sep 17, 2015 at 9:44 AM, Sriskandarajah Suhothayan 
>  wrote:
>
>> have you properly migrated SecondDerivativeFinderWindowProcessor to new
>> siddhi version. the bug is there.
>>
>> I also doubt this, it looks like this error has been raised by the
> following method in SecondDerivativeFinderWindowProcessor:
>
> @Override
> protected void restoreState(Object[] data) {
> window.restoreState(data);
> window.restoreState((Object[]) data[0]);
> oldEventList = ((ArrayList) data[1]);
> newEventList = ((ArrayList) data[2]);
> window.reSchedule();
> }
>
> @Anuruddha: Will us be able to debug this method in the second CEP node
> and see the type of the data object being passed? It would be better if we
> can also get siddhi source code attached.
>
> Other question is do we need to migrate this logic?
>
> On Thu, Sep 17, 2015 at 9:44 AM, Sriskandarajah Suhothayan 
> wrote:
>
>> have you properly migrated SecondDerivativeFinderWindowProcessor to new
>> siddhi version. the bug is there.
>>
>> Suho
>>
>> On Thu, Sep 17, 2015 at 9:32 AM, Anuruddha Liyanarachchi <
>> anurudd...@wso2.com> wrote:
>>
>>> Hi Ramindu,
>>>
>>> Please find the CEP artefacts that is being used [1].
>>> Please note that the node starts first is not throwing any error.
>>>
>>> [1]
>>> https://drive.google.com/a/wso2.com/file/d/0Bw0NgSFZG5YkWUZybUoxbzM0TTg/view?usp=sharing
>>> 
>>>
>>> On Wed, Sep 16, 2015 at 10:34 PM, Sriskandarajah Suhothayan <
>>> s...@wso2.com> wrote:
>>>
 From the logs it looks like its an issue in
 SecondDerivativeFinderWindowProcessor check the getting and restoring the
 state part.

 Suho

 On Wed, Sep 16, 2015 at 10:16 PM, Ramindu De Silva 
 wrote:

> Hi Anuruddha,
>
> Is it possible to send me the artefacts you used for this scenario, so
> that i can reproduce and debug and see whats causing this issue.
>
> Best Regards,
>
> On Wed, Sep 16, 2015 at 7:30 PM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com> wrote:
>
>> Hi,
>>
>> I created CEP HA cluster with Deployment for full-active-active mode
>> as per [1].
>> I am seeing following error when starting the 2nd member.
>> I have also attached execution plan [2].
>>
>> What is causing this issue ?
>>
>> [2015-09-16 13:22:38,191] ERROR - {HAManager}  Syncing failed when
>> becoming a Passive Node for tenant:-1234
>> on:SecondDerivativeOfRequestsInFlightFinder execution plan
>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
>> java.util.concurrent.LinkedBlockingQueue
>> at
>> org.wso2.siddhi.core.util.collection.queue.SiddhiQueue.restoreState(SiddhiQueue.java:48)
>> at
>> org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor.restoreState(SecondDerivativeFinderWindowProcessor.java:229)
>> at
>> org.wso2.siddhi.core.query.processor.window.WindowProcessor.restore(WindowProcessor.java:113)
>> at
>> org.wso2.siddhi.core.snapshot.SnapshotService.restore(SnapshotService.java:70)
>> at org.wso2.siddhi.core.SiddhiManager.restore(SiddhiManager.java:443)
>> at
>> org.wso2.carbon.event.processor.core.internal.ha.HAManager.becomePassive(HAManager.java:161)
>> at
>> org.wso2.carbon.event.processor.core.internal.ha.HAManager.tryChangeState(HAManager.java:111)
>> at
>> org.wso2.carbon.event.processor.core.internal.ha.HAManager.init(HAManager.java:97)
>> at
>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:358)
>> at
>> org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138)
>> at
>> org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker.reload(EventProcessorConfigurationFilesystemInvoker.java:86)
>> at
>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.activateInactiveExecutionPlanConfigurations(CarbonEventProcessorService.java:749)
>> at
>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.notifyServiceAvailability(CarbonEventProcessorService.java:530)
>> at
>> 

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-16 Thread Ramindu De Silva
Hi Anuruddha,

Is it possible to send me the artefacts you used for this scenario, so that
i can reproduce and debug and see whats causing this issue.

Best Regards,

On Wed, Sep 16, 2015 at 7:30 PM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi,
>
> I created CEP HA cluster with Deployment for full-active-active mode as
> per [1].
> I am seeing following error when starting the 2nd member.
> I have also attached execution plan [2].
>
> What is causing this issue ?
>
> [2015-09-16 13:22:38,191] ERROR - {HAManager}  Syncing failed when
> becoming a Passive Node for tenant:-1234
> on:SecondDerivativeOfRequestsInFlightFinder execution plan
> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
> java.util.concurrent.LinkedBlockingQueue
> at
> org.wso2.siddhi.core.util.collection.queue.SiddhiQueue.restoreState(SiddhiQueue.java:48)
> at
> org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor.restoreState(SecondDerivativeFinderWindowProcessor.java:229)
> at
> org.wso2.siddhi.core.query.processor.window.WindowProcessor.restore(WindowProcessor.java:113)
> at
> org.wso2.siddhi.core.snapshot.SnapshotService.restore(SnapshotService.java:70)
> at org.wso2.siddhi.core.SiddhiManager.restore(SiddhiManager.java:443)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.becomePassive(HAManager.java:161)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.tryChangeState(HAManager.java:111)
> at
> org.wso2.carbon.event.processor.core.internal.ha.HAManager.init(HAManager.java:97)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:358)
> at
> org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138)
> at
> org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker.reload(EventProcessorConfigurationFilesystemInvoker.java:86)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.activateInactiveExecutionPlanConfigurations(CarbonEventProcessorService.java:749)
> at
> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.notifyServiceAvailability(CarbonEventProcessorService.java:530)
> at
> org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.setHazelcastInstance(EventProcessorServiceDS.java:102)
> 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.ComponentReference.bind(ComponentReference.java:376)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416)
> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334)
> 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.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950)
> at
> org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:214)
> at
> org.wso2.carbon.core.util.ClusteringUtil.enableClustering(ClusteringUtil.java:44)
> at
> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:175)
> at
> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282)
> at
> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
> at
> 

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-16 Thread Sriskandarajah Suhothayan
>From the logs it looks like its an issue in
SecondDerivativeFinderWindowProcessor check the getting and restoring the
state part.

Suho

On Wed, Sep 16, 2015 at 10:16 PM, Ramindu De Silva 
wrote:

> Hi Anuruddha,
>
> Is it possible to send me the artefacts you used for this scenario, so
> that i can reproduce and debug and see whats causing this issue.
>
> Best Regards,
>
> On Wed, Sep 16, 2015 at 7:30 PM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com> wrote:
>
>> Hi,
>>
>> I created CEP HA cluster with Deployment for full-active-active mode as
>> per [1].
>> I am seeing following error when starting the 2nd member.
>> I have also attached execution plan [2].
>>
>> What is causing this issue ?
>>
>> [2015-09-16 13:22:38,191] ERROR - {HAManager}  Syncing failed when
>> becoming a Passive Node for tenant:-1234
>> on:SecondDerivativeOfRequestsInFlightFinder execution plan
>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
>> java.util.concurrent.LinkedBlockingQueue
>> at
>> org.wso2.siddhi.core.util.collection.queue.SiddhiQueue.restoreState(SiddhiQueue.java:48)
>> at
>> org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor.restoreState(SecondDerivativeFinderWindowProcessor.java:229)
>> at
>> org.wso2.siddhi.core.query.processor.window.WindowProcessor.restore(WindowProcessor.java:113)
>> at
>> org.wso2.siddhi.core.snapshot.SnapshotService.restore(SnapshotService.java:70)
>> at org.wso2.siddhi.core.SiddhiManager.restore(SiddhiManager.java:443)
>> at
>> org.wso2.carbon.event.processor.core.internal.ha.HAManager.becomePassive(HAManager.java:161)
>> at
>> org.wso2.carbon.event.processor.core.internal.ha.HAManager.tryChangeState(HAManager.java:111)
>> at
>> org.wso2.carbon.event.processor.core.internal.ha.HAManager.init(HAManager.java:97)
>> at
>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:358)
>> at
>> org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138)
>> at
>> org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker.reload(EventProcessorConfigurationFilesystemInvoker.java:86)
>> at
>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.activateInactiveExecutionPlanConfigurations(CarbonEventProcessorService.java:749)
>> at
>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.notifyServiceAvailability(CarbonEventProcessorService.java:530)
>> at
>> org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.setHazelcastInstance(EventProcessorServiceDS.java:102)
>> 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.ComponentReference.bind(ComponentReference.java:376)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416)
>> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334)
>> 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.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950)
>> at
>> org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:214)
>> at
>> org.wso2.carbon.core.util.ClusteringUtil.enableClustering(ClusteringUtil.java:44)
>> at
>> 

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-16 Thread Sriskandarajah Suhothayan
have you properly migrated SecondDerivativeFinderWindowProcessor to new
siddhi version. the bug is there.

Suho

On Thu, Sep 17, 2015 at 9:32 AM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi Ramindu,
>
> Please find the CEP artefacts that is being used [1].
> Please note that the node starts first is not throwing any error.
>
> [1]
> https://drive.google.com/a/wso2.com/file/d/0Bw0NgSFZG5YkWUZybUoxbzM0TTg/view?usp=sharing
> 
>
> On Wed, Sep 16, 2015 at 10:34 PM, Sriskandarajah Suhothayan  > wrote:
>
>> From the logs it looks like its an issue in
>> SecondDerivativeFinderWindowProcessor check the getting and restoring the
>> state part.
>>
>> Suho
>>
>> On Wed, Sep 16, 2015 at 10:16 PM, Ramindu De Silva 
>> wrote:
>>
>>> Hi Anuruddha,
>>>
>>> Is it possible to send me the artefacts you used for this scenario, so
>>> that i can reproduce and debug and see whats causing this issue.
>>>
>>> Best Regards,
>>>
>>> On Wed, Sep 16, 2015 at 7:30 PM, Anuruddha Liyanarachchi <
>>> anurudd...@wso2.com> wrote:
>>>
 Hi,

 I created CEP HA cluster with Deployment for full-active-active mode
 as per [1].
 I am seeing following error when starting the 2nd member.
 I have also attached execution plan [2].

 What is causing this issue ?

 [2015-09-16 13:22:38,191] ERROR - {HAManager}  Syncing failed when
 becoming a Passive Node for tenant:-1234
 on:SecondDerivativeOfRequestsInFlightFinder execution plan
 java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
 java.util.concurrent.LinkedBlockingQueue
 at
 org.wso2.siddhi.core.util.collection.queue.SiddhiQueue.restoreState(SiddhiQueue.java:48)
 at
 org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor.restoreState(SecondDerivativeFinderWindowProcessor.java:229)
 at
 org.wso2.siddhi.core.query.processor.window.WindowProcessor.restore(WindowProcessor.java:113)
 at
 org.wso2.siddhi.core.snapshot.SnapshotService.restore(SnapshotService.java:70)
 at org.wso2.siddhi.core.SiddhiManager.restore(SiddhiManager.java:443)
 at
 org.wso2.carbon.event.processor.core.internal.ha.HAManager.becomePassive(HAManager.java:161)
 at
 org.wso2.carbon.event.processor.core.internal.ha.HAManager.tryChangeState(HAManager.java:111)
 at
 org.wso2.carbon.event.processor.core.internal.ha.HAManager.init(HAManager.java:97)
 at
 org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:358)
 at
 org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138)
 at
 org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker.reload(EventProcessorConfigurationFilesystemInvoker.java:86)
 at
 org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.activateInactiveExecutionPlanConfigurations(CarbonEventProcessorService.java:749)
 at
 org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.notifyServiceAvailability(CarbonEventProcessorService.java:530)
 at
 org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.setHazelcastInstance(EventProcessorServiceDS.java:102)
 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.ComponentReference.bind(ComponentReference.java:376)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334)
 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
 

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-16 Thread Anuruddha Liyanarachchi
Hi Ramindu,

Please find the CEP artefacts that is being used [1].
Please note that the node starts first is not throwing any error.

[1]
https://drive.google.com/a/wso2.com/file/d/0Bw0NgSFZG5YkWUZybUoxbzM0TTg/view?usp=sharing


On Wed, Sep 16, 2015 at 10:34 PM, Sriskandarajah Suhothayan 
wrote:

> From the logs it looks like its an issue in
> SecondDerivativeFinderWindowProcessor check the getting and restoring the
> state part.
>
> Suho
>
> On Wed, Sep 16, 2015 at 10:16 PM, Ramindu De Silva 
> wrote:
>
>> Hi Anuruddha,
>>
>> Is it possible to send me the artefacts you used for this scenario, so
>> that i can reproduce and debug and see whats causing this issue.
>>
>> Best Regards,
>>
>> On Wed, Sep 16, 2015 at 7:30 PM, Anuruddha Liyanarachchi <
>> anurudd...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I created CEP HA cluster with Deployment for full-active-active mode as
>>> per [1].
>>> I am seeing following error when starting the 2nd member.
>>> I have also attached execution plan [2].
>>>
>>> What is causing this issue ?
>>>
>>> [2015-09-16 13:22:38,191] ERROR - {HAManager}  Syncing failed when
>>> becoming a Passive Node for tenant:-1234
>>> on:SecondDerivativeOfRequestsInFlightFinder execution plan
>>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
>>> java.util.concurrent.LinkedBlockingQueue
>>> at
>>> org.wso2.siddhi.core.util.collection.queue.SiddhiQueue.restoreState(SiddhiQueue.java:48)
>>> at
>>> org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor.restoreState(SecondDerivativeFinderWindowProcessor.java:229)
>>> at
>>> org.wso2.siddhi.core.query.processor.window.WindowProcessor.restore(WindowProcessor.java:113)
>>> at
>>> org.wso2.siddhi.core.snapshot.SnapshotService.restore(SnapshotService.java:70)
>>> at org.wso2.siddhi.core.SiddhiManager.restore(SiddhiManager.java:443)
>>> at
>>> org.wso2.carbon.event.processor.core.internal.ha.HAManager.becomePassive(HAManager.java:161)
>>> at
>>> org.wso2.carbon.event.processor.core.internal.ha.HAManager.tryChangeState(HAManager.java:111)
>>> at
>>> org.wso2.carbon.event.processor.core.internal.ha.HAManager.init(HAManager.java:97)
>>> at
>>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.addExecutionPlanConfiguration(CarbonEventProcessorService.java:358)
>>> at
>>> org.wso2.carbon.event.processor.core.EventProcessorDeployer.processDeploy(EventProcessorDeployer.java:138)
>>> at
>>> org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker.reload(EventProcessorConfigurationFilesystemInvoker.java:86)
>>> at
>>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.activateInactiveExecutionPlanConfigurations(CarbonEventProcessorService.java:749)
>>> at
>>> org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.notifyServiceAvailability(CarbonEventProcessorService.java:530)
>>> at
>>> org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.setHazelcastInstance(EventProcessorServiceDS.java:102)
>>> 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.ComponentReference.bind(ComponentReference.java:376)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416)
>>> at
>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334)
>>> 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)
>>>