Strange error running a relatively long process

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Strange error running a relatively long process

Postby huber » Tue Oct 16, 2012 11:57 am

Hi All

I get errrors I can't interpret when running a relatively long running process (~1 hour). It is reproducable. The relevant part of the code in the method is embedded in a transaction. This is what I get (attached also as screenshot):

Code: Select all
2012-10-15 10:50:43,527 ERROR [multiplexer-reader-16818e17[SSL_NULL_WITH_NULL_NULL: Socket[addr=/<ip-addr>,port=49223,localport=1099]]] com.sebster.tunnel.impl.sd - multiplexer failed for client 017fda8e-1bbe-45fd-b93f-a3371f233fa2
java.net.SocketTimeoutException: Read timed out
   at java.net.SocketInputStream.socketRead0(Native Method)
   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 com.sebster.tunnel.impl.kd.c(kd.java:54)
   at com.sebster.tunnel.impl.md.run(md.java:10)
   at java.lang.Thread.run(Unknown Source)
2012-10-15 10:54:30,308 ERROR [TaskExecuter[0]] com.servoy.j2db.dataprocessing.Zb - Error flushing message buffer to client B566B24C-E7CC-4FEE-BA36-5864F8CDC564
java.rmi.ConnectException: Connection refused to host: <ip-addr>; nested exception is:
   java.net.ConnectException: no multiplexer found for server with id=017fda8e-1bbe-45fd-b93f-a3371f233fa2
   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 java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
   at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
   at $Proxy13.isAlive(Unknown Source)
   at com.servoy.j2db.dataprocessing.ClientProxy.Zc(ClientProxy.java:131)
   at com.servoy.j2db.dataprocessing.Zo.run(Zo.java:15)
   at com.servoy.j2db.util.TaskExecuter.run(TaskExecuter.java:82)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: no multiplexer found for server with id=017fda8e-1bbe-45fd-b93f-a3371f233fa2
   at com.sebster.tunnel.impl.me.createSocket(me.java:14)
   at com.servoy.j2db.server.rmi.tunnel.WrappingCompressingRMIClientSocketFactory.createSocket(WrappingCompressingRMIClientSocketFactory.java:28)
   ... 11 more
2012-10-15 10:54:40,308 ERROR [TaskExecuter[1]] com.servoy.j2db.dataprocessing.Zb - Error flushing message buffer to client B566B24C-E7CC-4FEE-BA36-5864F8CDC564
java.rmi.ConnectException: Connection refused to host: <ip-addr>; nested exception is:
   java.net.ConnectException: no multiplexer found for server with id=017fda8e-1bbe-45fd-b93f-a3371f233fa2
   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 java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
   at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
   at $Proxy13.isAlive(Unknown Source)
   at com.servoy.j2db.dataprocessing.ClientProxy.Zc(ClientProxy.java:131)
   at com.servoy.j2db.dataprocessing.Zo.run(Zo.java:15)
   at com.servoy.j2db.util.TaskExecuter.run(TaskExecuter.java:82)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: no multiplexer found for server with id=017fda8e-1bbe-45fd-b93f-a3371f233fa2
   at com.sebster.tunnel.impl.me.createSocket(me.java:14)
   at com.servoy.j2db.server.rmi.tunnel.WrappingCompressingRMIClientSocketFactory.createSocket(WrappingCompressingRMIClientSocketFactory.java:28)
   ... 11 more
2012-10-15 10:54:50,308 ERROR [TaskExecuter[0]] com.servoy.j2db.dataprocessing.Zb - Error flushing message buffer to client B566B24C-E7CC-4FEE-BA36-5864F8CDC564
java.rmi.ConnectException: Connection refused to host: <ip-addr>; nested exception is:
   java.net.ConnectException: no multiplexer found for server with id=017fda8e-1bbe-45fd-b93f-a3371f233fa2
   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 java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
   at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
   at $Proxy13.isAlive(Unknown Source)
   at com.servoy.j2db.dataprocessing.ClientProxy.Zc(ClientProxy.java:131)
   at com.servoy.j2db.dataprocessing.Zo.run(Zo.java:15)
   at com.servoy.j2db.util.TaskExecuter.run(TaskExecuter.java:82)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: no multiplexer found for server with id=017fda8e-1bbe-45fd-b93f-a3371f233fa2
   at com.sebster.tunnel.impl.me.createSocket(me.java:14)
   at com.servoy.j2db.server.rmi.tunnel.WrappingCompressingRMIClientSocketFactory.createSocket(WrappingCompressingRMIClientSocketFactory.java:28)
   ... 11 more


Any idea what that means and what that I/O error in the screenshot means? I am stuck as I don't know what this error messages mean.

Regards, Robert
Attachments
app error.png
This is the error I get in the application
app error.png (21.32 KiB) Viewed 2757 times
io and other errors.png
Screenshot to what is described as text in code
io and other errors.png (41.34 KiB) Viewed 2757 times
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Re: Strange error running a relatively long process

Postby rgansevles » Wed Oct 17, 2012 12:52 pm

Robert,

The smart client was somehow disconnected from the server and managed to reconnect.
Because of the transactions, the client could not just continue with what it was doing, so it needs to restart the solution, that is what the dialog tries to say.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Strange error running a relatively long process

Postby huber » Thu Oct 18, 2012 3:46 pm

Hi Rob

Thanks for clarifying. This error (up to now) only occurs when executing this long running process. I read in the forum about similar or same failures, but they are quite old. There are suggestions about query validation setting to SELECT 1 or ApplicationServer.pingDelay to a low value, e. g. 50. Are these tips still valid, i. e. should I play with them or are they a thing of the past?

Regards, Robert

rgansevles wrote:Robert,

The smart client was somehow disconnected from the server and managed to reconnect.
Because of the transactions, the client could not just continue with what it was doing, so it needs to restart the solution, that is what the dialog tries to say.

Rob
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 7 guests

cron