You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by "STONE,ROBERT (HP-SanDiego,ex1)" <bo...@hp.com> on 2003/04/03 02:58:47 UTC
Client code for xindice1.1 on Tomcat
I'm running latest snapshot of xindice1.1 on tomcat4.1(W2K). Tomcat runs on
the default port 8080. No problem accessing debug tool
(hpsd0139:8080/Xindice) and to drill into the database. No such luck with
the remote access.
My client code on the separate W2K machine is this:
String driver = "org.apache.xindice.client.xmldb.DatabaseImpl";
Class c = Class.forName(driver);
Database database = (Database) c.newInstance();
DatabaseManager.registerDatabase(database);
col = DatabaseManager.getCollection("xmldb:xindice://hpsd0139:8080/db");
it fails with this message
org.xmldb.api.base.XMLDBException: A connection to the Database instance
'db' could not be created. Error: http://hpsd0139:8080/db_bootstrap.ior
I searched the archives and didn't find the answer
Thanks for helping,
Bob Stone