From users-return-21396-apmail-tomee-users-archive=tomee.apache.org@tomee.apache.org Wed Sep 2 14:36:03 2015 Return-Path: X-Original-To: apmail-tomee-users-archive@www.apache.org Delivered-To: apmail-tomee-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C411B1771C for ; Wed, 2 Sep 2015 14:36:03 +0000 (UTC) Received: (qmail 75095 invoked by uid 500); 2 Sep 2015 14:36:03 -0000 Delivered-To: apmail-tomee-users-archive@tomee.apache.org Received: (qmail 75067 invoked by uid 500); 2 Sep 2015 14:36:03 -0000 Mailing-List: contact users-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tomee.apache.org Delivered-To: mailing list users@tomee.apache.org Received: (qmail 75046 invoked by uid 99); 2 Sep 2015 14:36:03 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2015 14:36:03 +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 E61191AB4CF for ; Wed, 2 Sep 2015 14:36:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.214 X-Spam-Level: **** X-Spam-Status: No, score=4.214 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZJcLRIu79hm1 for ; Wed, 2 Sep 2015 14:35:49 +0000 (UTC) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 4354120647 for ; Wed, 2 Sep 2015 14:35:48 +0000 (UTC) Received: by lbpo4 with SMTP id o4so7306371lbp.2 for ; Wed, 02 Sep 2015 07:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=nm2ZNlAX8hPgiN42K6CthL6x9gRfi7N2y9vm00gM+OQ=; b=tHXAvAlxBEY8Tf29x6lNH7OLGFYr/vAszStBztJAyqqqb3hrFxTCGhf74gdGJAsflJ HyFAHF8LJdBJ3JOfIX4mhlE9dorYxiHI23mfhwhrA0Ve4HnksYeuVTeRMOsy8eEEk6HS d64XtmF42EmvZjbcS80OcXndxSoNhTWjYN/48Rq/1dwu9EdllxX25l//3FDhwsgBmpYf q99RLM15b5YL5KlONX6CV4KmceN1px9gSb7jyhmEIOFzZWBuub41t/1opcjIdnBIg4W8 7C5Sa0cY/S9BlUi59T4vBNYBZ7QYEPuUPeAdWTCcM6Rje4d3j2NAzVNzoc+D+bi/EUJM u6pQ== X-Received: by 10.153.4.40 with SMTP id cb8mr8178717lad.121.1441204546474; Wed, 02 Sep 2015 07:35:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.140.37 with HTTP; Wed, 2 Sep 2015 07:35:26 -0700 (PDT) In-Reply-To: References: <1441149110254-4676052.post@n4.nabble.com> <1441158891625-4676053.post@n4.nabble.com> From: Romain Manni-Bucau Date: Wed, 2 Sep 2015 16:35:26 +0200 Message-ID: Subject: Re: JCache cache manager configuration file To: "users@tomee.apache.org" Content-Type: multipart/alternative; boundary=001a113433d60a99eb051ec495f3 --001a113433d60a99eb051ec495f3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable weird, either it uses a different provider or it is ehcache specific. Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber 2015-09-02 16:27 GMT+02:00 Steve Goldsmith : > No, this is different. If I use the default configuration > cachingProvider.getCacheManager() all is good. I can access the cache > inside the service via cacheBean.getCacheManager().getCache("testCache"). > If I specify the configuration file location in getCacheManager I can no > longer access the cache. It doesn't matter what classloader I pass either > including the default. > > On Wed, Sep 2, 2015 at 2:15 AM, Romain Manni-Bucau > wrote: > > > providers are by classloader, arent you in the same issue you got > > previously? > > Le 2 sept. 2015 04:00, "sgjava" a =C3=A9crit : > > > > > Using system properties for ehcache.xml substitution will get me what= I > > > need > > > for now. I updated my Github https://github.com/sgjava/jcache-tomee t= o > > > reflect that. It's not ideal, but it allows me to configure RMI > provider > > > and > > > listner (among other properties). It does not require any provider > > specific > > > code as well, so I should be able to plug in other implementations. > > > > > > > > > > > > -- > > > View this message in context: > > > > > > http://tomee-openejb.979440.n4.nabble.com/JCache-cache-manager-configurat= ion-file-tp4676052p4676053.html > > > Sent from the TomEE Users mailing list archive at Nabble.com. > > > > > > > > > -- > Steven P. Goldsmith > --001a113433d60a99eb051ec495f3--