Hi,

I\\\'m a newbie in Xindice and I have question, the solution is might simple 
for 
on of you.

Please imagine the following situation:

1. I have deployed a Xindice war file to a Tomcat 4.1.29 installation. 
        <context path=\\\"/xindice\\\" docBase=\\\"xindice-1.1b2\\\" ...>
        system.xml:
        <root-collection dbroot=\\\"./db/\\\" name=\\\"db\\\" 
use-metadata=\\\"on\\\"> 2. I have deployed a second Xindice war file
        <context path=\\\"/xindice2\\\" docBase=\\\"xindice-1.1b2_2\\\" ...>
        system.xml:
        <root-collection dbroot=\\\"./db/\\\" name=\\\"db2\\\" 
use-metadata=\\\"on\\\"> 3. I have started Tomcat and both databases work 
properly (tomcat output)

4. With the Xindice command line tool I\\\'am able to access the first database:
    e.g.: xindice lc -c xmldb:xindice://localhost:8080/db

5. It also works with the Java Example1.java file:
   collection = 
getCollection(\\\"xmldb:xindice://localhost:8080/db/register\\\");

Now my question. How can I access and how must the url look like in order to 
access the xindic2 database db2.

Thanx in advance for sour support

Thorsten

Reply via email to