[
https://issues.apache.org/jira/browse/OODT-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580880#comment-13580880
]
Luca Cinquini edited comment on OODT-558 at 2/18/13 11:02 PM:
--------------------------------------------------------------
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"
value="/home/apache/web-grid/config.xml"/>
</Context>
was (Author: cinquini):
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"
value="/home/apache/web-grid/config.xml"/>
</Context>
~
~
~
~
~
~
~
~
> 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