"No application server found at:" Servoy 5.2 on Debian 5

I have successful installed Servoy 5.2 on a Debian 5 Server. All files are in direction, but
if starting Servoy Developer on the Debian Server I get the error message:

Did you rename any directory after the installation ? It very much sounds like a path or a permission issue.

Only in the installation wizzard I set a folder “Servoy520” in the /home/administrator directory when I was asked for the install path (it is different than the selected). I have installed Servoy 5.1.4 without any problem in the same way on an other Debian Server. I don’t have changed/renamed any file or folder in the “Servoy520” installation folder.

tgs:
Only in the installation wizzard I set a folder “Servoy520” in the /home/administrator directory when I was asked for the install path (it is different than the selected). I have installed Servoy 5.1.4 without any problem in the same way on an other Debian Server. I don’t have changed/renamed any file or folder in the “Servoy520” installation folder.

Maybe the install folder is not the current folder when starting. What if you start from command line, with correct current path, does it work then ?

I’m executing:
~/Servoy520/application_server$ ./servoy_server.sh &
The return is:
[1] 12097

But the servoy app server is not running!?

tgs:
I’m executing:
~/Servoy520/application_server$ ./servoy_server.sh &
The return is:
[1] 12097

But the servoy app server is not running!?

The original issue was about developer, right ? Look at the error(s) in the log. Probably database is not running.

This is the message in the server.log:

1 [main] 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)

The message is correct, because I have installed Servoy 5.2 without a database and the example files. The PostgreSQL 8.4 database is installed separatly and running. In this way I have installed several Servoy instances on Mac and PC, started the developer, created a new database server (repository_server) without problems.

Laurian,

do you think that it could be a problem of the java version on debian 5? Perhaps java 1.5 works better than 1.6? I read a similar topic about ubuntu and servoy.

Ok, I have now downgraded to java 1.5.0_22 and made a clean reinstallation of Servoy 5.2, but always the same error message!?

I have a Servoy 5.1.4 App server running on a similar Debian 5 Server without any problem. I don’t know what could be wrong for the Servoy 5.2 installation on the second Debian server. It’s a nightmare because a lot of people are waiting for a running solution…

where you you really start your servoy in?

because if i look at your error message thats just wrong.

it tries to find the app server dir in /home/administrator/…/application_server
which resolves to

/home/application_server

but it should be in

/home/servoy/application_server

because it should ask for a dir:

/home/administrator/servoy/developer/…/application_server

because you should start your app (your java user dir) in

/home/administrator/servoy/developer/

Servoy is installed in:

/home/administrator/Servoy520/

I’m starting Servoy developer from:

/home/administrator/Servoy520/developer

The application server is in:

/home/administrator/Servoy520/application_server

It’s the same installation directory as on the other working Debian server and what Johan replyed. I’m not understanding what should be wrong.

tgs:
Servoy is installed in:

/home/administrator/Servoy520/

I’m starting Servoy developer from:

/home/administrator/Servoy520/developer

The application server is in:

/home/administrator/Servoy520/application_server

It’s the same installation directory as on the other working Debian server and what Johan replyed. I’m not understanding what should be wrong.

Have you tried to start developer from command line as I said in previous post ? (and current folder should be in developer dir)

lvostinar:
Have you tried to start developer from command line as I said in previous post ? (and current folder should be in developer dir)

Hi Laurian,

I could start the developer from the console without the error message and also create the repository_server database in the developer as well!
Perhaps I was a little confused and don’t read right your first post. I’m sorry.

Thomas

P.S.
The servoy app server is now also running! juhuuu :-)

tgs:

lvostinar:
Have you tried to start developer from command line as I said in previous post ? (and current folder should be in developer dir)

Hi Laurian,

I could start the developer from the console without the error message and also create the repository_server database in the developer as well!
Perhaps I was a little confused and don’t read right your first post. I’m sorry.

Thomas

P.S.
The servoy app server is now also running! juhuuu :-)

Ok, and how did you start developer before (when it was not running well) ?

lvostinar:
Ok, and how did you start developer before (when it was not running well) ?

By Mouse doubleclicking the ‘servoy’ file in /home/administrator/Servoy520/developer.

Thomas,

If you start a program from kde (konqueror or dolphin), the working directory is not changed to the program’s directory, unfortunately.
I guess it is the same with gnome (nautilus).

The servoy program (essentially eclipse) expects the working directory to be set to the binary’s directory which causes the error.
If you start it from the command line, or create a little start script it should work:

#!/bin/bash
cd /path/to/servoy/developer
./servoy

Rob

Thank you Rob!

Normally I’m not working with the Servoy Developer on Debian Linux. The Debian Server is only for the servoy app server, but in some cases it could be necessary to open the developer.

For that your post helps a lot.

Thomas

rgansevles:
The servoy program (essentially eclipse) expects the working directory to be set to the binary’s directory which causes the error.
If you start it from the command line, or create a little start script it should work:

#!/bin/bash
cd /path/to/servoy/developer
./servoy

With Servoy 5.2.1 there is still the same issue, but it’s not really a problem.

Finally one more experience:
When I try to start servoy developer from the console by typing:

:~$ path/to/servoy/developer/./servoy

Servoy developer is starting, but I get the same error if I start by clicking the icon.

The servoy developer is starting correct when I first change into the developer directory and start than the program:

:~$ cd path/to/servoy/developer
:path/to/servoy/developer$ ./servoy

like Rob’s little script :D