Valuelist are empty after some idle time NG client

Forum to discuss the new web client version of Servoy.

Valuelist are empty after some idle time NG client

Postby sjoerd1337768711 » Thu Jun 29, 2017 10:25 am

I use many valuelists which are setup with: application.SetValueListItems.
In NG Client I have experienced that after some Idle time of the client (without logout) the valuelist is empty. In the field the real-value is shown and the valuelist in the combobox is empty. Hard-coded valuelist with custom values don't have any problems after Idle time of the client.

Has it anything to do with: sablo.window.timeout.secs ? I have the value on 1800 seconds.
Version Servoy: 8.1.4.
Sjoerd Hannema
Muta Services B.V.
sjoerd1337768711
 
Posts: 18
Joined: Wed May 23, 2012 12:25 pm
Location: Leeuwarden, NL

Re: Valuelist are empty after some idle time NG client

Postby andre1506345542 » Fri Feb 23, 2018 9:58 am

Do you have fixed this problem.
We have the same issue for a year. And servoy does not seems to get it resolved.
We have made a work a round dat at particular moment in the application we check if the list is empty and if so we fill it again. But that should not be the way to go.
Andre
andre1506345542
 
Posts: 42
Joined: Mon Sep 25, 2017 3:19 pm

Re: Valuelist are empty after some idle time NG client

Postby swingman » Thu Oct 04, 2018 7:24 pm

Hi, we have the same problem. I load about 35 different custom value lists at startup with a global method, like this.

Code: Select all
   application.setValueListItems('myvaluelistname', dataset.getColumnAsArray(1), dataset.getColumnAsArray(2));


Most lists have less than 20 items. This works fine on Smart Client. As we are testing in preparation to go live with a NG-client system,
users are reporting that valuelists are missing after using the system for some time. (Apart from this issue the system appears to be running smoothly)

Any ideas what to look for?
or do I need to check if the valuelists are still populated before showing forms?

Servoy 8.2.3
Apache Tomcat/9.0.12
Java 1.8.0_181-b13
Windows Server 2016

Edge and Safari web browsers.

Thanks,
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Valuelist are empty after some idle time NG client

Postby andre1506345542 » Fri Oct 05, 2018 8:25 am

Hi Christian,
Our problem is still not solved.

Most of our valuelist are filled at startup. After awhile, when you are not working with the program, they are empty.

What we do as a work around is at specific times in the program, such as choosing an option from the main menu, we check all the valuelists and when it is empty, we fill it again.
It is overhead. As most of our users are working with the program constantlym this workaround is working for us. And we auto-logout all users who are idle for 1 hour.


Brdgs
Andre
andre1506345542
 
Posts: 42
Joined: Mon Sep 25, 2017 3:19 pm

Re: Valuelist are empty after some idle time NG client

Postby swingman » Fri Oct 05, 2018 4:20 pm

Thank you for your reply.

I tried making a test solution with a custom valuelist,
but the list is still there after leaving it open overnight :-(
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Valuelist are empty after some idle time NG client

Postby andre1506345542 » Fri Oct 05, 2018 4:34 pm

Hi
We tried that also.
I believe it has something to do with the available memory of your server. We have a sevrer with less memory and on this server the lists are emptied much quicker.
I think Servoy deletes valuelists during the garbage collections like it does with forms.
Brdgs
Andre
andre1506345542
 
Posts: 42
Joined: Mon Sep 25, 2017 3:19 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 7 guests

cron