Servoy 4.1.3
Windows Vista
We purchased the StelsDBF driver (dbfdriver.jar) in order to access Visual FoxPro legacy tables via Servoy. We put the ‘dbfdriver.jar’ file into the following folder:
\Servoy\application_server\drivers
In Servoy Developer, we created a new server connection as follows:
Server Name: arm_data_vfp
URL: jdbc:jstels:dbf:c:/arm5
Driver: jstels.jdbc.dbf.DBFDriver
Every time we launch Developer, the Eclipse Solution Explorer pane shows ‘arm_data_vfp’ under the Database Servers with a failed connection icon (red circle with a white ‘x’ in it). If we run the Smart Client at this point, we get the following error:
Cannot show form data
com.servoy.j2db.persistence.RepositoryException: com.servoy.j2db.persistence.RepositoryException: Server arm_data_vfp not found Server arm_data_vfp not found
To get things to work, we have to right-click on ‘arm_data_vfp’ under Database Servers and click on ‘Enable/Disable Server’ (disable). Then, we have to right-click on ‘arm_data_vfp’ and click on ‘Enable/Disable Server’ a second time (enable) to get rid of the failed connection icon, at which point the connection to the database is established. Everthing works fine until Developer is restarted, and we have to repeat the disable/enable process.
How do we make the database connection persist between invocations of the Developer? Any advice appreciated.
Thanks!