Smart Client Not Working

I’m trying to use the Servoy Smart Client to no avail.

When attempting to access the client, a ‘Connecting to Data Service’ message appears in the status bar, followed by ‘Start Repository’. Then the application seems to hang. Minutes later, a dlalog pops up saying "Could not register client’

However, i could access the solution using Servoy Developer as well as viewing the solution as being active using the servoy admin web interface.

I have tried:

  • deleting the caches
    the .servoy directory in Doc and settings\username
    the java web start cache accessed via the java console
    the java cache itself in Doc and settings\uname\app data\sun\java\deployment\cache

  • changing the two-way socket and use ssl options using servoy admin

  • disabling the windows firewall

Right now, i am out of ideas. Any suggestions?

PS. The log file does not seem to reflect/display any info regarding the problem. The last time i attempted to use the client was at 12.30, which is long after the last log file entry (given below)

2007-07-03 11:53:42,093 ERROR [TaskExecuter[3]] com.servoy.j2db.util.Debug - Throwable
java.net.UnknownHostException: downloads.servoy.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at com.servoy.j2db.develop.c.y.do(Unknown Source)
at com.servoy.j2db.develop.c.h$1.run(Unknown Source)
at com.servoy.j2db.util.am.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

The log file entry comes from Servoy’s auto update feature. What log file is it? Have you checked the client’s log file (available if you turn on tracing in the Java preferences)? If not, is there anything? This “error” in my experiences comes from two possible situations:

  1. a plugin loading problem (class not found, Java version, …)
  2. the RMI port (mostly 1099) is not reachable

Hope this helps.

PS: Both errors should be written to the client’s log (trace) file. You can also turn on the Java console on the client (also in Java preferences) and check there for errors.

Patrick,

As you suspected, I was checking the server’s log file for errors.

So, i went to the java console in Control Panel and turned on logging. However, (and forgive my ignorance), I have no clue as to where to actually find this client log file.

Could you indicate where i could find it?

PS. Sorry for the delay in the response - I was occupied something else for the last few days.

You should find a javawsxxxx.trace file in

settings\uname\app data\sun\java\deployment\log