Can't find repository, it may not be running on server

Get this message when trying to launch a client from a remote server.

  • User in-house can connect.
  • I can connect to the server using Developer and edit the solution…
  • I can connect with third-party SQL tools like Aqua Data Studio, so I know the repository database is running.

Remote Server:
Mac OS X 10.3.9
Java 1.4.2
Servoy 2.2.1b2
Repository and data in PostgreSQL 8.

My mac:
Mac OS X 10.4.2
Java 1.4.2

I can connect in a similar way to a identical remote server running on Windows XP…

Any ideas?

Hi Christian,

I assume that a firewall is in place at the client so have they opened up Port 1099 which Servoy needs to run RMI ?

Cheers
Harry

Hi Harry,

Ahh Firewalls…
Does that mean Servoy downloads on 8080, then switches to 1099 when it tries to find the repository?

Christian

Christian

If the Client has connected to other Servoy Servers in the past it would be a good idea to get rid of old servoy-client.properties files that are no longer needed. Have a client on OSX and seems to cure problem for him

Graham Greensall
Worxinfo Ltd

Hi Christian,

As I understand it, Servoy runs Webstart and client download and update and initiating client over http using port 8080.

Once the client is downloaded and starts up it then uses RMI through port 1099 to connect to the server.

RMI is the communications method between client and server which will not run unless port 1099 is open on the firewall - and, yes, this means that it will not find the repository if it isn’t open as the request sent will not reach the server !

Also this does assume that it is using the default port of 1099 as you can change it if required

Hope this helps

Cheers
Harry

Harry Catharell:
Once the client is downloaded and starts up it then uses RMI through port 1099 to connect to the server.

RMI is the communications method between client and server which will not run unless port 1099 is open on the firewall - and, yes, this means that it will not find the repository if it isn’t open as the request sent will not reach the server !

What is confusing is that I can connect with Developer the same repository… so if 1099 is blocked, does that mean Developer is using a different port?

grahamg:
If the Client has connected to other Servoy Servers in the past it would be a good idea to get rid of old servoy-client.properties files that are no longer needed.

Hi Graham,

I tried this, but no luck!

Christian

Hi Christian,

I assume that developer is working with the backend database(s) via JDBC using the standard ports per DBMS - and this includes interaction with the repository.

So Sybase is port 2638, MySQl is port 3306 etc etc

But, hey, I could be wrong :oops:

Cheers
Harry

Harry Catharell:
So Sybase is port 2638, MySQl is port 3306 etc etc

But, hey, I could be wrong :oops:

That sounds right, Harry, so 5432 (PostgreSQL) is open == developer works fine, but there are problems for Servoy Client on 1099…