Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] ECF jgroup

Hi Scott
   Today i tried jgroup with ECF

It seems there is a bug.

1) please find the screenshots attached.Discovery service is geting the uri as "jgroups:jgroups://localhost:3789/server" />.Although i am specifying 

org.eclipse.ecf.containerFactoryArgs as jgroups://localhost:3789/server

in debug mode i changed it and corrected it as jgroups://localhost:3789/server .its working fine


2) illegal equinox server shutdown(which runs the provider bundle) .then restart the equinox server.Service call in consumer bundle is failing throwing the below exception
As you told it might be an underlying layer issue of cleaning up.

org.osgi.framework.ServiceException: Service exception on remote service proxy rsid=org.eclipse.ecf.remoteservice.RemoteServiceID[containerID=JGroupsID[jgroups://localhost:3789/server;fe80:0:0:0:dd54:a6a:f4e8:cf29:54153];containerRelativeID=0]
at org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceImpl.invoke(RemoteServiceImpl.java:131)
at $Proxy6.hello(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy5.hello(Unknown Source)
at org.eclipse.ecf.examples.internal.remoteservices.hello.dm.consumer.HelloClientThread.run(HelloClientThread.java:25)
Caused by: java.lang.IllegalArgumentException: fe80:0:0:0:dd54:a6a:f4e8:cf29:54153 is not a member of the group [fe80:0:0:0:dd54:a6a:f4e8:cf29:54154, fe80:0:0:0:dd54:a6a:f4e8:cf29:62691] (enabled_members=[])
at org.jgroups.protocols.UNICAST.down(UNICAST.java:301)
at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:317)
at org.jgroups.protocols.pbcast.GMS.down(GMS.java:782)
at org.jgroups.protocols.FC.handleDownMessage(FC.java:495)
at org.jgroups.protocols.FC.down(FC.java:360)
at org.jgroups.protocols.FRAG2.down(FRAG2.java:167)
at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER.down(STREAMING_STATE_TRANSFER.java:331)
at org.jgroups.protocols.pbcast.FLUSH.down(FLUSH.java:269)
at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:339)
at org.jgroups.JChannel.down(JChannel.java:1214)
at org.jgroups.JChannel.send(JChannel.java:579)
at org.jgroups.mux.MuxChannel.send(MuxChannel.java:202)
at org.jgroups.mux.MuxChannel.send(MuxChannel.java:206)
at org.eclipse.ecf.internal.provider.jgroups.connection.AbstractJGroupsConnection.sendAsynch(AbstractJGroupsConnection.java:180)
at org.eclipse.ecf.provider.generic.ClientSOContainer.queueContainerMessage(ClientSOContainer.java:311)
at org.eclipse.ecf.provider.generic.SOContainer.sendMessage(SOContainer.java:937)
at org.eclipse.ecf.provider.generic.ClientSOContainer.sendMessage(ClientSOContainer.java:363)
at org.eclipse.ecf.provider.generic.SOContainer.sendSharedObjectMessage(SOContainer.java:1013)
at org.eclipse.ecf.provider.generic.ClientSOContainer.sendSharedObjectMessage(ClientSOContainer.java:435)
at org.eclipse.ecf.provider.generic.SOContainer.sendMessage(SOContainer.java:1009)
at org.eclipse.ecf.provider.generic.ClientSOContainer.sendMessage(ClientSOContainer.java:427)
at org.eclipse.ecf.provider.generic.SOContext.sendMessage(SOContext.java:230)
at org.eclipse.ecf.core.sharedobject.BaseSharedObject.sendSharedObjectMsgTo(BaseSharedObject.java:358)
at org.eclipse.ecf.provider.remoteservice.generic.RegistrySharedObject.sendCallRequest(RegistrySharedObject.java:843)
at org.eclipse.ecf.provider.remoteservice.generic.RegistrySharedObject.callSynch(RegistrySharedObject.java:420)
at org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceImpl.callSync(RemoteServiceImpl.java:64)
at org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceImpl.invoke(RemoteServiceImpl.java:115)
... 22 more


Thanks and Regards

Abhisek

Attachment: JGRP1.jpg
Description: JPEG image

Attachment: JGRP2.jpg
Description: JPEG image


Back to the top