Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73DB218E12 for ; Sat, 20 Feb 2016 11:41:08 +0000 (UTC) Received: (qmail 52955 invoked by uid 500); 20 Feb 2016 11:41:08 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 52909 invoked by uid 500); 20 Feb 2016 11:41:08 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 52899 invoked by uid 99); 20 Feb 2016 11:41:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2016 11:41:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DBA43C1B55 for ; Sat, 20 Feb 2016 11:41:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id eLP7fwWj8W1w for ; Sat, 20 Feb 2016 11:41:06 +0000 (UTC) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 243E85FB29 for ; Sat, 20 Feb 2016 11:41:06 +0000 (UTC) Received: by mail-wm0-f46.google.com with SMTP id c200so109907038wme.0 for ; Sat, 20 Feb 2016 03:41:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=M7YgK5QR01xxB+VmbhI5EbQn6qJDx9G+Vs6djZ/CH0s=; b=DoBY0U47y3u9wIH1oN97lvN4p1FWMynPX/28IEiNBikr5fHuELImUTm20pmL0Mn7dH 17z1Rt8pg4Sgb501CSoacEUvdz7+q4J1RWPbi+weKTs8G0uhwR0nstKpeZavZxO0P3Wg 2BjbLlr5VUVvzOJbB2wZGf9+BtJdNOtZA/JLotDRilzVUTkU/gE4InVoc0QQ4EYNxDOj x4ZFOjDi+va9f238C6gmfCd0BYcyytP6oisI+PkiLgsjVTO9cXbIz0PHpQXeIQN2TAF/ w0TENf0ygkmJs5hRXGI98vw4VTH8IWzZl2qJ9E+qh7Pml5PBdrG332ON7DRudvi2VhsP WhuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=M7YgK5QR01xxB+VmbhI5EbQn6qJDx9G+Vs6djZ/CH0s=; b=j4OtJDHB7rma9c4wjSYt58jeehyUZdv1N0VOIJpa/+40UF6ylri7xu9rczucNhSNx5 AWlVM6cZcaQGlmpiNOa3aAAfusf5YPugSAmS5AAHIyzWhZq6yQDp4z1PPUdB4Rxh8UrC UlQeC8S95AlOm5miUwlU8Wya99+TkiLf3yvZbdOSts9Zz3wFwXkhdZoqAzuUktjJIm29 P81cinHCql9CIfijsC9q7eldl9xMqNfS5M1QcROp/6GmfwgwF+qQVAEQA+ELQhpef9Sz yk7KWYnvPg9vAlBVVvfi/WnGS9mnBN0z5qoljiUTn2Vb32oqG2akrPg/+OCpMz/skPoh tSuw== X-Gm-Message-State: AG10YOTX0rqQN8Mo5mlh1bljWCGUW5AkjTD8Voy7sWkZ+M/gDfBbo4uW06YVVph0GYvFnQWEfnvreHhXbp+bWw== MIME-Version: 1.0 X-Received: by 10.28.214.11 with SMTP id n11mr2067539wmg.31.1455968158363; Sat, 20 Feb 2016 03:35:58 -0800 (PST) Received: by 10.28.142.144 with HTTP; Sat, 20 Feb 2016 03:35:58 -0800 (PST) Received: by 10.28.142.144 with HTTP; Sat, 20 Feb 2016 03:35:58 -0800 (PST) In-Reply-To: References: Date: Sat, 20 Feb 2016 12:35:58 +0100 Message-ID: Subject: Re: ClassNotFoundException: com.jaduda.transaction.cache.memcache.BidCacheItem From: Paolo Di Tommaso To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=001a11468c1ae238a4052c320035 --001a11468c1ae238a4052c320035 Content-Type: text/plain; charset=UTF-8 Actually I have any clue about that. How to enable/disable it? Thanks, Paolo On 20 Feb 2016 11:57 a.m., "Yakov Zhdanov" wrote: > 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 : > >> 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 >> >> > --001a11468c1ae238a4052c320035 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Actually I have any clue about that. How to enable/disable i= t?

Thanks,
Paolo

On 20 Feb 2016 11:57 a.m., "Yakov Zhdanov&q= uot; <yzhdanov@apache.org>= wrote:
Paolo, it seems you use thin client functionality which resides in int= ernal 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 = <paolo.ditommaso@gmail.com>:
Hello,=C2=A0

I'm gett= ing a `ClassNotFoundException: com.jaduda.transaction.cache.memcache.BidCac= heItem` exception I've never experienced before (you can find the stack= trace below).

Although the exception message sugg= ests that I may be deploying different classes versions, I'm almost sur= e that the same application binary is deployed in the cluster.=C2=A0
<= div>

Any idea what could be wrong?=C2=A0
=


Feb-20 09:49:18.611 [grid-nio-worker-0-#42%nex= tflow%] ERROR o.a.i.i.p.r.p.t.GridTcpRestProtocol - Closing NIO session bec= ause of unhandled exception.
org.apache.ignite.IgniteCheckedExcep= tion: Failed to find class with given class loader for unmarshalling (make = sure same versions of all classes are available
=C2=A0on all node= s or enable peer-class-loading): sun.misc.Launcher$AppClassLoader@bda96b
at org.apache.ignite.m= arshaller.jdk.JdkMarshaller.unmarshal(JdkMarshaller.java:108)
at org.apache.ignite.marshaller.A= bstractMarshaller.unmarshal(AbstractMarshaller.java:68)
at org.apache.ignite.internal.processor= s.rest.protocols.tcp.GridTcpRestParser.decodeObj(GridTcpRestParser.java:721= )
at org.apache.igni= te.internal.processors.rest.protocols.tcp.GridTcpRestParser.assemble(GridTc= pRestParser.java:656)
at org.apache.ignite.internal.processors.rest.protocols.tcp.GridTcpRestPa= rser.parseMemcachePacket(GridTcpRestParser.java:313)
at org.apache.ignite.internal.processors.= rest.protocols.tcp.GridTcpRestParser.decode(GridTcpRestParser.java:137)
at org.apache.ignite.in= ternal.processors.rest.protocols.tcp.GridTcpRestParser.decode(GridTcpRestPa= rser.java:67)
at org= .apache.ignite.internal.util.nio.GridNioCodecFilter.onMessageReceived(GridN= ioCodecFilter.java:104)
at org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMess= ageReceived(GridNioFilterAdapter.java:107)
at org.apache.ignite.internal.util.nio.GridNioServer= $HeadFilter.onMessageReceived(GridNioServer.java:2124)
at org.apache.ignite.internal.util.nio.G= ridNioFilterChain.onMessageReceived(GridNioFilterChain.java:173)
= at org.apache.ignite.internal.= util.nio.GridNioServer$ByteBufferNioClientWorker.processRead(GridNioServer.= java:747)
at org.apa= che.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processS= electedKeys(GridNioServer.java:1437)
at org.apache.ignite.internal.util.nio.GridNioServer$Abstr= actNioClientWorker.bodyInternal(GridNioServer.java:1379)
at org.apache.ignite.internal.util.nio= .GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
<= div> at org.apache.ignite.inter= nal.util.worker.GridWorker.run(GridWorker.java:110)
at java.lang.Thread.run(Thread.java:745)<= /div>
Caused by: java.lang.ClassNotFoundException: com.jaduda.transacti= on.cache.memcache.BidCacheItem
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
<= div> at java.net.URLClassLoader= $1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassL= oader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:42= 5)
at sun.misc.Launc= her$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.= java:358)
at java.la= ng.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:278)
at org.apache.ignite.internal.util.Igni= teUtils.forName(IgniteUtils.java:8137)
at org.apache.ignite.marshaller.jdk.JdkMarshallerObjectI= nputStream.resolveClass(JdkMarshallerObjectInputStream.java:54)
<= span style=3D"white-space:pre-wrap"> at java.io.ObjectInputStream.re= adNonProxyDesc(ObjectInputStream.java:1612)
at java.io.ObjectInputStream.readClassDesc(ObjectIn= putStream.java:1517)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:177= 1)
at java.io.Object= InputStream.readObject0(ObjectInputStream.java:1350)
at java.io.ObjectInputStream.readObject(O= bjectInputStream.java:370)
= at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal(JdkMarsh= aller.java:102)
... = 16 common frames omitted

=C2=A0= =C2=A0 =C2=A0

Cheers,
Paolo


--001a11468c1ae238a4052c320035--