You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by gi...@apache.org on 2002/11/30 20:06:45 UTC

cvs commit: xml-xindice/src/documentation/content/xdocs faq.xml

gianugo     2002/11/30 11:06:45

  Modified:    src/documentation/content/xdocs faq.xml
  Log:
  Started documenting the new database root policy.
  
  Revision  Changes    Path
  1.4       +30 -1     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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- faq.xml	24 Nov 2002 00:36:56 -0000	1.3
  +++ faq.xml	30 Nov 2002 19:06:45 -0000	1.4
  @@ -255,4 +255,33 @@
       </p>
               </answer>
         </faq>
  +      <faq>
  +          <question>
  +            I'm using Xindice 1.1. Where is my database?
  +          </question>
  +          <answer>
  +            <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
  +            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. 
  +            </p>
  +            <p>
  +            This behaviour can be overridden in two ways: either by editing
  +            /WEB-INF/system.xml and setting an absolute path as the "dbroot"
  +            attribute of the "root-collection" tag, or by setting the Java
  +            property "xindice.db.home" to a path that will be the parent for
  +            the "./db" directory. As an example, setting the property on the
  +            command line with a value of "/var/xindice" 
  +            (-Dxindice.db.home=/var/xindice) will mean that the database will
  +            be found at /var/xindice/db.
  +            </p>
  +          </answer>
  +       </faq>
   </faqs>