Paolo, it seems you use thin client functionality which resides in internal
package and is deprecated. Any reason you do not use ordinary Ignite node
in client mode?

--Yakov

2016-02-20 13:48 GMT+03:00 Paolo Di Tommaso <[email protected]>:

> Hello,
>
> I'm getting a `ClassNotFoundException:
> com.jaduda.transaction.cache.memcache.BidCacheItem` exception I've never
> experienced before (you can find the stack trace below).
>
> Although the exception message suggests that I may be deploying different
> classes versions, I'm almost sure that the same application binary is
> deployed in the cluster.
>
>
> Any idea what could be wrong?
>
>
> Feb-20 09:49:18.611 [grid-nio-worker-0-#42%nextflow%] ERROR
> o.a.i.i.p.r.p.t.GridTcpRestProtocol - Closing NIO session because of
> unhandled exception.
> org.apache.ignite.IgniteCheckedException: Failed to find class with given
> class loader for unmarshalling (make sure same versions of all classes are
> available
>  on all nodes or enable peer-class-loading):
> sun.misc.Launcher$AppClassLoader@bda96b
> at
> org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal(JdkMarshaller.java:108)
> at
> org.apache.ignite.marshaller.AbstractMarshaller.unmarshal(AbstractMarshaller.java:68)
> at
> org.apache.ignite.internal.processors.rest.protocols.tcp.GridTcpRestParser.decodeObj(GridTcpRestParser.java:721)
> at
> org.apache.ignite.internal.processors.rest.protocols.tcp.GridTcpRestParser.assemble(GridTcpRestParser.java:656)
> at
> org.apache.ignite.internal.processors.rest.protocols.tcp.GridTcpRestParser.parseMemcachePacket(GridTcpRestParser.java:313)
> at
> org.apache.ignite.internal.processors.rest.protocols.tcp.GridTcpRestParser.decode(GridTcpRestParser.java:137)
> at
> org.apache.ignite.internal.processors.rest.protocols.tcp.GridTcpRestParser.decode(GridTcpRestParser.java:67)
> at
> org.apache.ignite.internal.util.nio.GridNioCodecFilter.onMessageReceived(GridNioCodecFilter.java:104)
> at
> org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:107)
> at
> org.apache.ignite.internal.util.nio.GridNioServer$HeadFilter.onMessageReceived(GridNioServer.java:2124)
> at
> org.apache.ignite.internal.util.nio.GridNioFilterChain.onMessageReceived(GridNioFilterChain.java:173)
> at
> org.apache.ignite.internal.util.nio.GridNioServer$ByteBufferNioClientWorker.processRead(GridNioServer.java:747)
> at
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1437)
> at
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)
> at
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
> at
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException:
> com.jaduda.transaction.cache.memcache.BidCacheItem
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:278)
> at
> org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:8137)
> at
> org.apache.ignite.marshaller.jdk.JdkMarshallerObjectInputStream.resolveClass(JdkMarshallerObjectInputStream.java:54)
> at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612)
> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
> at
> org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal(JdkMarshaller.java:102)
> ... 16 common frames omitted
>
>
>
>
> Cheers,
> Paolo
>
>

Reply via email to