My users are intermittently receiving the following error message which freezes smart client when trying to edit field data. Server is running 3.1.7, using sybase driver com.sybase.jdbc2.jdbc.SybDriver on the repository server.
A google search implies that it’s due to the Sybase service closing the connection, and because this exception is not received as a “StaleConnectionException”, app recovery logic may miss it.
Shouldn’t this exception be handled? I’m by no means an expert in this area, so any suggestions for eliminating this error would be much appreciated.
This error indeed happens when sybase closes the connection.
You can try setting the validation type to ‘query validation’ and put in a validation query (for instance ‘select 1’)
Servoy will validate the connection with this query when a new connection from the pool is used.
Another question is why is sybase closing the connection?