Deleting .servoy directory fixes some connectivity issues

Is there any way to force the Smart Client to rebuild its _.solution files and the servoy_client.properties file that are contained in the ‘.servoy’ folder or force the deletion of this entire folder?

Recently, most of my remote clients have been able to connect to my solution using the Smart Client, but only after waiting about 4 minutes while the Servoy logo spins. I have found that the problem gets solved by deleting the hidden ‘.servoy’ folder found in the ‘/Documents and Settings/’ folder in Windows and in ‘/Users/’ folder on the Mac. Unfortunately, I do not have access to the client’s computers, nor are most of them computer-literate enough to remove this folder on their own.

One error that I can trace to the servoy_client.properties file was that an lnf.theme was defined in the properties, but the server was not using a theme. This caused an error to appear in the java console on the client machine. Manually fixing this in the properties file though did not fix the inability to connect. The java console shows about 14 connection timeout errors before finally connecting.

Servoy Developer
Version 3.0.2-build 373
Java version 1.5.0_06-64 (Mac OS X)

SteveInLA

Steve,

There are 2 issues that are related to your problems.

  1. There is a problem in the servoy look-and-feel loader causing the KunstStoff look and feel to be skipped.

  2. the smart client behind a firewall won’t work when the TwoWaySocket feature is not turned on

In older versions the KunstStoff was default and TwoWaySocket was turned off by default.
Currently, the default look and feel is the OS-default and TwoWaySocket is turned on, that is why deleting the .servoy directory fixes the problems.

Problem 1) is fixed in Servoy 3.1 final which will be released soon.
Ad problem 2), TwoWaySocket must be turned on behind a firewall.

Alternatively these problems can be fixed on the client by setting
Edit > Preferences > Look And Feel > Look and feel: Default
and
Edit > Preferences > Services > Start with TwoWaySocket : check on

Hope that helps,

Rob

Thanks Rob. Something that is odd is that there has never been a time when I have turned off TwoWaySockets on my server or any of the clients. These connectivity problems seemd to happen without there being any changes to the server.

Also, is there any way that the fix for the look-and-feel loader can be put into rc2? I would really like to know that it has been truly fixed before the final version is released.

Steve In LA

I have had to delete the .servoy folder on client machines for the same reason – a four minute servoy spinning logo… Both Windows and Mac, I’m on 2.2.7.

Also, is there any way that the fix for the look-and-feel loader can be put into rc2? I would really like to know that it has been truly fixed before the final version is released. 

The fix will be included in next released version which will probably called 3.1 final (there is probably not going tp be rc2).