Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7DEF3200B8C for ; Mon, 12 Sep 2016 23:56:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7C5F6160AB2; Mon, 12 Sep 2016 21:56:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9FFDA160AC8 for ; Mon, 12 Sep 2016 23:56:08 +0200 (CEST) Received: (qmail 58785 invoked by uid 500); 12 Sep 2016 21:54:21 -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 55049 invoked by uid 99); 12 Sep 2016 21:46:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2016 21:46:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6C91C180652 for ; Mon, 12 Sep 2016 21:46:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id BgPibJWMojrC for ; Mon, 12 Sep 2016 21:46:36 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 13A895F39C for ; Mon, 12 Sep 2016 21:46:36 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id c131so80646477wmh.0 for ; Mon, 12 Sep 2016 14:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=3dl3MsDxLzMCXU+4tkr//ol9+JcWz9pr9K8X5iYHZBo=; b=JgEFLSIK+Brfsxr8+WjaICTWc3VSomE2D+uKZI+cGtxH3GLn8mU187vWILZnm80UmQ GrybtDSigMNWkmBi/ylhqH2MFcNRmRGZqAfi6rhf8J6ZCFTgX6Ctod9WtelPF4xpxSNu v6wrwzy2zGqnAS48ynFtGlMBC2JvKIBo6jcDIT2XBL+C32rJEa3q48hR3cuQFGtUXZMY 99lpqvqJ0f564oKaXUqV2yY4QYa6LuIJNokeoNqRGSbe9l+7sIReVAyTh8/Vc0T+jbif 61woTwMyP3Nx2+O/sTJF2/9efT2YudIQPM0+3z7zIConmF+9r/0TFZvDcpchbR1FIxQt aQcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3dl3MsDxLzMCXU+4tkr//ol9+JcWz9pr9K8X5iYHZBo=; b=k7bqHLwr31zvrXn9Vsezo+FgnqP99omSceuzCxbtSVtwiidGr7strYWmQNjVKNAuv/ SIzM6fZbDbJkEeKSbHXGbPZKJ4RH0p3ckvaRYwx3l2+W4EomhhcSsVB5DFFVGYx6qYc1 Fs1PRUIXPj0V15cYbxav1m2Bk03jyXfIOETTk/3CmD5vn0a5bBiKbP/xSmkL358AwPgu vMvJuye4Wt5jegyI9X4LsurO45QH0hHoOwhIqIspUVAli3dKbPHphwbl1sdPrRxSXpxN AEBSVo06jl5nkvBEjCPei1ZsBY4ZNsNjz91HylMbrROeVXIHsaHOVT7kekmbK7ncHGmB PPZQ== X-Gm-Message-State: AE9vXwPa9GBxJylagZq3I2NRk2HaI3ck2QjB73pykHyvHV2zcCj2ovgkoa7BRZVsiBdEGJUogjhtjy5D84rk7A== X-Received: by 10.28.186.8 with SMTP id k8mr1830667wmf.101.1473716789345; Mon, 12 Sep 2016 14:46:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.110.74 with HTTP; Mon, 12 Sep 2016 14:46:28 -0700 (PDT) From: Abhishek Jain Date: Mon, 12 Sep 2016 16:46:28 -0500 Message-ID: Subject: Automatic Persistence Example - Demo To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=001a114a1080ba89e1053c566dea archived-at: Mon, 12 Sep 2016 21:56:09 -0000 --001a114a1080ba89e1053c566dea Content-Type: text/plain; charset=UTF-8 Hi, Not able to execute the Demo example given in the Automatic Persistence from the command line in linux. Below is the console output, please let me know if I am missing out anything. I tried couple of ways below with NO success =========================================================== [root@dbtestvm1 target]# java -classpath ignite-examples-1.6.0.jar org.apache.ignite.schema.Demo Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: javax/cache/configuration/Factory at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.privateGetMethodRecursive(Class.java:3048) at java.lang.Class.getMethod0(Class.java:3018) at java.lang.Class.getMethod(Class.java:1784) at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526) Caused by: java.lang.ClassNotFoundException: javax.cache.configuration.Factory at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 7 more [root@dbtestvm1 target]# [root@dbtestvm1 target]# [root@dbtestvm1 target]# [root@dbtestvm1 target]# [root@dbtestvm1 target]# echo $CLASSPATH /root/ignite/apache-ignite-fabric-1.6.0-bin/libs:/usr/java/default/jre/lib/ [root@dbtestvm1 target]# [root@dbtestvm1 target]# java -jar ignite-examples-1.6.0.jar org.apache.ignite.schema.Demo no main manifest attribute, in ignite-examples-1.6.0.jar [root@dbtestvm1 target]# [root@dbtestvm1 target]# ========================================================== Regards Abhishek --001a114a1080ba89e1053c566dea Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Not able to execute the = Demo example given in the Automatic Persistence from the command line in li= nux. Below is the console output, please let me know if I am missing out an= ything. I tried couple of ways below with NO success

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

[root@dbtestvm1 tar= get]# java -classpath ignite-examples-1.6.0.jar org.apache.ignite.schema.De= mo
Error: A JNI error has occurred, please check your installatio= n and try again
Exception in thread "main" java.lang.No= ClassDefFoundError: javax/cache/configuration/Factory
at java.lang.Cl= ass.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetD= eclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRe= cursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:301= 8)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launche= r.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.la= uncher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
C= aused by: java.lang.ClassNotFoundException: javax.cache.configuration.Facto= ry
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.mis= c.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.C= lassLoader.loadClass(ClassLoader.java:357)
... 7 more
[root= @dbtestvm1 target]#=C2=A0
[root@dbtestvm1 target]#=C2=A0
[root@dbtestvm1 target]#=C2=A0
[root@dbtestvm1 target]#=C2=A0
[root@dbtestvm1 target]# echo $CLASSPATH
/root/ignite/ap= ache-ignite-fabric-1.6.0-bin/libs:/usr/java/default/jre/lib/
[roo= t@dbtestvm1 target]#=C2=A0
[root@dbtestvm1 target]# java -jar ign= ite-examples-1.6.0.jar org.apache.ignite.schema.Demo
no main mani= fest attribute, in ignite-examples-1.6.0.jar
[root@dbtestvm1 targ= et]#=C2=A0
[root@dbtestvm1 target]#

=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D

Regards
Abhishek
--001a114a1080ba89e1053c566dea--