Hi Valentine,
This was failing for multiple objects (Definitions of these objects were
there in Ingite's classpath), for one object there wasn't any error on
server logs but for another I see some warnings
[10:10:52,104][WARNING][grid-nio-worker-2-#44%null%][GridTcpRestProtocol]
Closing NIO session because of unhandled exception [cls=class
o.a.i.IgniteCheckedException, msg=Failed to deserialize object with given
class loader: sun.misc.Launcher$AppClassLoader@18b4aac2]
[10:10:52,104][WARNING][grid-nio-worker-2-#44%null%][GridTcpRestProtocol]
Closed client session due to exception [ses=GridSelectorNioSessionImpl
[selectorIdx=2, queueSize=0, writeBuf=null, readBuf=null, recovery=null,
super=GridNioSessionImpl [locAddr=/10.204.17.9:11211,
rmtAddr=/10.202.21.36:59157, createTime=1444317052091,
closeTime=1444317052101, bytesSent=0, bytesRcvd=8147,
sndSchedTime=1444317052091, lastSndTime=1444317052091,
lastRcvTime=1444317052101, readsPaused=false,
filterChain=FilterChain[filters=[GridNioCodecFilter
[parser=GridTcpRestParser [jdkMarshaller=JdkMarshaller [],
routerClient=false], directMode=false]], accepted=true]], msg=Failed to
deserialize object with given class loader:
sun.misc.Launcher$AppClassLoader@18b4aac2]
Here is what was being shown on client logs
10:10:50 DEBUG [] - Putting data in Memcache cache : key = 437782791 :
com.deere.fieldconnect.domain.SensorAssets@27bf9264
2015-10-08 10:10:50.162 WARN net.spy.memcached.MemcachedConnection: Could
not redistribute to another node, retrying primary node for 437782791.
2015-10-08 10:10:50.312 WARN net.spy.memcached.MemcachedConnection: Could
not redistribute to another node, retrying primary node for -561401611.
2015-10-08 10:10:52.071 INFO net.spy.memcached.MemcachedConnection:
Reconnecting {QA sa=losdisgignite.sdde.deere.com/10.204.17.9:11211, #Rops=0,
#Wops=2, #iq=0, topRop=null, topWop=Cmd: 1 Opaque: 27 Key: 437782791 Cas: 0
Exp: 0 Flags: 3 Data Length: 8072, toWrite=0, interested=0}
2015-10-08 10:10:52.073 INFO net.spy.memcached.MemcachedConnection:
Connection state changed for sun.nio.ch.SelectionKeyImpl@731b9b9c
2015-10-08 10:10:52.083 INFO net.spy.memcached.MemcachedConnection:
Reconnecting due to exception on {QA
sa=losdisgignite.sdde.deere.com/10.204.17.9:11211, #Rops=2, #Wops=0, #iq=0,
topRop=Cmd: 1 Opaque: 27 Key: 437782791 Cas: 0 Exp: 0 Flags: 3 Data Length:
8072, topWop=null, toWrite=0, interested=1}
java.io.IOException: Disconnected unexpected, will reconnect.
at
net.spy.memcached.MemcachedConnection.handleReadsWhenChannelEndOfStream(MemcachedConnection.java:875)
at
net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:787)
at
net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:684)
at
net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:647)
at
net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:418)
at
net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1401)
2015-10-08 10:10:52.084 WARN net.spy.memcached.MemcachedConnection:
Closing, and reopening {QA
sa=losdisgignite.sdde.deere.com/10.204.17.9:11211, #Rops=2, #Wops=0, #iq=0,
topRop=Cmd: 1 Opaque: 27 Key: 437782791 Cas: 0 Exp: 0 Flags: 3 Data Length:
8072, topWop=null, toWrite=0, interested=1}, attempt 0.
2015-10-08 10:10:52.085 WARN
net.spy.memcached.protocol.binary.BinaryMemcachedNodeImpl: Discarding
partially completed op: Cmd: 1 Opaque: 27 Key: 437782791 Cas: 0 Exp: 0
Flags: 3 Data Length: 8072
2015-10-08 10:10:52.085 WARN
net.spy.memcached.protocol.binary.BinaryMemcachedNodeImpl: Discarding
partially completed op: Cmd: 0 Opaque: 28 Key: -561401611
10:10:52 ERROR [] - Cancelled
java.util.concurrent.CancellationException: Cancelled
at
net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:177)
~[spymemcached-2.11.1.jar:2.11.1]
at
net.spy.memcached.internal.GetFuture.get(GetFuture.java:69)
~[spymemcached-2.11.1.jar:2.11.1]
at
net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1230)
~[spymemcached-2.11.1.jar:2.11.1]
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Memcahe-client-for-Ignite-tp1564p1577.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.