Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Remote Services: Problem with connection on the same port again

Hi Wojciech,

I think Jan Rellermeyer and/or Markus Kuppe are going to have to look at this, as I believe it's specific to the r-OSGi provider. Jan and/or Markus...could you please take a look at this?

Thanks,

Scott

Wojciech Galanciak wrote:
Hi,
I described my problem in bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=286939.
I should add that after first try we call (I added additional comments):

public void disconnect() {
// if we are connected with remote service (remoteRosgiHost) we call its disconnect method which is almost the same as this
if (remoteRosgiHost != null) {
remoteRosgiHost.disconnect();
remoteRosgiHost = null;
}
                // unregister out remote service
if (remoteBackendChangeListenerService != null) {
remoteBackendChangeListenerService.unregister();
remoteBackendChangeListenerService = null;
}
if (containerManagerServiceTracker != null) {
containerManagerServiceTracker.close();
containerManagerServiceTracker = null;
}
if (container != null) {
container.disconnect();
container = null;
}
}
After that we try to connect again and it ended successfully. Do you have any idea what is wrong?

Regards,
Wojciech Galanciak
------------------------------------------------------------------------

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev



Back to the top