I’ve got a customer that gets the error ‘Connection to Servoy Server is invalid’
Other users can still use the application.
I’ve tried cleaning the java cache, reinstall java but to no avail.
Strange part is that usually the java network settings have to be set to Direct connection, but when I enable that the application does not get past the ‘Verifying application’ screen.
And if I use the ‘Use browser settings’, the download and verifying of the aplication seems to go correctly, the smart client starts and then shows the error ‘Connection to Servoy Server is invalid’. I’ve compared the java settings to another users and they appear the same. Apart from the version: 7.25 gives the error and the other user has 7.21
When I enable tracing on the app server I get the following messages:
2013-06-20 16:22 SocketAccepter1-thread-20378 INFO com.servoy.j2db.util.Debug Compressing socket closed
2013-06-20 16:22 SocketAccepter1-thread-20378 ERROR com.servoy.j2db.util.Debug SocketAcceptor failure for socket: Socket[addr=/192.168.3.117,port=49866,localport=1099]
I/O exception, see log for full details: null
2013-06-20 16:22 SocketAccepter1-thread-20378 WARN com.servoy.j2db.util.Debug Got -1, compressing socket is closed 2
java.lang.RuntimeException: Got -1, compressing socket is closed 2
at com.servoy.j2db.rmi.compressing.CompressingInputStream.readIn(CompressingInputStream.java:117)
at com.servoy.j2db.rmi.compressing.CompressingInputStream.read(CompressingInputStream.java:85)
at java.io.DataInputStream.readInt(DataInputStream.java:370)
at com.servoy.j2db.rmi.ServerTwoWaySocketFactory$SocketAcceptor.run(ServerTwoWaySocketFactory.java:422)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:736)
ERROR - Debug - Error getting the service servoy.IApplicationServer from host server.customer.nl:1099
java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1774)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1753)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:308)
at com.servoy.j2db.smart.J2DBClient.applicationServerInit(J2DBClient.java:1053)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:725)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:644)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readByte(Unknown Source)
… 24 more