Servoy Clients unable to connect but Servoy-Admin works fine

Questions, answers, tips and ideas on Servoy Client

Servoy Clients unable to connect but Servoy-Admin works fine

Postby grahamg » Wed Dec 29, 2004 2:28 pm

Happy holidays all - hoping there's a few clear heads that can point me in right direction.

Trying to test a solution with 3 laptops connecting to Desktop Server initially through internal WiFi Win XP network - all on XP Pro with SP2.

Desktop server started using Servoy Developer - using the sample 'crm' solution for testing to avoid any possible errors introduced by me :)

All laptops can connect using http://ipaddress:8080/servoy-admin and can make & see changes to Server setup

But none of laptops can connect as Clients using : http://ipaddress:8080/

One laptop goes through webstart OK but then shows errow message "Cannot find repository. It may not be running on server'

Two laptops show the 'Java Loading' splash for 30secs then the splash disapears and nothing happens.

Servoy Server setup as Johan's post http://forum.servoy.com/viewtopic.php?p=11695#11695 with 127.0.0.1, 2 way and ssl enabled. Have also left RMI address blank and tried using the computer network name.

Desktop computer can connect as Client using both 'localhost' and http://ipaddress.

Desktop Firewall has ports 8080 & 1099 enabled for Servoy using TCP and set for "Any computer including Internet"

Servoy Developer
Version R2 2.1.2-build 315
Java version 1.5.0-b64 (Windows XP)

Feel I must be missing something obvious but starting to get dizzy from going round in circles ....

Thanks in advance.

GrahamG
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Postby jcompagner » Wed Dec 29, 2004 5:30 pm

can you try to completel disabled the firewall for a while?
So that we can rule out the firewall completely?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby grahamg » Wed Dec 29, 2004 6:01 pm

Hi Johan - thanks for response.

Have disabled firewall on Desktop/Server computer and no change.

One laptop shows Java Loading then nothing

Another laptop loads Servoy Client but shows "Cannot find Repository"

Both laptops can connect to ../servoy-admin though.

Current Servoy Network settings are:
Hostname 127,0,0,1
Startport 1099
TwoWaySocket and useSSL both ticked

Any further suggestions welcomed.

GrahamG
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Postby jcompagner » Wed Dec 29, 2004 6:34 pm

did you try with 2way socket but without ssl?
(and more combinations like that)


But can you try this from one of youre clients:

telnet <servernameOrIP> <rmistartport>

does it connect?
Or is it refused?
It should connect. (but you don't get any output but..)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby grahamg » Wed Dec 29, 2004 7:10 pm

Telnet worked - I think :)

telnet ipaddress 8080 changed to blank screen with computer name in title bar

Yes I have tried various combinations but no change.

For info: uninstalled Java completely from one computer that was stalling on 'Java loading' splash and tried again - this time got through to client page OK but same 'Cannot find repository..." message.

Have also tried with OSX 10.2.8 Powerbook using http://ipnumber:8080/ - loaded Servoy Client then stopped with blank screen. But the File/Open Solution command was available (always greyed out on XP computers) - however the Select Solution box was empty and after delay of 3-4mins showed error message 'Client register / Could not register client'.

Hope there is a useful clue in the above.

Thanks again

GrahamG
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Postby automazione » Wed Dec 29, 2004 7:25 pm

Hi, GrahamG

Just in case, try with a wired connection.

My compaq nx7000 laptop is NOT able to run a Servoy application through it's internal WIFI adapter :cry: ..... Servoy client works fine with normal utp wire connection, with modem connection, with gprs connection and with an external PCMCIA wifi CARD, but no way to run a Servoy application using the internal WiFi card. All other applications work fine, including servoy-admin. It definitively is a driver problem, but still do not find the one that works... probably I'll change my laptop before solving the problem...
Enrico Arata
Servoy Italia
automazione
 
Posts: 366
Joined: Thu Apr 24, 2003 11:37 am
Location: Torino, Italy

Postby grahamg » Wed Dec 29, 2004 7:41 pm

Hi Enrico

Thanks for the suggestion. Unfortunately haven't got a wired network here as the whole setup is WiFi

However have used a variety of kit: IBM Thinkpad, Sony Vaio and Powerbook OSX all have internal Wifi and Compaq has PCMCIA wifi card - so would not expect problem with drivers on all these computers.... If there is then I've been guilty of over-selling Servoy's connectivity to my clients.

I'm now assuming the problem is with Desktop/Server setup so about to wipe installation out and start everything again.


Regards

Graham
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Postby jcompagner » Wed Dec 29, 2004 11:54 pm

Not telnet to 8080!
Because that works (you can go to the admin pages)
telnet to 1099 (the rmi port you specify)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby grahamg » Thu Dec 30, 2004 1:56 am

Johan - I should have said that tried 1099 & 8088 with same result :)

Good news is that finally have everything working - with four laptops all connected to the CRM solution.

For anyone else having similar trouble here's what I did.

- unistall Servoy and delete directories
- unistall Java - discovered I had two versions 1.4.2_06 and 1.4.2_01 - and deleted all Java directories

- downloaded Java SDK v1.4.2_04-b05 windows (using link from Servoy downloads)

- downloaded current Servoy R2 2.1.2 b315
- installed Servoy with Windows Service option

- Started Servoy Developer and left Services settings as default: HTTPport 8080, Hostname 127.0.0.1, RMI start port 1099, Two-way Socket and SSL support both ticked, Start data and http service... also ticked. Clicked the [Test] button so that HTTPservice was running.

- Opened up the CRM solution and changed some data

- First test connection from a laptop failed as previously - but I was using http://computer_name:8080
- Checked the actual IP address using Clients page of Servoy-Admin
- Tried again using the actual IP http://999.999.2.6:8080

Using the actual IP Servoy Client works perfectly on variety of XP and OSX laptops.

Not sure what changes made the difference but certainly relieved everything works as advertised - now what was I trying to do 14hrs ago :)


Thanks for your support.

GrahamG
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 4 guests