On first installing xindice I had exactly the same problem and
symptoms. My problem turned out to be not being able to lookup my
system's hostname for an IP address. I suspect the commandline tools
don't use localhost, they use whatever getHostName(2) or hostname(1)
returns. Can that name be resolved into your IP address?

I'm running mandrake linux 8.1, JDK 1.4.0, currently disconnected from
my work network, hence the non-working DNS lookup. Adding the hostname
and address to the local hosts file fixed it.

brian wallis...

>Kimbro Staken wrote:
>
>> Try running the command with -v to see if you can get a stack trace. 
>
>
>DEBUG>
>org.cmldb.api.base.XMLDBException:
>   at org.apache.xindice.core.FaultCodes.createXMLDBException(Unknown 
>Source)
>   at org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(Unknown 
>Source)
>   at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:194)
>   at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:157)
>   at org.apache.xindice.tools.command.ListCollections.execute(Unkown 
>Source)
>   at org.apache.xindice.tools.XMLTools.execute(Unkown Source)
>
>  at org.apache.xindice.tools.XMLTools.process(Unkown Source)
>
>   at org.apache.xindice.tools.XMLUserTools.main(Unkown Source)

Reply via email to