Context.xml file for Nutch web application
------------------------------------------
Key: NUTCH-210
URL: http://issues.apache.org/jira/browse/NUTCH-210
Project: Nutch
Type: Improvement
Components: web gui
Versions: 0.7.1, 0.7, 0.6, 0.7.2-dev, 0.8-dev
Environment: iMAC G5 2.3 Ghz, Mac OS X Tiger (10.4.3), 1.5 GB RAM, although
improvement is independent of environment
Reporter: Chris A. Mattmann
Assigned to: Chris A. Mattmann
Priority: Minor
Fix For: 0.7.2-dev, 0.8-dev, 0.7.1
Currently the nutch web gui references a few parameters that are highly
dynamic, e.g., searcher.dir. These dynamic properties are read from the
configuration files, such as nutch-default.xml. One problem I'm noticing
however is that in order to change the parameter in the built webapp (the WAR
file), I am required to change the parameter first in the checked out Nutch
source tree, rebuild the webapp, then redploy. Or, if I'm feeling really
gutsty, I can go poke around in the unpackaged WAR file if the servlet
container exposes it to me, and try and modify the nutch-default.xml file that
way. However, I think that it would be really nice (and highly useful for that
matter) to factor out some of the more dynamic parameters of the web
application into a separate deliverable Context.xml file that would accompany
the webapp. The Context.xml file would be deployed in the webapps directory, as
oppossed to the WAR file itself, and the parameters could be updated there, and
changed as many times as necessary, without rebuilding the WAR file.
Of course this will involve making minor modifications in the web GUI to where
some of the dynamic parameters are read from (i.e., make it read them from the
Context.xml file (using application.getParameter most likely). Right now the
only one I can think of is searcher.dir, but I'm sure that there are others (in
particular the searcher.dir one is the most annoying for me).
The timeframe on this patch will be within the next month.
Thanks,
Chris
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers