From: Michael S. <sta...@us...> - 2005-10-20 00:16:52
|
Update of /cvsroot/archive-access/archive-access/projects/wera/src/articles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7210/src/articles Modified Files: manual.xml Log Message: * src/articles/manual.xml Added section on config of arcretreiver. Removed sections on setting path to arc in wera config.inc Index: manual.xml =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wera/src/articles/manual.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** manual.xml 13 Oct 2005 22:09:28 -0000 1.3 --- manual.xml 20 Oct 2005 00:16:39 -0000 1.4 *************** *** 257,261 **** <listitem> <para>Tomcat servlet container ! (http://jakarta.apache.org/tomcat/index.html). The ArcRetriever web app has been tested on v.5.0.27 and 5.0.28 as well as in 5.5.9.</para> --- 257,261 ---- <listitem> <para>Tomcat servlet container ! (http://jakarta.apache.org/tomcat/index.html). The arcretriever web app has been tested on v.5.0.27 and 5.0.28 as well as in 5.5.9.</para> *************** *** 332,339 **** <listitem> ! <para>Move the file ArcRetriever.war from <filename>$WERA_HOME/webapps/wera</filename> to the webapps directory of the tomcat installation of the host where your ARC-files reside (i.e. $TOMCAT_HOME/webapps).</para> </listitem> --- 332,363 ---- <listitem> ! <para>Move the file arcretriever.war from <filename>$WERA_HOME/webapps/wera</filename> to the webapps directory of the tomcat installation of the host where your ARC-files reside (i.e. $TOMCAT_HOME/webapps).</para> + <para>You must next configure the arcretreiver telling it where + the directory of ARCs that it is to retrieve from resides. + The configuration is inside in the WEB-INF/web.xml file. + Dependent on your tomcat configuration, usually, tomcat will + unjar the arcretriever.war file once the webapp has been + deployed. If so, shutdown tomcat, remove arcretriever.war, + leaving the arcretreiver directory in place, edit the + arcretriever/WEB-INF/web.xml file setting full path to the arcdir + and then restart tomcat. If tomcat does not undo your WAR file, + you'll have to do it yourself. Move the WAR file out from under + tomcat. Use the java jar command to undo the WAR. + <programlisting> % cd /tmp + % mkdir arcretriever + % cd arcretriever + % cp $WERA_HOME/webapps/arcretriever.war arcretriever + % $JAVA_HOME/bin/jar xf arcretriever.war + % rm arcretriever.war + (EDIT arcretriever/WEB-INF/web.xml. Set 'arcdir' param-value to full path to arcs.) + % cd ../ + % mv arcretriever $TOMCAT_HOME/webapps + % %TOMCAT_HOME/bin/shutdown.sh + % %TOMCAT_HOME/bin/startup.sh + </programlisting> + </para> </listitem> *************** *** 382,402 **** <row> - <entry>$conf_aid_prefix = "/var/arcs/";</entry> - - <entry>The current version of the arcretriever needs to know - where the ARC-files are located. All the ARC-files that you - indexed with nutch should be placed in one directory. The - path goes into this parameter (This configuration will be - moved into arcretreiver).</entry> - </row> - - <row> - <entry>$conf_aid_suffix = ".arc.gz";</entry> - - <entry>The suffix of the ARC files in above - directory.</entry> - </row> - - <row> <entry>$document_retriever = "http://localhost:8080/arcretriever/arcretriever";</entry> --- 406,409 ---- |