I would do this:
1.- Create one database in mysql for the repository with the same name and password as the current you have in sybase.
2.- Edit the file …/application_server/servoy.properties and search the string “serverName=repository_server”. In the line “URL=…” change the actual for “jdbc:mysql://localhost/<database_name>” and the driver for: “org.gjt.mm.mysql.Driver”
3.- Save the changes and the command line type: ./servoy_server.sh -upgradeRepository
1 - I’ve installed the last java version on a remote linux server (centOS)
2 - I’ve installed servoy without console
3 - I’ve changed the servoy properties in:
I run “sh servoy_server.sh” and I obtain this error:
2011-09-20 16:50:44,187 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository:
com.servoy.j2db.persistence.RepositoryException: Error checking repository
at com.servoy.j2db.server.Zc.Za.Zb(Za.java:1132)
at com.servoy.j2db.server.Zc.Za.<init>(Za.java:1349)
at com.servoy.j2db.server.Zc.Za.<init>(Za.java:142)
at com.servoy.j2db.server.Zc.Zo.Za(Zo.java:330)
at com.servoy.j2db.server.ApplicationServer.main(ApplicationServer.java:265)
Caused by: java.sql.SQLException: JDBC Driver 'org.gjt.mm.mysql.Driver' not found in classpath or drivers directory : java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver org.gjt.mm.mysql.Driver
at com.servoy.j2db.server.Zc.Zo.Zh(Zo.java:752)
at com.servoy.j2db.server.Zc.Zo.Zg(Zo.java:560)
at com.servoy.j2db.server.Zc.Zo.checkIfTableExistsInDatabase(Zo.java:523)
at com.servoy.j2db.server.Zc.Za.Zb(Za.java:969)
... 4 more
2011-09-20 16:50:44,189 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
Because I’ve seen that a mySQL connection is between the connection template
I thought that the driver was already included and the error was in something other (classpath problem for example).