Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] connection problem betwenn ecf 3.14.18 and 3.14.26
  • From: Peter Hermsdorf <peter.hermsdorf@xxxxxxxxx>
  • Date: Tue, 21 Dec 2021 14:08:52 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=godyo.com; dmarc=pass action=none header.from=godyo.com; dkim=pass header.d=godyo.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pkXsqKMxcppxd/K6Wmk2jiKbXNn4/fDTU81GsNSKY/A=; b=KaZkZsknoIrCRu03CPhBJgSN2sBeDI2wf10eRVngOffef8K/s/qgqUaWRKca6Egjdyk81rPrGKMZqzkJD8b+oh5RcHcKBy8pRzRv9KnWUGzBywVpoM6cqVVRoGx3SWPsIHUdlfTx8z3mNNlcyIWrPNNo7VsXa+w4MpSAy/OUWU/vj1+eflu/HWA6u/PheRRPGQpfO5QX73C+6Okfy64UXO069ObDxyDkr7uBWXzJ0Bf+HZikCH+O9Pcmh3HqdiAZRhlf2fk86WCBRAGeaor3oaJBeTTAMrNTWPIfxgLi5i5i2AO+r3AoaFjwRb4a7ecoSzJevPvO8i/e9M7FEQ3mFw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=glOWKtNQ3yhpY7nPUQDhg+xLttZykO4jCaLTnMMF1aF6jn9xGug7GKrt1ziAubPlvF2vQQSJ+vx9P4JfHxY27IhvcRMwLU8pL4BA/gXQ6UdTxfIPVhrWQreF8kJVrop/nFQ8xrtixv6HQ1Vno+ZPdlRRSydvqjw03gyMk5I6sYbo/yrA6HzaI/hlrAJ4LHCu6atuTTYtySGZohROWF1d+a0geMFmH6ADXDwCv14mDB2k5/hildBc9498Ycd+YUsRXUA9Z6RQBgUQX0ofDgA3IzbKDtPOnCA8E+QN5medPotAtCZdyVTtrZlzNEijf9k2LJLFl2XK4hEIA+vjbRXgHA==
  • Delivered-to: ecf-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/ecf-dev/>
  • List-help: <mailto:ecf-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/ecf-dev>, <mailto:ecf-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/ecf-dev>, <mailto:ecf-dev-request@eclipse.org?subject=unsubscribe>
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hi,

we needed to upgrade one part of our system to a newer eclipse release (2021-12). The other part is still using eclipse 2020-12 as target.

We use the generic server setup and now see the following exception when the "newer" client want's to import/connect services from the "older" server:

ERROR [framework] org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.provider.remoteservice;code=212;message=Exception sending registry update request/2 message;severity4;exception=java.net.ConnectException: Container not connected;children=[]]
java.net.ConnectException: Container not connected
    at org.eclipse.ecf.provider.generic.ClientSOContainer.checkConnected(ClientSOContainer.java:513)     at org.eclipse.ecf.provider.generic.ClientSOContainer.sendMessage(ClientSOContainer.java:428)     at org.eclipse.ecf.provider.generic.SOContext.sendMessage(SOContext.java:232)     at org.eclipse.ecf.core.sharedobject.BaseSharedObject.sendSharedObjectMsgTo(BaseSharedObject.java:362)     at org.eclipse.ecf.provider.remoteservice.generic.RegistrySharedObject.sendRegistryUpdateRequest(RegistrySharedObject.java:1146)     at org.eclipse.ecf.provider.remoteservice.generic.RegistrySharedObject.sendRegistryUpdateRequestAndWait(RegistrySharedObject.java:535)     at org.eclipse.ecf.provider.remoteservice.generic.RegistrySharedObject.addReferencesFromRemoteRegistrys(RegistrySharedObject.java:572)     at org.eclipse.ecf.provider.remoteservice.generic.RegistrySharedObject.getRemoteServiceReferences(RegistrySharedObject.java:160)     at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin$16.run(RemoteServiceAdmin.java:2263)     at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin$16.run(RemoteServiceAdmin.java:1)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:2254)     at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:443)     at com.godyo.p5.util.remoting.internal.RemoteServiceRegistration.importService(RemoteServiceRegistration.java:111)     at com.godyo.p5.util.remoting.internal.RemoteServiceRegistration.lambda$6(RemoteServiceRegistration.java:106)     at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

java versions are the same. the endpoint definitions seem to match and are unchanged.

When debugging i see that at first the connection seems to be successful (org.eclipse.ecf.provider.generic.ClientSOContainer.setStateConnected) is called, but short after that i see that org.eclipse.ecf.provider.generic.ClientSOContainer.setStateDisconnected is called.

The reason is not obvious. On server side no exceptions happen. That would also be a problem for a smooth migration/update process.

Any idea what the problem could be?

Thanks and best wishes,

Peter



Back to the top