Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io 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 7CBED1663ED for ; Tue, 22 Aug 2017 13:01:56 +0200 (CEST) Received: (qmail 52237 invoked by uid 500); 22 Aug 2017 11:01: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 52225 invoked by uid 99); 22 Aug 2017 11:01:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2017 11:01:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D5A58C006E for ; Tue, 22 Aug 2017 11:01:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.173 X-Spam-Level: ** X-Spam-Status: No, score=2.173 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id hiymxcFGqMQw for ; Tue, 22 Aug 2017 11:01:48 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 70ED05FB2F for ; Tue, 22 Aug 2017 11:01:47 +0000 (UTC) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mwork.nabble.com (Postfix) with ESMTP id E89435E780B84 for ; Tue, 22 Aug 2017 04:01:46 -0700 (MST) Date: Tue, 22 Aug 2017 04:01:46 -0700 (MST) From: rishi007bansod To: user@ignite.apache.org Message-ID: <1503399706945-16361.post@n6.nabble.com> In-Reply-To: <1503389946767-16358.post@n6.nabble.com> References: <1501766811196-15946.post@n6.nabble.com> <1501775493223-15956.post@n6.nabble.com> <1502101033577-16028.post@n6.nabble.com> <1502787606640-16196.post@n6.nabble.com> <7292D427-6C3D-497D-AD03-FAE45A631F19@apache.org> <1503389946767-16358.post@n6.nabble.com> Subject: Re: Error while starting service grid with persistent store enabled MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, When error occured I have used following deployment method, cfg.setName("myService_rishi"); cfg.setService(new codeToDeploy()); cfg.setTotalCount(9); cfg.setMaxPerNodeCount(1); ignite.active(true); ignite.services().deploy(cfg); but then I changed deployment method to, ignite.active(true); IgniteServices svcs = ignite.services(); svcs.deployNodeSingleton("TestService", new SurveillanceAlert()); Also initially code I wrote in java file and xml file, configuration was differing. Later I corrected it. Thanks, Rishikesh -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-while-starting-service-grid-with-persistent-store-enabled-tp15946p16361.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.