hello sir

 

i read u r article for xindcie on ibm link

i have one query for this

i am try to access xindice remotely on same machine(localhost) my prgm

is running very well but when i am try to run the prgm remotely it giving me

runtime exception

code that i uses is

 

public void setConn() {

try {

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://localhost:4080/db/addressbook");

}

 

this code is running very well but when i want to access remotely i made following change

in above code

 

col =

DatabaseManager.getCollection("xmldb:xindice://192.168.0.53:4080/db/addressbook");

ip-address of server

 

i am getting run time exception

what will be the solutioni to this

 

i hope that u donot mind for this

regards

student

Yahoo! India Matrimony: Find your partner online.

Reply via email to