Where are my database servers? All of the Resources/Database Servers are missing!
This is the capture image:
[attachment=2]no-database-server.GIF[/attachment]
The error message states that the solutions’ references servers are not accessible
For example:
Description: Solution ‘robotlaw’ references server ‘mysql_robotlaw’ which is not accessible (first occurence error). Resource: robotic_articles.tbl Path: /robotlaw/datasources/mysql_robotlaw Location: robotlaw/datasources/mysql_robotlaw/robotic_articles.tbl Type: Missing Server
This is the capture image:
[attachment=1]error-robotlaw.GIF[/attachment]
I attached the java.lang exception log that’s captioned: java.lang.RuntimeException: Could not initialize table editor server is not enabled or valid
See the attachment:
[attachment=0]error-servoy-eclipse-message.txt[/attachment]
What did I did wrong? What could have gone wrong? Please help!
How can I fix this? Should I just reinstall Servoy? I’d rather not because I did not backup all of the solutions… But still, what I did not backup IS NOT essential. If it’s too hard to fix this, I’d rather to reinstall.
BTW, how could have this happened? I never touch the servoy.properties file directly. How can all database servers be removed?
I had a similar problem last year. I would replace the .ini file and the properties file to correct the problem until that did not work any longer. I tried to re-add the database servers back and received an error when attempting to save the database server:
JDBC Driver ‘oracle.jdbc.driver.OracleDriver’ not found in classpath or drivers directory: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
I copied the drivers from another developers Servoy, and it fixed the problem. My problem file seemed to be the oraclelobfix.jar.
I just tried similar solution but I copied the properties file from our dedicated server machine. It did not work. I get the following error from one of the database servers:
Description Resource Path Location Type
Column 'mysql_robotlaw->robotic_products_and_offerings->autonomy_significance_na_bln' appears in the DB table, but it is missing from the DB information file. robotic_products_and_offerings.dbi /srms_resources/datasources/mysql_robotlaw JSON file Column difference
I’ll try the following:
I’ll install the same version of Servoy Developer in another machine
Create all of the database servers I am using
Copy the proprieties file from this new installation into the directory of the Servoy Developer with the problem
I’ll keep the Forum posted of any progress -or failure
I have decided to wipe out my Developer installation (Servoy 5.1.2) and install the new Servoy 5.2.1.
I’ll have to install Servoy Developer again anyway. Unfortunately I will lose 30 minutes of work and some non-essential solutions.
Before removing current installation, I’ll take the necessary precautions (save the workspace directories, backups, old installation directories, etc.)
I have learned a lesson: always make a hard copy backup of your current Servoy’s installation properties file, plug-ins directories, etc.
why would you loose your work
that is in the workspace… Those are not gone
You just miss your database connection configurations, you could just create those again (new server etc)
(or get a property file from an other install)
Your workspace is usually outside your Servoy directory so installing Servoy from scratch doesn’t touch it. You simply point Developer to it again and you are ready to go.
If you have your workspace(s) inside the Servoy directory I suggest you move them out (and leave them out).
ROCLASI:
Your workspace is usually outside your Servoy directory so installing Servoy from scratch doesn’t touch it. You simply point Developer to it again and you are ready to go.
If you have your workspace(s) inside the Servoy directory I suggest you move them out (and leave them out).
Is this valid even after installing a different (newer) version? Is it safe and a recommended practice?
I always play safe. Every time I install a new version, I first backup all solutions, server configuration, plug-ins, etc. After installation then I get the 3rd parties plug-ins back, create the db server and import the solutions. This is why I don’t know if using the existing workspace works just fine. I play safe because at work I am an “one-man-band.”
Yes it’s safe to use your existing workspace with a newer version. Servoy of course might convert some files to a newer format when there were structural changes (like it did when all form objects were moved into the form file). Of course at that point you can’t open it up anymore with an older version of Servoy.
Backing up your workspace is always good practice however. Be it using TimeMachine (on Mac) or any other backup software or by using your teamserver as your backup.
Yes it’s safe to use your existing workspace with a newer version. Servoy of course might convert some files to a newer format when there were structural changes (like it did when all form objects were moved into the form file). Of course at that point you can’t open it up anymore with an older version of Servoy.
Backing up your workspace is always good practice however. Be it using TimeMachine (on Mac) or any other backup software or by using your teamserver as your backup.
Excellent. Robert thank you very much… Yeah, I learned my lesson. Backup, Backup, Backup!