Hi Pierre,
Two things:
1) are you including org.eclipse.ecf.provider.remoteservices bundle
in both the consumer and host? (the RegistrySharedObject is reused
for the javagroups provider impl of remote services).
2) Could you commit the product files you are using (to the
hello.host and hello.consumer bundles...in products
subdirectory...with the appropriate name)? That way others can try
things and help debug.
You might also debug into the call to
consumerContainerAdapter.getRemoteServiceReferences(...) made in the
RemoteServiceAdmin importService call...to determine what the
javagroups container is doing when the remote service reference
retrieve call is made...and why it doesn't seem to retrieve any
remote references for the hello service.
Scott
On 3/15/2011 8:42 AM, Pierre Henry Perret wrote:
I have reworked the
o.e.e.examples.remoteservices.hello.{host,consumer}.rs bundles adn
added the hability to use a jgroups container (both server/client
side). The remote server (jgroups manager) register the IHello
service but the Assert.isNotNull(helloReferences) on client side
fails. The jgroups container client connection to the manager is
ok.
Some thoughts welcomed.
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev
|