Platform:
Servoy 7.3.1 RC (because Servoy 7.3 wasn't available for download from the website last night)
Linux - RHEL Server 6.5, x86_64
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
During installation I selected:
Then I modified the servoy.properties to add the database URL and the driver. The servoy.properties is shown below:
server.0.URL=jdbc\:mysql\://localhost/srms_repository
server.0.driver=com.mysql.jdbc.Driver
server.0.userName=srms
server.0.password=password
Then, as I’ve done before, I started the Server with the ‘upgradeRepository’ option:
./servoy_server.sh –upgradeRepository
Servoy installed without problem. I did all by the book. I thought it was going to be all Ok, but I run into trouble.
These are some of the servoy.properties definition I tried:
[1]
- Code: Select all
# Servoy properties file
# NOTE: At least one connection must be called 'repository_server' !!
# Number of servers defined in this file
ServerManager.numberOfServers=1
# Definition 1
server.0.serverName=repository_server
server.0.URL=jdbc\:mysql\://localhost/srms_repository
server.0.driver=com.mysql.jdbc.Driver
server.0.userName=srms
server.0.password=password
server.0.schema=<none>
server.0.catalog=<none>
#start database engine
waitForNativeStartup=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=
servoy.rmiStartPort=1099
servoy.application_server.startRepositoryAsTeamProvider=false
[2]
- Code: Select all
# Servoy properties file
# NOTE: At least one connection must be called 'repository_server' !!
# Number of servers defined in this file
ServerManager.numberOfServers=1
# Definition 1
server.0.URL=jdbc\:mysql\://localhost/srms_repository
server.0.catalog=<none>
server.0.connectionValidationType=0
server.0.driver=com.mysql.jdbc.Driver
server.0.enabled=true
server.0.maxConnectionsActive=30
server.0.maxConnectionsIdle=10
server.0.maxPreparedStatementsIdle=100
server.0.password=password
server.0.schema=<none>
server.0.serverName=repository_server
server.0.skipSysTables=false
server.0.userName=srms
#start database engine
waitForNativeStartup=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=
servoy.rmiStartPort=1099
servoy.application_server.startRepositoryAsTeamProvider=false
In both instances I got this from the Servoy logs:
[1]
2013-12-13 17:54:53,730 ERROR [main] com.servoy.j2db.util.Debug - Cannot upgrade repository: make a backup of your repository and start server with -upgradeRepository flag. [ ]
2013-12-13 18:05:32,739 ERROR [main] com.servoy.j2db.util.Debug - Cannot upgrade repository: make a backup of your repository and start server with -upgradeRepository flag. [ ]
And this...
[2]
2013-12-13 17:54:53,730 ERROR [main] com.servoy.j2db.util.Debug - Cannot upgrade repository: make a backup of your repository and start server with -upgradeRepository flag. [ ]
I tried other permutations of the servoy.properties file, but the other thrown error messages that I was able to recognize, and so fixed them – I thought.
I really can't see anything wrong in these two servoy.properties definitions (shown above). What can be going wrong?
Please I need your help. This is my biggest and most important deployment of Servoy.
Thank you!