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 D3D4E200B8C for ; Mon, 12 Sep 2016 23:58:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D23D2160AB8; Mon, 12 Sep 2016 21:58:52 +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 26B9B160AB2 for ; Mon, 12 Sep 2016 23:58:52 +0200 (CEST) Received: (qmail 89862 invoked by uid 500); 12 Sep 2016 21:58:51 -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 89851 invoked by uid 99); 12 Sep 2016 21:58:51 -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:58:51 +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 D8B4C180534 for ; Mon, 12 Sep 2016 21:58:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.598 X-Spam-Level: * X-Spam-Status: No, score=1.598 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, KAM_ASCII_DIVIDERS=0.8, KAM_MXURI=1.5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.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 rs5AbS8DIecA for ; Mon, 12 Sep 2016 21:58:50 +0000 (UTC) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B02045FBF8 for ; Mon, 12 Sep 2016 21:58:49 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id b2so54651433pat.2 for ; Mon, 12 Sep 2016 14:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=FnDLHOb4gL7O3tQoXER8OXvEbzzacvNOMYJW9E7XwZw=; b=gbcbrEQLH9GK0Y88Sh4n1uvTwFqd/fErEuOYlqWx8t7CHQNzAw3jB+IrWPpmLDUAgX eTTKbq0KiRJebljT61wzpdvDLiCZnjbyZc/SbzZDnQhAqrey8/H0nznvGFzX8wl/4k1t XdFC0nNaoar0T2tTg8ZHZGq3o0S20nyxlAxKjB6RoXbO+HXMoW5RF7Fl4bT8Q8UjLjiw C1dGDFpg9HY9rNzN0mVBxEmHam0keXhZu9L36CYo/OZnzT6io6s4V8mGgsFxTmIuul87 rfC7ZCI5DhPf5GXllpIHblcpeBymjI4a+bvKjlZtJYEPpR1gCrwTvisu3LqRlWPK4qHf qjgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=FnDLHOb4gL7O3tQoXER8OXvEbzzacvNOMYJW9E7XwZw=; b=e8AWwSxrIPnwaXpuryKCKFUtDY1aXKJU1QcvbOjGG81NKYP+Wd3Crpr1Q2Q0rf4qSt Ytcq6fNnw94NgZHgZhHDLzQTuzGvAGQ/jyN9G4YX/FNaS+CKKBjKqtGgbrBsehllXl3+ 3WXo2mGtsXpsQeqaibqIheAsn4sjj9Y5CM0FpZLkG6JTfni/aEv3O5NqjZIObH6IOLS+ f1z06XiGwF7pzC/TCSQ2KSrDzpLDwBCM20XKdSzOlU/7fzX1mJqj7lgaoH7HL8pkcGPo sYtrEDcHSE4C8xuLtIR9RqElFCK5ZpPMozCg153RSqihV2cV8ciiCo80QXYGwx2fTmgd CvkQ== X-Gm-Message-State: AE9vXwMbzpTOcZkAo60nCp5D9Jo+IUYTfXFAFTmkkbZORQCtbUKIRfL8utlxTFtZx+RDNIzd X-Received: by 10.66.0.226 with SMTP id 2mr37409854pah.35.1473717528667; Mon, 12 Sep 2016 14:58:48 -0700 (PDT) Received: from ?IPv6:2601:646:c401:d400:3d7a:bfa9:4ce:798b? ([2601:646:c401:d400:3d7a:bfa9:4ce:798b]) by smtp.gmail.com with ESMTPSA id i8sm26709592paw.25.2016.09.12.14.58.48 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Sep 2016 14:58:48 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Automatic Persistence Example - Demo From: Denis Magda In-Reply-To: Date: Mon, 12 Sep 2016 14:58:47 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@ignite.apache.org X-Mailer: Apple Mail (2.3124) archived-at: Mon, 12 Sep 2016 21:58:53 -0000 Hi, You need to add all the libs that are located in = =E2=80=9Capache-version/libs=E2=80=9D folder to your classpath. =E2=80=94 Denis > On Sep 12, 2016, at 2:46 PM, Abhishek Jain = wrote: >=20 > Hi, >=20 > 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 >=20 > =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 >=20 > [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]#=20 > [root@dbtestvm1 target]#=20 > [root@dbtestvm1 target]#=20 > [root@dbtestvm1 target]#=20 > [root@dbtestvm1 target]# echo $CLASSPATH > = /root/ignite/apache-ignite-fabric-1.6.0-bin/libs:/usr/java/default/jre/lib= / > [root@dbtestvm1 target]#=20 > [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]#=20 > [root@dbtestvm1 target]# >=20 > =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 >=20 > Regards > Abhishek