vgritsenko 2003/08/07 10:51:49
Modified: src/documentation/content/xdocs faq.xml src/documentation/content/xdocs/community/howto/compilation compilation.xml unix.xml windows.xml src/documentation/content/xdocs/community/howto/installation tomcat.xml src/documentation/content/xdocs/dev doc-contributing.xml guide-administrator.xml guide-developer.xml guide-internals.xml src/documentation/content/xdocs/scratchpad/ui-eclipse install.xml Log: Change port to 8888. Change context path to /xindice. Revision Changes Path 1.5 +3 -3 xml-xindice/src/documentation/content/xdocs/faq.xml Index: faq.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/faq.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- faq.xml 30 Nov 2002 19:06:45 -0000 1.4 +++ faq.xml 7 Aug 2003 17:51:48 -0000 1.5 @@ -263,14 +263,14 @@ <p> Since Xindice 1.1 the database is running under an application server (e.g. Tomcat). The database configuration is located at - [your webapps directory]/Xindice/WEB-INF/system.xml (assuming + [your webapps directory]/xindice/WEB-INF/system.xml (assuming of course that your war was unpacked by the container). </p> <p> Xindice configuration, by default, uses "./db" as the database location, which is assumed as a path relative to the webapp's /WEB-INF location. This means that usually the database will - be located at [your webapps directory]/Xindice/WEB-INF/db. + be located at [your webapps directory]/xindice/WEB-INF/db. </p> <p> This behaviour can be overridden in two ways: either by editing 1.4 +2 -1 xml-xindice/src/documentation/content/xdocs/community/howto/compilation/compilation.xml Index: compilation.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/community/howto/compilation/compilation.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- compilation.xml 26 Nov 2002 09:20:42 -0000 1.3 +++ compilation.xml 7 Aug 2003 17:51:48 -0000 1.4 @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE howto PUBLIC "-//APACHE//DTD How-to V1.0//EN" "howto-v10.dtd"> <!-- 1.4 +2 -1 xml-xindice/src/documentation/content/xdocs/community/howto/compilation/unix.xml Index: unix.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/community/howto/compilation/unix.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- unix.xml 27 Nov 2002 08:23:02 -0000 1.3 +++ unix.xml 7 Aug 2003 17:51:48 -0000 1.4 @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE howto PUBLIC "-//APACHE//DTD How-to V1.0//EN" "howto-v10.dtd"> <!-- - Version: $Revision$ $Date$ 1.3 +2 -1 xml-xindice/src/documentation/content/xdocs/community/howto/compilation/windows.xml Index: windows.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/community/howto/compilation/windows.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- windows.xml 22 Nov 2002 19:39:25 -0000 1.2 +++ windows.xml 7 Aug 2003 17:51:48 -0000 1.3 @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE howto PUBLIC "-//APACHE//DTD How-to V1.0//EN" "howto-v10.dtd"> <!-- - Version: $Revision$ $Date$ 1.4 +3 -2 xml-xindice/src/documentation/content/xdocs/community/howto/installation/tomcat.xml Index: tomcat.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/community/howto/installation/tomcat.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- tomcat.xml 26 Nov 2002 09:20:42 -0000 1.3 +++ tomcat.xml 7 Aug 2003 17:51:48 -0000 1.4 @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE howto PUBLIC "-//APACHE//DTD How-to V1.0//EN" "howto-v10.dtd"> <!-- - Version: $Revision$ $Date$ - --> + --> <howto> <header> <title>Xindice Tomcat How-To</title> 1.3 +3 -3 xml-xindice/src/documentation/content/xdocs/dev/doc-contributing.xml Index: doc-contributing.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/dev/doc-contributing.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- doc-contributing.xml 24 Nov 2002 00:36:09 -0000 1.2 +++ doc-contributing.xml 7 Aug 2003 17:51:48 -0000 1.3 @@ -116,8 +116,8 @@ <p> After restarting Tomcat, you can browse the documentation on <link - href="http://localhost:8080/Xindice-documentation"> - localhost:8080/Xindice-documentation</link> and edit + href="http://localhost:8888/Xindice-documentation"> + localhost:8888/Xindice-documentation</link> and edit the source from the <code>src/documentation</code> folder. </p> 1.4 +4 -3 xml-xindice/src/documentation/content/xdocs/dev/guide-administrator.xml Index: guide-administrator.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/dev/guide-administrator.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- guide-administrator.xml 24 Jan 2003 14:19:33 -0000 1.3 +++ guide-administrator.xml 7 Aug 2003 17:51:48 -0000 1.4 @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd"> <document> <header> @@ -168,7 +169,7 @@ </p> <ul> <li>The Xindice XML-RPC endpoint is configured in the client - as <code>http://anyserver:anyport/Xindice/</code>. This + as <code>http://anyserver:anyport/xindice/</code>. This means that it's strongly advisable to deploy the Xindice WAR file under a <code>Xindice</code> context. This can be easily accomplished under Tomcat by simply renaming the WAR @@ -209,7 +210,7 @@ </p> <source><![CDATA[ catalina.sh stop - cd $TOMCAT_HOME/webapps/Xindice/WEB-INF + cd $TOMCAT_HOME/webapps/xindice/WEB-INF cp -pr db /backup/db catalina.sh start ]]></source> @@ -223,7 +224,7 @@ </p> <source><![CDATA[ catalina.sh stop - cd $TOMCAT_HOME/webapps/Xindice/WEB-INF + cd $TOMCAT_HOME/webapps/xindice/WEB-INF rm -rf db cp -pr /backup/db db catalina.sh start 1.3 +2 -2 xml-xindice/src/documentation/content/xdocs/dev/guide-developer.xml Index: guide-developer.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/dev/guide-developer.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- guide-developer.xml 30 Dec 2002 18:33:20 -0000 1.2 +++ guide-developer.xml 7 Aug 2003 17:51:48 -0000 1.3 @@ -1229,7 +1229,7 @@ my($server,$result,$url); -$url = 'http://localhost:8080/xindice-1.1b'; +$url = 'http://localhost:8888/xindice'; $server = Frontier::Client->new('url'=>$url,'debug'=>0); ## try listing the collections 1.13 +2 -2 xml-xindice/src/documentation/content/xdocs/dev/guide-internals.xml Index: guide-internals.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/dev/guide-internals.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- guide-internals.xml 9 Jul 2003 16:35:11 -0000 1.12 +++ guide-internals.xml 7 Aug 2003 17:51:48 -0000 1.13 @@ -116,7 +116,7 @@ Xindice will try to find a system property called <code>xindice.db.home</code> and append to it the value of the "dbroot" attribute. If such system property is not set, Xindice will try to use the <code>/WEB-INF</code> webapp directory (under - Tomcat it will be something like <code>[TOMCAT_HOME]/webapps/Xindice/WEB-INF</code> + Tomcat it will be something like <code>[TOMCAT_HOME]/webapps/xindice/WEB-INF</code> as the parent (be aware that in case of a webapp upgrade it's possible to lose the whole database). If even that fails (e.g. because the WAR file was not unpacked), an Exception will be thrown and Xindice will fail to initialize with a proper 1.2 +2 -1 xml-xindice/src/documentation/content/xdocs/scratchpad/ui-eclipse/install.xml Index: install.xml =================================================================== RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/scratchpad/ui-eclipse/install.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- install.xml 5 Jun 2003 20:15:24 -0000 1.1 +++ install.xml 7 Aug 2003 17:51:49 -0000 1.2 @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE howto PUBLIC "-//APACHE//DTD How-to V1.0//EN" "howto-v10.dtd"> <!-- - Version: $Revision$ $Date$