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 CB5DB200B5E for ; Wed, 10 Aug 2016 13:20:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C9F0F160A93; Wed, 10 Aug 2016 11:20: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 E7821160A90 for ; Wed, 10 Aug 2016 13:20:51 +0200 (CEST) Received: (qmail 52016 invoked by uid 500); 10 Aug 2016 11:20:50 -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 52006 invoked by uid 99); 10 Aug 2016 11:20:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2016 11:20:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A7E401A0229 for ; Wed, 10 Aug 2016 11:20:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.18 X-Spam-Level: * X-Spam-Status: No, score=1.18 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, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 4_pzhC8hVjTB for ; Wed, 10 Aug 2016 11:20:45 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 08BAB5FBDF for ; Wed, 10 Aug 2016 11:20:45 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id o80so96455343wme.1 for ; Wed, 10 Aug 2016 04:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:message-id:references:to; bh=kflCvEMkj7Ir2SPbgBYnu+6zAoFHakpJ5jWTp12UQ2k=; b=pe1eZO/iHEs4XiqAepU0modp66oT3UWbn6UsiuVuzTQHASkBOIT7wfiwn0Q4366ZaT ixHVxyV3/468luqczj0UK7b+tJkwh7XGxpirwmEVgvTDKSwt5Iz7OqMPPf1VOGi4iZkB YjjhUAOgO1QgESgE33QG/dwNg1i0K313ppXDbMUt/G0gDH/6nzjL/FCvcegAWxxUOUPA qmrd883AtEnFkURbkMVqp3TZ/cMMKMEwhbI84g2Bpk3RC26R/BqQqdbjb891eQeDGOGf SrbmGUlbq86PBFoBgyl+wDslMvqGXJZhPRxsfGjCmgt0fu060IMZgAUlhSsnt4/GEj7p Zaog== 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 :message-id:references:to; bh=kflCvEMkj7Ir2SPbgBYnu+6zAoFHakpJ5jWTp12UQ2k=; b=IrbE7LpLtxbJuM6qL+ztvDohSLbQ/aAp5CMDTVD8qQa2AtpZ4NJQmpPBjZsNoF9NsC 70P2Fe6UvGihxF7muELmDw0HiFXfLk6tNHzrqEZT1kBnsBCi1w4vnLwXkmHM2uw+tgZp TG5146INWy4V8wyHTZUL//ifclJdSrHYxSLN8Ou7216qrFLVwXgEHWxUaDAhrSheZJJc pEsQtFunltZaINVA/NbQTAXeyta8SisqMJiatHjmtoAmM+Ghsk5Gr0MyynLIaDszWcsz NzHjZDpMpIxcPHF32nz1if6FDeocfkFPai54ABQeXIe5CAOvAAndzXAPml0gj8hVmjiV ot7Q== X-Gm-Message-State: AEkoouu2cVHTgbrtSf01Y6kUDBlZ34OBYZ3B/VN8IHv9IuCWdXw2bq0yKhbO7so7zPKn9g== X-Received: by 10.25.16.92 with SMTP id f89mr533945lfi.143.1470828038122; Wed, 10 Aug 2016 04:20:38 -0700 (PDT) Received: from [10.0.0.18] ([109.188.126.37]) by smtp.gmail.com with ESMTPSA id g42sm7540519lji.40.2016.08.10.04.20.36 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Aug 2016 04:20:37 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_42AF300E-AA81-45C7-B121-E345CA432350"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: IgniteException on starting node from Jar X-Pgp-Agent: GPGMail From: Alisher Alimov In-Reply-To: <1470825046568-6916.post@n6.nabble.com> Date: Wed, 10 Aug 2016 14:20:35 +0300 Message-Id: <7B163879-DEB6-48DF-8198-79B4768063EC@gmail.com> References: <1470753586420-6881.post@n6.nabble.com> <7F6C2627-BED1-41EB-A52A-9644357A8A18@gmail.com> <1470755742470-6883.post@n6.nabble.com> <1470784981489-6887.post@n6.nabble.com> <539F7BBB-7886-443B-986B-0D3F8170E8CD@target.com> <35CFF8E7-1834-45FF-9915-FBC9ECC94E23@gmail.com> <1470825046568-6916.post@n6.nabble.com> To: user@ignite.apache.org X-Mailer: Apple Mail (2.3124) archived-at: Wed, 10 Aug 2016 11:20:53 -0000 --Apple-Mail=_42AF300E-AA81-45C7-B121-E345CA432350 Content-Type: multipart/alternative; boundary="Apple-Mail=_BF876913-6F7E-42C8-A309-DC71801C5C1E" --Apple-Mail=_BF876913-6F7E-42C8-A309-DC71801C5C1E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Ok, I understand. Seems that when you are running application you specify full path to = mpm-ignite.xml, in mpm-ignite.xml defined not absolute path to = mpm-default.xml and thats why Spring can=E2=80=99t locate resource, you = must specify full path to mpm-default.xml or place configuration files = in resources directory and use relative path Please read more about passing configuration file to Ignite here: = https://apacheignite.readme.io/docs/getting-started#section-passing-config= uration-file With best regards Alisher Alimov alimovalisher@gmail.com > On 10 =D0=B0=D0=B2=D0=B3. 2016 =D0=B3., at 13:30, chevy = wrote: >=20 > I am using just the config and I think the details provided by = ignite.sh are > provided by ignite maven dependences. When I run through my ide it = just > refers to config and performs node startup. Can I replicate similar = behavior > through my jar itself? Otherwise it points to xml which is available = under > IGNITE_HOME and not inside the jar. >=20 >=20 >=20 > -- > View this message in context: = http://apache-ignite-users.70518.x6.nabble.com/IgniteException-on-starting= -node-from-Jar-tp6881p6916.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. --Apple-Mail=_BF876913-6F7E-42C8-A309-DC71801C5C1E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Ok, I understand.

Seems that when you are running =  application you specify full path to mpm-ignite.xml, = in mpm-ignite.xml defined not absolute path to mpm-default.xml = and thats why Spring can=E2=80=99t locate resource, you must specify = full path to mpm-default.xml or place configuration files in = resources directory and use relative path 

Please read more about passing = configuration file to Ignite here: https://apacheignite.readme.io/docs/getting-started#section-pas= sing-configuration-file

With best regards
Alisher = Alimov




On 10 =D0=B0=D0=B2=D0=B3. 2016 =D0=B3., at 13:30, chevy = <chetan.v.yadav@target.com> wrote:

I am = using just the config and I think the details provided by ignite.sh = are
provided by ignite maven dependences. When I run = through my ide it just
refers to config and performs node = startup. Can I replicate similar behavior
through my jar = itself? Otherwise it points to xml which is available under
IGNITE_HOME and not inside the jar.



--
View this = message in context: http://apache-ignite-users.70518.x6.nabble.com/IgniteException-= on-starting-node-from-Jar-tp6881p6916.html
Sent from = the Apache Ignite Users mailing list archive at Nabble.com.

= --Apple-Mail=_BF876913-6F7E-42C8-A309-DC71801C5C1E-- --Apple-Mail=_42AF300E-AA81-45C7-B121-E345CA432350 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJXqw4DAAoJEAJwPlFY4Tr9feoH/AlFcLHK95nlevI9Y+/isTiy vSH9PaUTs4xRjbdt/9rGJXBINXoi1uK0D/q5Nb7PY+r80hOj9aPoqAJZbD96XXXm isEKU5FeB5BTW9ZFGKYvpcooQgKS3GkM7KHdZkDSraDrhHsVEdDfdqEldoCzJ3il H4KPCj0U4IJwqHiX02hWGoEH3Pwt7RB+q+XeOLWB4vrNf0cBqELXEbEIUCTVDrRA 3T07I6hxMjY9i6jwG7O6D30546tXvT0Yv9NNauBYSTYxLGlgXgrvY58NFtRtJidt beATLLYiV5i9dO9o1YI+5OOBjWpscbFHHJ75OFOcI7xJ8NFR4bD8CPKQn4/jv/Q= =itdv -----END PGP SIGNATURE----- --Apple-Mail=_42AF300E-AA81-45C7-B121-E345CA432350--