Page 1 of 1

Mac message after some idle time

PostPosted: Tue Sep 06, 2016 10:35 am
by murmi
Hi
On several client macs the user gets the following message after some time of inactivity:

"Old Transaction, old locks or in-Memory data sources found, Need to restart the solution"

I wasn't able to reproduce such a behaviour on our mac. Does somebody knows if this is some sort of a system setting problem. Or what can lead to this message?

Thanks for any information.

Re: Mac message after some idle time

PostPosted: Tue Sep 06, 2016 5:14 pm
by Bernd.N
I looked up the message in the i18n table, and it is there with key servoy.client.serverdisconnect.restarting.solution

Isn't Servoy in part open source? It may be you could search that key in the source code to find the root cause, which might be some if()-statement.

Re: Mac message after some idle time

PostPosted: Wed Sep 07, 2016 6:41 am
by hovw
Look at the system preferences, energy if de computer get in the sleep modus, choose always on.

Re: Mac message after some idle time

PostPosted: Wed Sep 07, 2016 10:23 am
by murmi
@Bernd
Thanks for the key. Interestingly enough, I found it only in the resources and with French text. No english, must come out of the blue... and more interesting, it is never used in code! Even the plain message is not there... Funny things happen.
@hovw
Thanks for the hint. Allready checked this preferences once and found no difference. As usual the preference screen looks different on every version :-)

Fritz

Re: Mac message after some idle time

PostPosted: Wed Sep 07, 2016 12:15 pm
by patrick
Whenever a client goes into standby for example, locks, transactions or in memory datasources will very likely no longer be valid and this message pops up. I suppose those Macs have some energy saving setting that will put them into sleep after a given time of inactivity and the solution uses either a lock, a transaction or an in-memory datasource. If no lock, transaction or in-memory datasource is used, a client should "recover" its state and the user can continue to work with the solution.