Bug 527276 - [remoteserviceadmin][generic] Service consumer disconnect after 60 minutes
Summary: [remoteserviceadmin][generic] Service consumer disconnect after 60 minutes
Status: NEW
Alias: None
Product: ECF
Classification: RT
Component: ecf.providers (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: ecf.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-15 00:51 EST by Scott Lewis CLA
Modified: 2017-11-15 09:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Lewis CLA 2017-11-15 00:51:19 EST
Posted to forum

I have two applications which communicate with OSGi remote services on the same system.

But always after exactly one hour, the service consumer loses the remote services, although the host application still detects the consumer one in the remote registry.
If I restart the consumer application, it doesn't find the remote services anymore and the host application doesn't detect any connection. I need to restart the host application to go back to normal.

Does anyone have a solution to not lose the connection after this timeout?
Comment 1 Scott Lewis CLA 2017-11-15 00:52:55 EST
This is strange.   There is no timeout in the ECF generic server/client that would force such a disconnection after one hour.   Why it's disconnecting for you after one hour is a bit of a mystery right now.    First some questions that will help narrow things down:  1) What version of ECF are you using?  2) By same system to you mean the same host/localhost?  3) Are you able to reproduce this on some other system?  4)  What OS is on this system?  5) What is your code doing during that hour?  i.e. are some/all of the remote services being called/used?   Or are they all idle?  

Would it be possible for me to run your app(s) locally to see if I can reproduce?