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 Cyrille Giquello <cy...@ktaland.com> on 2002/05/23 13:54:14 UTC
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(FaultCodes.java:247)
at org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.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 :
[mad@kawa 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