Mac message after some idle time

Questions, answers, tips and ideas on Servoy Client

Mac message after some idle time

Postby murmi » Tue Sep 06, 2016 10:35 am

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.
Fritz Maurhofer
Maurhofer Informatik AG
CH-8340 Hinwil
murmi
 
Posts: 41
Joined: Thu Jul 22, 2010 5:10 pm

Re: Mac message after some idle time

Postby Bernd.N » Tue Sep 06, 2016 5:14 pm

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.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Mac message after some idle time

Postby hovw » Wed Sep 07, 2016 6:41 am

Look at the system preferences, energy if de computer get in the sleep modus, choose always on.
OSX 10.9.5 - 10.15.1
hovw
 
Posts: 33
Joined: Wed Nov 04, 2009 10:41 pm

Re: Mac message after some idle time

Postby murmi » Wed Sep 07, 2016 10:23 am

@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
Fritz Maurhofer
Maurhofer Informatik AG
CH-8340 Hinwil
murmi
 
Posts: 41
Joined: Thu Jul 22, 2010 5:10 pm

Re: Mac message after some idle time

Postby patrick » Wed Sep 07, 2016 12:15 pm

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.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 11 guests