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 gc...@s-und-n.de on 2001/12/13 17:17:44 UTC

Cant get connection to remote dbXML

These are my first steps with dbXML - oops - Xindice.
I ran the Example1.java and it worked fine.
Then I modified it to access DB remotely and I get error message:

XML:DB Exception occured 1 A connection to the Database instance 'db' could
not be created. Error: http://localhost:4080/db.ior

// This works:
col =  DatabaseManager.getCollection("xmldb:dbxml:///db/mydata");

// While this doesnt work:
col =  DatabaseManager.getCollection
("xmldb:dbxml://localhost:4080/db/mydata");

dbXML.log for both requests looks like this:
127.0.0.1 -  - Dec-13-2001 16:35:32 -  - GET ./docs/db_bootstrap.ior 200
326
127.0.0.1 -  - Dec-13-2001 16:35:49 - ERROR - File Not Found: ./docs/db.ior

I read the section in the dev guide but I cant figure out why it fails.
This is 1.0b4 on Windows.
Any help is appreciated.

TIA
Guido



Re: Cant get connection to remote dbXML

Posted by Kimbro Staken <ks...@dbxmlgroup.com>.
This is a bug in the beta 4 version of dbXML. The version in CVS should 
work correctly. Hopefully we'll get a new release out fairly soon.

On Thursday, December 13, 2001, at 09:17 AM, gcasper@s-und-n.de wrote:

> These are my first steps with dbXML - oops - Xindice.
> I ran the Example1.java and it worked fine.
> Then I modified it to access DB remotely and I get error message:
>
> XML:DB Exception occured 1 A connection to the Database instance 'db' 
> could
> not be created. Error: http://localhost:4080/db.ior
>
> // This works:
> col =  DatabaseManager.getCollection("xmldb:dbxml:///db/mydata");
>
> // While this doesnt work:
> col =  DatabaseManager.getCollection
> ("xmldb:dbxml://localhost:4080/db/mydata");
>
> dbXML.log for both requests looks like this:
> 127.0.0.1 -  - Dec-13-2001 16:35:32 -  - GET ./docs/db_bootstrap.ior 200
> 326
> 127.0.0.1 -  - Dec-13-2001 16:35:49 - ERROR - File Not Found: 
> ./docs/db.ior
>
> I read the section in the dev guide but I cant figure out why it fails.
> This is 1.0b4 on Windows.
> Any help is appreciated.
>
> TIA
> Guido
>
>
>
>
Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/