Hi guys,
I’ve been trying to get Servoy installed on an Ubuntu machine with a MySQL repository.
I managed to install Servoy from the command line which seems to have worked fine.
I have copied the driver for the mysql package i installed to the driver folder.
Then I configured the properties file in the following way:
Definition 1
server.0.serverName=repository_server
server.0.URL=jdbc:mysql://10.179.5.9/servoy_repository
server.0.driver=com-mysql.jdbc.Driver
server.0.maxConnectionsActive=10
server.0.maxConnectionsIdle=10
server.0.userName=servoy_user
server.0.password=servoy_password
server.0.schema=
server.0.catalog=
and further on:
#start database engine
nativeStartupLauncher=/opt/Servoy/application_server/sybase_db/dbspawn|/opt/Servoy/application_server/sybase_db/dbsrv10|@/opt/Servoy/application_serversybase_db/sybase.config#LD_LIBRARY_PATH=/opt/Servoy/application_server/sybase_db
waitForNativeStartup=true
#this property will change once started first time
servoy.didFirstTimeInit=false
#for use by pdf_forms plugin
pdf_forms_plugin_servername=pdf_forms
#network config
SocketFactory.useTwoWaySocket=true
SocketFactory.useSSL=true
java.rmi.server.hostname=127.0.0.1
selectedlnf=
I have a mysql database which I can connect to:
root@bbfservoy02:/opt/Servoy/application_server# mysql -u servoy_user -p -h 10.179.5.9
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 254
Server version: 5.0.51a-3ubuntu5.4-log (Ubuntu)
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
mysql> use servoy_repository;
Database changed
In then try to start the servoy server:
root@bbfservoy02:/opt/Servoy/application_server# ./servoy_server.sh
root@bbfservoy02:/opt/Servoy/application_server# cat servoy_log.txt
2010-01-17 16:15:14,520 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-17 16:15:14,521 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-17 18:24:11,947 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-17 18:24:11,949 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-18 11:09:18,113 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-18 11:09:18,115 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-19 14:53:01,383 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-19 14:53:01,384 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-19 15:07:34,354 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-19 15:07:34,356 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-19 15:11:09,564 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-19 15:11:09,566 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-19 15:18:26,539 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-19 15:18:26,540 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-19 15:28:23,793 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-19 15:28:23,794 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-19 16:24:37,114 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-19 16:24:37,115 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-19 16:26:06,971 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-19 16:26:06,972 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-20 19:11:42,681 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-20 19:11:42,682 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-01-20 19:27:37,325 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-01-20 19:27:37,326 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
root@bbfservoy02:/opt/Servoy/application_server#
Which seems to indicate it can’t manage to connect to the empty database i created on the mysql server.
I’m not sure what I’m doing wrong.
Thanks in advance for any advice you may offer.
Kind regards,
John