Hi,

sorry to ask, but is this a valid address
xmldb:xindice://mls.ktaland:4080/db ?
or shouldn't it be something like mls.ktaland.com or
just mls ?

Heike

> -----Original Message-----
> From: Cyrille Giquello [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 23, 2002 1:54 PM
> To: [email protected]
> Subject: problem with network access
> 
> 
> Hi all,
> 
> I've a strange problem to access xindice via network ...
> 
> I can very well make network access via xml-rpc to xindice.
> But if I use xindice default access layer (corba), my code 
> only work in local context.
> In network context it is throwing a XML:DB without any message...
> 
> Sample of code :
>     String database_uri = "xmldb:xindice://mls.ktaland:4080/db" ;
>     db = (Database) driverClass.newInstance();
>     DatabaseManager.registerDatabase( db );
>     // here is the exception :
>     col = DatabaseManager.getCollection( database_uri );
> 
> Sample of output :
> TRACE : getCollection xmldb:xindice://mls.ktaland:4080/db
> ERROR : XML:DB exception :
>     errorcode=1
>     toString() = org.xmldb.api.base.XMLDBException
>     getMessage() = org.xmldb.api.base.XMLDBException
>     printStackTrace() =
>         at 
> org.apache.xindice.core.FaultCodes.createXMLDBException(FaultC
> odes.java:247)
>         at 
> org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(Dat
> abaseImpl.java:226)
>         at 
> org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:194)
>         at 
> org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:157)
>         at XiBenchmark.benchDataCreate(XiBenchmark.java:65)
>         at XiBenchmark.main(XiBenchmark.java:121)
> 
> Perhaps a firewall problem ?? I 'm on a local network without 
> firewall ...
> A corba implementation problem ??
> 
> JDK used :
>     [EMAIL PROTECTED] benchmark.java]$ java -version
>     java version "1.3.1_01"
>     Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
>     Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
> 
> Thanks for comment ...
> 
> 
>  -----------------------------------------
> Encryption | Duncan Campbell | DST | Blacklisted 411 | 
> ECHELON | 2600 | PGP | Corsica | NSA
> 
> 

Reply via email to