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 D8816200D27 for ; Wed, 25 Oct 2017 13:19:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D6CBC160BDA; Wed, 25 Oct 2017 11:19:50 +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 4C8711609E5 for ; Wed, 25 Oct 2017 13:19:50 +0200 (CEST) Received: (qmail 99344 invoked by uid 500); 25 Oct 2017 11:19:49 -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 99334 invoked by uid 99); 25 Oct 2017 11:19:49 -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; Wed, 25 Oct 2017 11:19:49 +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 8FDE21807D2 for ; Wed, 25 Oct 2017 11:19:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.971 X-Spam-Level: X-Spam-Status: No, score=0.971 tagged_above=-999 required=6.31 tests=[SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id gVof33IDPg_y for ; Wed, 25 Oct 2017 11:19:47 +0000 (UTC) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0C2FD5F238 for ; Wed, 25 Oct 2017 11:19:47 +0000 (UTC) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 60D2A276E104 for ; Wed, 25 Oct 2017 04:19:46 -0700 (MST) Date: Wed, 25 Oct 2017 04:19:46 -0700 (MST) From: dkarachentsev To: user@ignite.apache.org Message-ID: <1508930386393-0.post@n6.nabble.com> In-Reply-To: <1508239815885-0.post@n6.nabble.com> References: <1508062639344-0.post@n6.nabble.com> <1508141473939-0.post@n6.nabble.com> <1508144138115-0.post@n6.nabble.com> <1508144470955-0.post@n6.nabble.com> <1508239815885-0.post@n6.nabble.com> Subject: Re: custom restful service using jetty server on top of ignite grid to perform crud operations and configure cache store MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Wed, 25 Oct 2017 11:19:51 -0000 Hi, In your code Ignite could not inject it's instance, because you have two instances of your class: one in Ignite as a service, another one is object that processes requests in Jersey. So when you're doing http query, it goes to jersey instance. How do you start Ignite? You may get ignite with Ignition.ignite(). Thanks! -Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/