CAn't find how to fix this error

hello folks, I cannot figure out how to fix this error:
2007-03-02 21:36:55 : Loading servoy.properties from /srv/servoy/servoy.properties
2007-03-02 21:36:55 : Loading - Done
2007-03-02 21:37:05 : Using RMI registry on port 1099
2007-03-02 21:43:11 : Loading servoy.properties from /srv/servoy/servoy.properties
2007-03-02 21:43:11 : Loading - Done
2007-03-02 21:45:35 : Signalling channel lost when reading pings or client export notifies, removing ports: [2000]
2007-03-02 21:45:35 : Error flushing message buffer to client 074403d0-c931-11db-98ca-9ac443b8945b, Exception creating connection to: 216.215.222.20; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-02 21:45:45 : Error flushing message buffer to client 074403d0-c931-11db-98ca-9ac443b8945b, Connection refused to host: 216.215.222.20; nested exception is: java.net.ConnectException: Connection refused
2007-03-02 21:46:05 : Error flushing message buffer to client 074403d0-c931-11db-98ca-9ac443b8945b, Connection refused to host: 216.215.222.20; nested exception is: java.net.ConnectException: Connection refused
2007-03-02 21:46:45 : Error flushing message buffer to client 074403d0-c931-11db-98ca-9ac443b8945b, Connection refused to host: 216.215.222.20; nested exception is: java.net.ConnectException: Connection refused

this happens at first log in, regardless of where it comes from, I have reduced ping delay to 50 ,rtmi.connection.timeout to 50. I just cannot fighre out what to do…

Hi Steve,

Any batchprocessors running? Also on what platform does this run, Servoy version ,etc.
And do you have a firewall and/or AV software running on that box?

Robert, I am running Debian with kernel 2.6.18, no AV and firewall is on router. Servoy version is 2.2, and no servoy processes are running in backgroud except for database engine and java and server-server

stevek:
Servoy version is 2.2

Make sure you are on the latest 2.2.x version.

Hi Steve,

Like what Jan said. Make sure you use the latest in the 2.2 branch. At this moment that is 2.2.7.
As for the errors, is 216.215.222.20 the IP of the server? Or from a database server?

the IP listed is the server. I have tried adjusting the rmi setting, the ping setting, and standing on my head. Any ideas?

This is the latest effort to be error free:

2007-03-06 17:59:26 : Signalling channel lost when reading pings or client export notifies, removing ports: [2000]
2007-03-06 17:59:26 : Error flushing message buffer to client 19863eff-cc36-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.33; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 17:59:39 : Error flushing message buffer to client 19863eff-cc36-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.33; nested exception is: java.net.NoRouteToHostException: No route to host
2007-03-06 17:59:59 : Error flushing message buffer to client 19863eff-cc36-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.33; nested exception is: java.net.NoRouteToHostException: No route to host
2007-03-06 18:00:39 : Error flushing message buffer to client 19863eff-cc36-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.33; nested exception is: java.net.NoRouteToHostException: No route to host
2007-03-06 18:59:38 : Signalling channel lost when reading pings or client export notifies, removing ports: [2001]
2007-03-06 18:59:38 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:04:26 : Signalling channel lost when reading pings or client export notifies, removing ports: [2002]
2007-03-06 19:04:26 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:07:37 : Signalling channel lost when reading pings or client export notifies, removing ports: [2003]
2007-03-06 19:07:37 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:11:37 : Signalling channel lost when reading pings or client export notifies, removing ports: [2004]
2007-03-06 19:11:37 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:16:27 : Signalling channel lost when reading pings or client export notifies, removing ports: [2005]
2007-03-06 19:16:27 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:19:36 : Signalling channel lost when reading pings or client export notifies, removing ports: [2006]
2007-03-06 19:19:36 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:24:26 : Signalling channel lost when reading pings or client export notifies, removing ports: [2007]
2007-03-06 19:24:26 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:28:26 : Signalling channel lost when reading pings or client export notifies, removing ports: [2008]
2007-03-06 19:28:26 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:31:36 : Signalling channel lost when reading pings or client export notifies, removing ports: [2009]
2007-03-06 19:31:36 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:36:26 : Signalling channel lost when reading pings or client export notifies, removing ports: [2010]
2007-03-06 19:36:26 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:39:36 : Signalling channel lost when reading pings or client export notifies, removing ports: [2011]
2007-03-06 19:39:36 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed
2007-03-06 19:43:36 : Signalling channel lost when reading pings or client export notifies, removing ports: [2012]
2007-03-06 19:43:36 : Error flushing message buffer to client 644c9310-cc3e-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.64; nested exception is: java.io.InterruptedIOException: SocketPool is closed

All IP’s listed are folks who are connecting, also, after a while each person gets disconnected, teh it automaticly reconnects, but teh disconnects are very frustrating.

Steve

Hi Steve,

I suggest you start Servoy server with stacktrace enabled and send that log to Servoy support.
(add ‘-DSTACKTRACE=true’ in the startup script)

Also did you upgrade to 2.2.7 or is this still 2.2 ?
If you’re still on 2.2 then I strongly suggest you upgrade (maybe on a test server first) to 2.2.7 and test again.

Hope this helps.

below is the stacktrace log after I adjusted settings. Maybe someone has an idea… Also, I sent this to the support at Servoy

Steve …

servoy.rmiStartPort: 1099
rmi.connection.timeout: 10
ApplicationServer.pingDelay: 50
SocketFactory.useTwoWaySocket: checked (enabled)
SocketFactory.useSSL: checked (enabled)

Client OS Integration
servoy.clientDesktopShortcutCreation: true
pushLnfToMac: false
useSystemPrintDialog: false

Memory/Performance Settings
servoy.maxClientHeap: 128
servoy.clientJarLoadOption: eager
servoy.fastClientStartup: false
servoy.disableDataChangeNotify: false

Server Information
Servoy version R2 2.2.7-build 339, repository version 27
Current time: Wed Mar 07 09:20:58 EST 2007
Uptime: 15 hours 29 minutes 56 seconds

User Information
Logged in as: KLUNSTEV0508

JDK Information
java.vm.name=Java HotSpot™ Server VM
java.vm.version=1.5.0_02-b09
java.vm.info=mixed mode
java.vm.vendor=Sun Microsystems Inc.

Operating System Information
os.name=Linux
os.version=2.6.18.2
os.arch=i386

System Information
runtime.allocatedMemory=75904K
runtime.usedMemory=21590K

Server Log

Filter:

[ bottom ]

2007-03-06 17:51:01 : Loading servoy.properties from /srv/servoy/servoy.properties
2007-03-06 17:51:01 : Loading - Done
2007-03-06 17:51:11 : Using RMI registry on port 1099
2007-03-06 17:57:35 : Loading servoy.properties from /srv/servoy/servoy.properties
2007-03-06 17:57:35 : Loading - Done
2007-03-06 17:59:26 : Signalling channel lost when reading pings or client export notifies, removing ports: [2000]

2007-03-06 17:59:26 : java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readInt(Unknown Source)
at com.servoy.j2db.util.a.d$3.run(Unknown Source)

2007-03-06 17:59:26 : Error flushing message buffer to client 19863eff-cc36-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.33; nested exception is: java.io.InterruptedIOException: SocketPool is closed

2007-03-06 17:59:26 : java.rmi.ConnectIOException: Exception creating connection to: 192.168.2.33; nested exception is:
java.io.InterruptedIOException: SocketPool is closed
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at com.servoy.j2db.UserClient_Stub.isAlive(Unknown Source)
at com.servoy.j2db.dataprocessing.ak.try(Unknown Source)
at com.servoy.j2db.dataprocessing.j$e.run(Unknown Source)
at com.servoy.j2db.util.ao.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.InterruptedIOException: SocketPool is closed
at com.servoy.j2db.util.a.b.a(Unknown Source)
at com.servoy.j2db.util.a.d.createSocket(Unknown Source)
… 9 more

2007-03-07 09:03:45 : Error flushing message buffer to client 9efd00d2-ccb1-11db-a312-99f7c6366aa7, Connection refused to host: 192.168.0.128; nested exception is: java.net.ConnectException: Connection timed out

2007-03-07 09:03:45 : java.rmi.ConnectException: Connection refused to host: 192.168.0.128; nested exception is:
java.net.ConnectException: Connection timed out
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at com.servoy.j2db.UserClient_Stub.isAlive(Unknown Source)
at com.servoy.j2db.dataprocessing.ak.try(Unknown Source)
at com.servoy.j2db.dataprocessing.j$e.run(Unknown Source)
at com.servoy.j2db.util.ao.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at com.servoy.j2db.util.a.d.createSocket(Unknown Source)
… 9 more

[ top ]

Hmmm, I was able to connect to your ACTT solution over web - and I’m also behind router (using NAT).

Here what my Java Console is logging

deployment.user.tmp = /home/bruno/.java/deployment/tmp
deployment.version = 1.5.0

Done.
Starting Servoy from /home/bruno
Servoy R2 2.2.7 build-339 on Linux using Java 1.5.0_07
getWebStartURL http://216.215.222.20:8080/
getWebStartURL http://216.215.222.20:8080/
getWebStartURL http://216.215.222.20:8080/
Signalling channel of the 2 way socket read exception
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at java.io.DataInputStream.readInt(Unknown Source)
at com.servoy.j2db.util.a.c.run(Unknown Source)
Trying to reconnect to the server
Reconnected to the server

Seems you have a routing problem - you sure that your router is not filtering out or dropping packages?

Bruno

stevek:
2007-03-06 17:59:26 : Error flushing message buffer to client 19863eff-cc36-11db-a312-99f7c6366aa7, Exception creating connection to: 192.168.2.33; nested exception is: java.io.InterruptedIOException: SocketPool is closed

2007-03-06 17:59:26 : java.rmi.ConnectIOException: Exception creating connection to: 192.168.2.33; nested exception is:
java.io.InterruptedIOException: SocketPool is closed
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown

Questions:
-Did you fill the hostname in the network settings? (do read network settings page)
-Are you running with 2way sockets enabled?

-hostname is listed as 127.0.0.1
-and 2way sockets are checked.
We had to move to another router due to noise factor where it was located, and that is when the problems began.

Are you sure the 1099 port is open on all routers and correctly forwarded? (in the same way as port 8080 is done)
It could also be the case a new router is closing idle connections faster, in that case lower the ping delay to 30 seconds