"Could not register client" and server woes

Hello all,

I am having a rather major issue with the webstart servoy client and servoy server – clients cannot load solutions.

I have done the following:

downloaded Servoy 2.1.2 installer, installed locally
configured this install with the repository as a Sybase database using the iAnywhere server provided with Servoy
configured PostgreSQL on the remote server (angua) which holds the database for the solution, specifically created a new user, then locally dumped the db and restored it to angua
tested the solution locally to make sure it works
copied the entire servoy directory to the remote server

From within the Servoy directory, I try to run the servoy_server.sh shell script, however it fails with connection refused. I then “export LD_LIBRARY_PATH=sybase_db” and start Sybase with “sybase_db/dbsrv9 @sybase_db/sybase.config”; then I can successfully run servoy_server.sh, which starts as it should do.

I can connect fine to http://server:8080/servoy-admin/, and I get the Servoy client splash screen that links to a .jnlp file at http://server:8080. But once the jar files have downloaded, Servoy client opens, and freezes at “Opening Solution”; the ‘progress bouncer’ at the bottom right of the window freezes, if I cover the Servoy client window it isn’t redrawn after uncovering, and it eventually closes after popping up a dialog saying “Could not register client”.

I have tried the following to fix it:

on the server, changing the two-way-sockets and SSL settings on the network-settings page of servoy-admin, as well as changing the RMI server hostname to the main internet-facing IP of the server, 127.0.0.1, and leaving it blank
telnetting to port 1099 on the server; the connection is established, then closed after about five seconds
emptying the java webstart cache
pulling out large clumps of hair

Nothing seems to be working for me.

However, I also cannot run the demo.servoy.com:8080 solution; the exact same thing happens, it freezes at the Opening Solution stage.

I am behind a NAT which allows me to make any outgoing connections. However, someone who is directly connected to the net can connect and open the solution successfully. Unfortunately, this is not the person that the solution is written for. Also, the remote server is not running another instance of tomcat.

Any suggestions?

Thanks,
lee

What about a network driver problem???
Does other clients connects with no problem with your server??

On this argument:
http://www.servoymagazine.com/home/2005 … and_1.html
http://forum.servoy.com/viewtopic.php?t=2786
http://forum.servoy.com/viewtopic.php?t=3109

Hope this helps…

lee:
I can connect fine to http://server:8080/servoy-admin/, and I get the Servoy client splash screen that links to a .jnlp file at http://server:8080. But once the jar files have downloaded, Servoy client opens, and freezes at “Opening Solution”; the ‘progress bouncer’ at the bottom right of the window freezes, if I cover the Servoy client window it isn’t redrawn after uncovering, and it eventually closes after popping up a dialog saying “Could not register client”.

This behavior can also be the result of personal computer firewall settings. I’ve seen it on both macs and PCs.

It is almost certainly neither the network driver (the demo solution has worked for me before, from an entirely different location), nor firewall settings, as other machines here on the same LAN behind the same NAT router can connect just fine. It must be something specific to my machine.

The only thing I can think of is the java version, as I experience a bug in the developer which does not seem to happen in the client, as well as this non-loading issue. I shall try a different version of java; I am currently using :

lee@hex:~$ java -version
java version “1.4.2_04”
Java™ 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot™ Client VM (build 1.4.2_04-b05, mixed mode)

I’ll see what else I can try.

Does anybody know how I can run a stacktrace on the client that’s downloaded from http://server:8080/index.html? I do not have an icon on my desktop to modify the options for.

Thanks for the replies!

I’ve just upgraded java:

lee@hex:~$ java -version
java version “1.5.0_01”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot™ Client VM (build 1.5.0_01-b08, mixed mode, sharing)

I still have the exact same problem – the client hangs at “Opening solution” then times out a couple of minutes later with “Could not register client”.

Does anybody from Servoy BV have any suggestions?

An update to my problem…
HP finally released (dec. 2004) an updated driver for the intel adapter and now my compaq nx7000 laptop connects ok to Servoy client via wifi !!!

That’s messed up. (Slang for “I’m glad this was you and not me.”)

I’ve got the same problem, new computers were purchased and they come with NVidia based motherboard (with integrated NIC), servoy server is on the local network.

The client hangs at “Opening solution” then times out a couple of minutes later with “Could not register client”.

Don’t know what to do. :cry:

pavel

Mine was a nightmare, solved with an external card until the new driver was finally released. You can try changing NIC drivers, maybe try using the standard windows ones…or just try to plug-in a different NIC card, or try using a USB-ethernet adapter… (what about a refund if not happy with your purchase option?)

GOOD LUCK :wink:

david:
This behavior can also be the result of personal computer firewall settings. I’ve seen it on both macs and PCs.

David - what did you change on the mac to make it work??

The firewall on the mac is in the sharing control panel of the system preferences. Clearing out the Java Web Start cache directory also helps (located in /Users/whateverUserNameHere/Library/Caches/Java\ Web\ Start/cache/http).

Just wanted to ping back here and let you all know how I solved the problem.

First of all - the firewall on the mac WAS “off”. When we added a new Dell laptop to the mix - it had the same problem - although my Dell (laptop and desktop) could connect just fine.

We tested a solution on the local LAN, and it was FINE (telling us that java worked, etc.). This left the router. The router had no port filtering, we disabled the firewall, etc. Still no luck.

THEN - in a flash of genius from the Development Team (thanks, guys!) - we just went down an bought a newer router (the one we had was 3+ years old) for $100. Everything worked like a charm the minute we plugged it in!

Hope this helps.

bcusick:
Just wanted to ping back here and let you all know how I solved the problem.

First of all - the firewall on the mac WAS “off”. When we added a new Dell laptop to the mix - it had the same problem - although my Dell (laptop and desktop) could connect just fine.

We tested a solution on the local LAN, and it was FINE (telling us that java worked, etc.). This left the router. The router had no port filtering, we disabled the firewall, etc. Still no luck.

THEN - in a flash of genius from the Development Team (thanks, guys!) - we just went down an bought a newer router (the one we had was 3+ years old) for $100. Everything worked like a charm the minute we plugged it in!

Hope this helps.

Hmmm, that’s certainly peculiar. It would be better to know specifically what was the problem with the old router. When we are dealing with corporate clients, changing out a router is not always an option. Many are using high end Cisco equipment that costs much more than $100.00 ;-)

Regards,
Lee Snover

Hey guys!

I was having the same problem getting my computer to connect to our sever on the lan. We have installed about 50 new boxes with nforce motherboards using the nvidia nic. The boards also have a realtek nic on them which works FINE!

After doing some looking I found that if you go into the device manager settings for the nvidia nic and disable “Checksum Offload” this will allow the servoy client to load (at least here it worked :D ).

I found someone who had some stock trading software that wouldn’t connect to the NYSE because of this problem.

Not sure what this does in terms of anything else but hopefully nvidia will release newer drivers.

-Bryant Robinson
E-Automation Systems, LLC

------UPDATE-------
Seems nvidia released new drivers today 6.66. After installing them I turned the Checksum Offload back on and everything worked FINE!!!

Hope this helps anyone else who runs into this!!!