Skip to main content

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

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

Back to the top