xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Pinte <stan.pi...@axone.be>
Subject Re: remote connection to a Xindice db installed in jboss (jetty)
Date Thu, 07 Aug 2003 10:14:52 GMT

actually I found the hack: rename the war to Xindice.war, re-deploy, and 
use the following URI:

  col =
             DatabaseManager.getCollection("xmldb:xindice://localhost:8086/db/");

It now leads the error:

XML:DB Exception occured 201 Cannot create child collection

Any idea?

thanks,

Stan.

At 12:01 07/08/2003 +0200, Stan Pinte wrote:
>hello,
>
>the following URL works fine for me, a proff the Xindice runs:
>
>http://localhost:8086/xindice-1.1b1?/db//system/SysConfig&database.xml
>
>but I cannot connect remotely to the db:
>
>using
>
>Database database = (Database) c.newInstance();
>          DatabaseManager.registerDatabase(database);
>          col =
> 
>DatabaseManager.getCollection("xmldb:xindice://localhost:8086/xindice-1.1b1/db/");
>
>
>a previous post on the mailing list has never been answered...
>
>any idea?
>
>>Remote access to xindice
>>Yury Mikhienko cocoon-users@xml.apache.org
>>Sun, 9 Mar 2003 16:42:45 +0300
>>
>>Previous message: Reduce body fat and build lean muscle without exercise
>>Next message: Some results on cocoon debug attempt
>>Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>
>>Hi All!
>>I use the Xindice v1.1 starting on Tomcat 4.1.12 like webapp, and 
>>cocoons(v 2.0.4) XMLDBSource works properly with xindice db if I use the 
>>xmldb:xindice///db/... collection resource path.
>>But now I want have the remote access to xindice db (with using the xmldb 
>>api) and I dont understand how I can implement this :((
>>If I try use the  XMLDBSource with xmldb:xindice//hostname/db/... path , 
>>it does'nt work.
>>May be anyone get me any way to implement the client (and Server side 
>>configuration) for remote access and works with xindice db.
>>Thanks for advice.
>>--
>>
>>Best regards,
>>Yury Mikhienko.
>>IT engineer, ZAO "Mobicom-Kavkaz"
>
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003

Mime
View raw message