I've eliminated the XindiceServlet, in stead I'm trying to initialize a database from my own servlet , like so
String driver = "org.apache.xindice.client.xmldb.DatabaseImpl";
Class c = Class.forName(driver);
Database database = (Database) c.newInstance();
DatabaseManager.registerDatabase (database);
collection = DatabaseManager.getCollection ("xmldb:xindice:///db/coll");first alot of propertypermissions are requested, then suddenly it wants to
connect to localhost:8888. How do I change this, I'm not interested in using RPC,
but if thats necessary, I'd like 8080 for a port.
Can anyone tell me what I've missed, where I go wrong,
or how to change the port-number.
thanks.
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
