Return-Path: X-Original-To: apmail-oodt-commits-archive@www.apache.org Delivered-To: apmail-oodt-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC635EAB7 for ; Mon, 18 Feb 2013 23:03:13 +0000 (UTC) Received: (qmail 48084 invoked by uid 500); 18 Feb 2013 23:03:13 -0000 Delivered-To: apmail-oodt-commits-archive@oodt.apache.org Received: (qmail 48037 invoked by uid 500); 18 Feb 2013 23:03:13 -0000 Mailing-List: contact commits-help@oodt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oodt.apache.org Delivered-To: mailing list commits@oodt.apache.org Received: (qmail 47846 invoked by uid 99); 18 Feb 2013 23:03:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 23:03:13 +0000 Date: Mon, 18 Feb 2013 23:03:13 +0000 (UTC) From: "Luca Cinquini (JIRA)" To: commits@oodt.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (OODT-558) External configuration file for web-grid servlet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OODT-558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luca Cinquini resolved OODT-558. -------------------------------- Resolution: Fixed Implemented by using an optional servlet configuration property "org.apache.oodt.grid.GridServlet.config". At startup, the web grid servlet first looks for the location defined by this context property, if not found it will read/write its configuration from the file WEB-INF/config.xml. Example of servlet context that uses this property: ~ ~ ~ ~ ~ ~ ~ ~ > External configuration file for web-grid servlet > ------------------------------------------------ > > Key: OODT-558 > URL: https://issues.apache.org/jira/browse/OODT-558 > Project: OODT > Issue Type: Improvement > Components: product server > Affects Versions: 0.5 > Reporter: Luca Cinquini > Assignee: Luca Cinquini > Fix For: 0.6 > > > Currently the web-grid servlet can only read/write its configuration to the file WEB-INF/config.xml within the application itself. If the web-grid.war file is deployed through a Tomcat context file, it is necessary for it to be able to read its configuration from an external location, specified through a context parameter, for example named "org.apache.oodt.grid.GridServlet.config". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira