Hi there,

 

Does anyone know how to connect to an Xindice 1.1 database running under Tomcat, created from the WAR file?

With version 1 I used:

 

db = (Database)Class.forName ("org.apache.xindice.client.xmldb.DatabaseImpl").newInstance ();

DatabaseManager.registerDatabase (db);

col = DatabaseManager.getCollection ("xmldb:xindice:///db");

 

Which worked when Xindice was running as an application.

 

Any help would be much appreciated.

 

Cheers

 

Matt

 

-----------------------------------------
Matt Allbeury
Senior Web Developer
Clinic Design & New Media
31 Fullarton Road
Kent Town
SA 5067
Ph: 08 8363 8367
Fax: 08 8363 8379

 

Reply via email to