Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F000249CE for ; Fri, 17 Jun 2011 19:42:22 +0000 (UTC) Received: (qmail 80206 invoked by uid 500); 17 Jun 2011 19:42:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 80177 invoked by uid 500); 17 Jun 2011 19:42:22 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 80169 invoked by uid 99); 17 Jun 2011 19:42:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 19:42:22 +0000 X-ASF-Spam-Status: No, hits=4.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 19:42:17 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QXevU-0008Sa-8m for users@jackrabbit.apache.org; Fri, 17 Jun 2011 12:41:56 -0700 Date: Fri, 17 Jun 2011 12:41:56 -0700 (PDT) From: mmjose26 To: users@jackrabbit.apache.org Message-ID: <1308339716263-3606306.post@n4.nabble.com> In-Reply-To: <1307982813652-3594250.post@n4.nabble.com> References: <1307982813652-3594250.post@n4.nabble.com> Subject: Re: jackrabbit JCA home configuration MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Answering myself, I was doing test and debug on the JCA component, and I found that JR-JCA does not read repository home dir from system properties. I think that could be easy add this feature, because JCA use the default TransientRepository class. If we change a validation in org.apache.jackrabbit.core.RepositoryFactoryImpl: public Repository getRepository(Map parameters) throws RepositoryException { if (parameters == null) { return getRepository(null, Collections.emptyMap()); }.... ....... for this public Repository getRepository(Map parameters) throws RepositoryException { if (parameters == null || parameters.isEmprty()) { return getRepository(null, Collections.emptyMap()); }.... ....... it could works, for JCA but I don't know if this affect other components. someone have ideas? best regards. -- View this message in context: http://jackrabbit.510166.n4.nabble.com/jackrabbit-JCA-home-configuration-tp3594250p3606306.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.