oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Cinquini (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OODT-558) External configuration file for web-grid servlet
Date Mon, 18 Feb 2013 23:03:13 GMT

     [ 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:

<Context path="/web-grid" docBase="/scratch/web-grid.war">

   <Parameter name="org.apache.oodt.grid.GridServlet.config"

> 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

View raw message