[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ecf-dev] ECF3.2 using Spring
|
Hi Abhisek,
abhisek saikia wrote:
Hi all
I am using ecf3.2 and r-osgi as provider.I am able to inject the
remote service through spring and able to estublish the remote call
from client to server.But when i stop the server bundle and start it
again,a new proxy is geting created with new fragment,but the service
calls started failing.Any idea how to solve this?
A couple of questions to help understand what's going on here.
When you say 'stop the server bundle', what/which bundle(s) are you
referring to? How do you stop this/these bundles? (e.g. console, via
Spring, etc)?
I'm not familiar with the details of Spring's handling of unregistering
services (remote or otherwise)...is there some way to have Spring call
the remote service's ServiceRegistration.unregister() during server
shutdown? Is it doing this?
On the proxy side...do both the old proxy and new proxy fail? Do they
fail with the same/any exception? If it is generating an exception
could you report that exception here? Thanksinadvance.
BTW, since 3.2 we've changed the proxy policy for automatic container
creation (i.e. bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=303979)
and this may make integration with Spring even easier...because no
ECF-specific code is needed (even in the default case) to get container
creation on the consumer/proxy. This will be in ECF 3.3/Helios.
Thanks,
Scott