Dear All,

From the Mailing list archives, someone suggested that we can run two databases 
by the following configuration,
however, after I changed my system.xml and restarted, it did not work. Is there 
anything wrong for the following configuration ?
Or Is there any other way to run two separate database other than the default 
/db root-collection.
Thx so much.

<services class="org.apache.xindice.server.standard.StdServiceManager">
         <service class="org.apache.xindice.server.services.XindiceService" 
name="Xindice">
            <root-collection dbroot="./db/" name="db" security="false">
               <queryengine>
                  <resolver autoindex="false" 
class="org.apache.xindice.core.query.XPathQueryResolver" />
                  <resolver 
class="org.apache.xindice.core.xupdate.XUpdateQueryResolver" />
               </queryengine>
            </root-collection>
            <root-collection dbroot="./test/" name="test" security="false">
               <queryengine>
                  <resolver autoindex="false" 
class="org.apache.xindice.core.query.XPathQueryResolver" />
                  <resolver 
class="org.apache.xindice.core.xupdate.XUpdateQueryResolver" />
               </queryengine>
            </root-collection>
         </service>

Regards,

Woodas

Reply via email to