Using MySql in Servoy 5.0.1

Hi All,

I am facing problem when starting the Servoy Application Server from Windows Services. I am using MySql in Servoy 5.0.1 with JRE 6.0 in Windows 2007 Server.

The error log is :

STATUS | wrapper | 2009/12/15 10:19:57 | Launching a JVM…
INFO | jvm 5 | 2009/12/15 10:19:57 | WrapperManager: Initializing…
INFO | jvm 5 | 2009/12/15 10:19:58 | 0 [WrapperSimpleAppMain] ERROR com.servoy.j2db.util.Debug - Configuration file is missing (you might have choosen to not install a database from installer), place a valid config file in the application_server directory (from your developer environment, for example)
STATUS | wrapper | 2009/12/15 10:20:00 | on_exit trigger matched. Restarting the JVM. (Exit code: 1)
FATAL | wrapper | 2009/12/15 10:20:00 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2009/12/15 10:20:00 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2009/12/15 10:20:00 | ← Wrapper Stopped

It is saying that, missing the configuration file. Do I need to place any configuration file in the <Servoy_Root>\application_server\server\conf directory???
What should be the configuration file look like??

Thanks,

Hi,

Servoy Server needs the repository_server database connection to see all the imported solutions and other metadata. Did you configure one in the <Servoy_Root>\application_server\servoy.properties file ?

ERROR com.servoy.j2db.util.Debug - Configuration file is missing

Means Servoy cannot find the file servoy.properties in the current directory (usually the application_server directory).
So either this file is not there or the server is started from another directory.

Rob

servoy.properties should come with the default installation???

Bcoz, I have done a fresh installation downloading the Servoy Installer.

If you uncheck the Database option in the installer (to not install sybase), the servoy.properties file is also not installed.

You can copy one over from another installation and create the correct database connections in it.

Paul

Okay.

Copying from an another installation and editing according to the need and testing to start the App Server…

I have edited the servoy.properties file and placed in the application_server directory. Now, I can able to start the application server but not able to browse through the admin page by navigating to the http://localhost:8080/servoy-admin in the server.

Hi,

In my experience this means the Servoy Server can’t connect to the repository database. Do you see anything in the servoy_log.txt file in the application_server directory ?

I don’t see anything in the servoy log.

Hmm…I remember now. Nothing in the logs, not being able to launch clients, no servoy-admin page, nothing. All due to no database connection.
At least that’s what happend to me.
I suggest you check if you can connect to the MySQL server from that machine with the username you are using. Also re-check your settings in the servoy.properties.

Hope this helps.