We have a solution that has been up and running now for about 3 months. The solution is fantastic. However, I am getting a “Could not register client” error on just 2 machines that are accessing the Servoy client. All other users using the solution are having no problems at all. The user in question has 2 computers that this is happening on. One is a desktop system and the other is a laptop system. On the laptop, we have reinstalled a fresh version of Windows XP Tablet PC Edition and a fresh install of Java. We have also attempted to access the internet from another site on the laptop in case the users internet connection was somehow the issue. The user can access the web interface to download the client, the client downloads and starts up, but after selecting the solution to open, the program just sits there until the “Could not register client” error appears. I am at a loss as around 40 other users in different locals are using the solution just fine.
We are running the solution on:
Mac G5 Quad core 2.5Ghz
4Gb of RAM
Mac OS X 10.4.11
Server Information
Servoy version 3.5.6-build 519, repository version 31
Current time: Thu Aug 21 20:11:00 EDT 2008
Uptime: 56 minutes 23 seconds
User Information
Logged in as: Philip
JDK Information
java.vm.name=Java HotSpot™ Client VM
java.vm.version=1.5.0_13-121
java.vm.info=mixed mode, sharing
java.vm.vendor=“Apple Computer, Inc.”
Operating System Information
os.name=Mac OS X
os.version=10.4.11
os.arch=ppc
System Information
runtime.allocatedMemory=65088K
runtime.usedMemory=18987K
First of all welcome to the forum, I see this is your first post .
You give us the specs of the server but I think you need to look for the problem at the client machine and not so much the server because that does work for the other users you say.
I did a quick search on the forum for ‘could not register client’ and got a few hits that give you some pointers.
By the way are both the notebook and desktop XP machines ?
The posts I found give the following pointers to look for:
Make sure Java uses ‘Direct Connection’ (Start > Control Panel > Java > Network Settings (first tab)).
make sure the Firewall on the client lets port 8080 and 1099 through (test with the firewall off to be sure).
It could also be the driver of your NIC. See if there is an updated driver for it.
If you are behind a router then you might want to check if that router has a firewall enabled.
Some had a seemingly good working router but fixed the whole issue when they replaced it with a new one.
Yes both computers are on Windows XP. The laptop is on Windows XP Tablet PC Edition and the desktop XP Pro.
“Laptop”
I have checked the Java Settings and Java was set up to use browser settings. We changed that to Direct Connection and tried again. Still not working. However we noticed that we did not have an internet connection either, so we then rebooted the computer. After rebooting the computer, we now had internet connection, however client would still not register.
I logged in to the computer remotely using Yugma and next we checked the NIC driver. Went to the Toshiba web site and checked to see if there was an updated driver for the NIC on this laptop. There was an updated driver so we downloaded and installed the new driver. We rebooted the computer and then tried to access the client again. We now get a message that states “No licenses or trial licenses left. Exiting”, but the “Could not register client” message now does not come up. We have 50 licenses and we are nowhere near maxed out on them.
After we got the “No client licenses” message, we cleared the java cache and deleted the .servoy folder. Then we re-installed the client. Now we are back to the “Could not register client” error.
Try configuring the java control panel on the client machines to ‘show console’.
When you start a smart client a window will pop up with some more logging info.
We finally figured out that something was wrong from the Internet Service Provider. Not sure what the problem was, but it was something on their end because we were able to connect to the program on those 2 machines when we changed the ISP.
I have the same problem on one computer, a MacBook Pro with 10.5.5 and Java 1.6.
It happens when I load any Servoy solution from any server (we have 10 or so)
Starting with console gives me this:
Java Web Start 1.6.0_07
Using JRE version 1.6.0_07 Java HotSpot(TM) 64-Bit Server VM
User home directory = /Users/thunder
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
Starting Servoy from /
Servoy R2 2.2.7 build-339 on Mac OS X using Java 1.6.0_07
getWebStartURL http://192.168.1.140:8080/
getWebStartURL http://192.168.1.140:8080/
getWebStartURL http://192.168.1.140:8080/
Remote Socket connection failed for the 1 time (trying 10times) for request port: 2003 sockets created to 192.168.1.140:1100
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at com.servoy.j2db.util.a.c.run(Unknown Source)
Remote Socket connection failed for the 2 time (trying 10times) for request port: 2003 sockets created to 192.168.1.140:1100
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at com.servoy.j2db.util.a.c.run(Unknown Source)
Remote Socket connection failed for the 3 time (trying 10times) for request port: 2003 sockets created to 192.168.1.140:1100
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at com.servoy.j2db.util.a.c.run(Unknown Source)
I have cleared my java caches, deleted java applications, deleted .servoy from my home folder, tried in another user (still didn’t work), tried in Java 1.5 (didn’t work), tried in Java 1.4.2 (didn’t work). The following is the output from the console when running in Java 1.4.2:
Java Web Start 1.4.2_18
Using JRE version 1.4.2_18 Java HotSpot(TM) Client VM
User home directory = /Users/thunder
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
Starting Servoy from /
Servoy R2 2.2.7 build-339 on Mac OS X using Java 1.4.2_18
getWebStartURL http://192.168.1.140:8080/
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.servoy.j2db.J2DBClient.if(Unknown Source)
at com.servoy.j2db.J2DBClient.aD(Unknown Source)
at com.servoy.j2db.J2DBClient.if(Unknown Source)
at com.servoy.j2db.J2DBClient.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1301)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1239)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1086)
at com.sun.javaws.Launcher.run(Launcher.java:105)
at java.lang.Thread.run(Thread.java:552)
Caused by: java.lang.ExceptionInInitializerError
at net.roydesign.app.Application.getAboutJMenuItem(Application.java:219)
... 17 more
Caused by: java.lang.NumberFormatException: For input string: "b08-314"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1207)
at java.lang.Float.valueOf(Float.java:205)
at java.lang.Float.<init>(Float.java:289)
at net.roydesign.mac.MRJAdapter.<clinit>(MRJAdapter.java:199)
... 18 more
getWebStartURL http://192.168.1.140:8080/
getWebStartURL http://192.168.1.140:8080/
I use Little Snitch as a live firewall, but it is turned off for this (and I have it on my iMac where servoy client works fine), the OS X Firewall is off, we have a firewall on our network, but it again, doesn’t affect other machines, and shouldn’t affect local network machines anyway. We use our own DNS Server, but this configuration works fine on other computers on the network.
I’m stumped as to what to try and would be grateful for any thoughts…
I don’t know what my uptime was, but the issue of Servoy client not working is very familiar on my MacBook Pro, and it does get restarted periodically. It seems therefore that there is an uptime effect on Servoy client on my computer (only client - developer works fine). Anyone else seen this effect?