Thanx to look at my problem.
"Franosch, Heike" a �crit : > 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 ? Shure the url is good, with a web browser I can connect to http://mls/ or http://mls.ktaland On the local apache web server, I use PHP_Xindice to manage the database, and the server is mls.ktaland and it 's working well ... Really a strange problem I can't find a solution ... And in the xindice log, I can see the http get for the IOR. The error come after .. It 's why I think about some problem with corba connection ... Cyrille > > > 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 > > > > -- ----------------------------------------- Cyrille Giquello <[EMAIL PROTECTED]> tel : 331/01 49 17 40 93 KTALAND Batiment 104 50 av. du president Wilson 93210 La Plaine Saint-Denis http://www.ktaland.com/ ----------------------------------------- Encryption | Duncan Campbell | DST | Blacklisted 411 | ECHELON | 2600 | PGP | Corsica | NSA
