Re: Please help me run Example1

"Lisa McCabe" <[email protected]>
Newsgroups gmane.text.xml.xindice.user
Message-ID <00e801c57775$ea486860$8ed3d442@MegaCool>
Hello,

I am still trying to get Example1 to run (unfortunately). I have changed the port to 8080. I have also added xmlParserAPIs.jar and xercesImpl.jar to my CLASSPATH. I still am getting the same runtime error.

If my URI is "xmldb:xindice:///db/addressbook" as specified in Example1, I get

XML:DB Exception occurred 1 A connection to the Database Instance 'db' could not be created. Error:  Connection refused: connect

Else if my URI is "xmldb:xindice://localhost:8080/db/addressbook"
XML:DB Exception occurred 1 A connection to the Database Instance 'db' could not be created. Error: http://localhost:8080/db_bootstrap.ior

Commandline xindice and "Ugly" web browser have no problems "connecting" to /db. 

I really need to move past this problem (and on to the next!) Hope you can help...

Thanks,
Lisa McCabe

----- Original Message ----- 
  From: Lisa McCabe 
  To: [email protected] 
  Sent: Monday, June 20, 2005 4:48 PM
  Subject: Please help me run Example1


  Hi,

  I am having trouble getting Example1 to work correctly. I am using Xindice 1.1b4 with Tomcat V5.

  Example1 runs but gives me the following:

  XML:DB Exception occurred 1 A connection to the Database Instance 'db' could not be created. Error: http://localhost:8888/db_bootstrap.ior

  Xindice commandline works fine. And I can view /db through the "Ugly Browser".

  I also get basically the same error when I try to run XindiceBrowser.

  I have read through some old xindice-users problem emails, looking for similar problems. I have found one saying that db_bootstrap.ior indicates that I am using Xindice 1.0 client and Xindice 1.1 Server.
  Since I downloaded Xindice binary in one .zip, I am not sure how I could have that problem. Another email said it could be a CLASSPATH problem. I think I now have every .jar file on the planet in my classpath but the email indicated xmlParserAPIs.jar and xercesImpl.jar (not xerces.jar), I could find neither of those.

  Is there anyone out there who could help me with this problem???!

  Need help,
  Lisa McCabe

  Thanks a bunch in advance!!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.