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 43B1E200D4E for ; Thu, 7 Dec 2017 12:50:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 425A7160C0C; Thu, 7 Dec 2017 11:50:02 +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 888B7160BFE for ; Thu, 7 Dec 2017 12:50:01 +0100 (CET) Received: (qmail 70996 invoked by uid 500); 7 Dec 2017 11:50:00 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 70986 invoked by uid 99); 7 Dec 2017 11:50:00 -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; Thu, 07 Dec 2017 11:50:00 +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 AB59F1807C6 for ; Thu, 7 Dec 2017 11:49:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.487 X-Spam-Level: X-Spam-Status: No, score=-0.487 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, URI_HEX=1.313] autolearn=disabled 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 UFBumRseebYI for ; Thu, 7 Dec 2017 11:49:58 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 77B425F3BE for ; Thu, 7 Dec 2017 11:49:57 +0000 (UTC) Received: from [192.168.1.23] ([90.10.97.180]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MLfrX-1eNBfU3xTf-000pf1 for ; Thu, 07 Dec 2017 12:49:56 +0100 Subject: Re: Two Karaf instances using one database To: user@karaf.apache.org References: <1512640558179-0.post@n3.nabble.com> <3cd996b0-dfba-4641-ac98-873dd0f9059a@nanthrax.net> <1512642304074-0.post@n3.nabble.com> <1512646207564-0.post@n3.nabble.com> <644b5b0a-acf3-1296-903d-2c67adee3ecc@openobject.fr> <1512647045187-0.post@n3.nabble.com> From: Francois Papon Message-ID: Date: Thu, 7 Dec 2017 15:49:42 +0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1512647045187-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: fr X-Provags-ID: V03:K0:h1FZmwSi7mMMS9rl8KHIL6nZ1s9jJKD05GEJtNSGhswsPs7KakY rrmIbfaN82D4UzKue5Rih9Y+ZzGa7B7SqcyUgKCxgMwCX/t8ZNdxSgzqJfCVe8EsuYkuEbM rbRBPQ8Xt0tt5YmOvdnZzlhdbZCtfcWAzSoYHpC3t0s47ycHjJuw8sqQqGYKR839KfaZ4t8 Cj39PKZNq8ryB65eHPxCg== X-UI-Out-Filterresults: notjunk:1;V01:K0:WDwntKKfiTk=:x0tNNXvhvnfYYxFlmCbiKQ QjA0suL6qq5bf39Q/OE59YiErHTMroS+0U7eSOuubA6GUr2KAVwcXTMuBDEYusNQGVd1Vo5Tp +OgV7momN/PgmJs52SEdo+YPkUZ/w2T9PVmTPMMN821J5iYcwhBiL2kQcQ2PrMpwChD9f8bBw eraVoiNb4B70/P8poWGaOF0jd9sncN8ZAYPiZwiGgOGzWXHzYqFxTr233jm9icwUY6Vnn2jMh 3Gw2XtCM9FlcmnS6bpNkZn5cUN1ZxHashJFE5dwyps3Dfi/JzjiJgwLwRMxB/8pj+uZEoR3Ql md5XrmSRyfQSb5B7QnbBKS0RW01N/kol0+qG2mp1zTxaqYsKZcfaqUbCU4+w/jH474FJCZCu7 d/MY39djo8kimkPmsGlKAUVXoE0tjCha4eXTsv2/+BoMyJJuysyLLE+l5xkmDQbFUkmFVNDtg IL9yYozyfskJNeTymidQRbLqEOwKwRxC68N92sgNy2e2Kj9Rr2styODrrohyRf+oFy7FgluZv EZnXoV/METoCbyQzk7E1Mnc9Tf3Q5gzwXQxtV2JaZDvhVEf92PYHiDFZiySnMDXGDe+X6sTvt /KPalr9HQzn65pjoeFA9z4UWR4wV1b0TMRMp2tVMsvtTa8VIh789uG0v3QktJPMSYf/23PMNK C+SNhyAYHBoVNiMxU9cpOq/ji9Ml7thbD/3j7ZqII9ogLrO+AqfOJo+M5ELdVucltqBTKN61k m/oGuAxP33lc25eLD/xyogRqELEI8HUi8DroVR0Ew7oMj6zvI4H/98CUt/BQ5Szi3Sm5HzcXb aGnhIGj archived-at: Thu, 07 Dec 2017 11:50:02 -0000 Your instance are deployed on the same machine (just to confirm because your database url is localhost) ? Do you have the same feature installed and started, same jdbc oracle drivers ? It seems like bundle or feature are missing in your second instance. Le 07/12/2017 à 15:44, Dominik Marciniszyn a écrit : > Only on first Karaf instance everything works well. On the second I see > nothing. I was trying to declare other datasource but it won't help. I mean > other datasource name. > > My config for ds looks: > > osgi.jdbc.driver.name=oracle-pool-xa > url=jdbc:oracle:thin:@localhost:1521:XE > user=user > password=password > databaseName=MyDB > dataSourceName=my_persistence_unit > > The filename of this config is: > "org.ops4j.datasource-my_persistence_unit.cfg" > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html