this does not happen with newer builds.

if you want to "fix" your current environment:

System.setProperty("openorb.home","file:///opt/xindice/docs/");

this will then use the HTTP server in Xindice to look for this URL and a
subdirectory called "config" where the config file should be located. 
the URL is the "docroot" of the HTTP serer.

--
[EMAIL PROTECTED]



"Timothy M. Dean" wrote:
> 
> I am trying to take some code that successfully accesses data via
> Xindice in a standalone Java application, and make it work from within a
> Java Servlet (using Tomcat 4 as my servlet engine). For some reason,
> when I attempt to access a collection within my servlet code, I getn an
> XMLDB exception. The exception message is:
> 
>    org.xmldb.api.base.XMLDBException: A connection to the Database
>    instance 'db' could not be created. Error: Cannot create resource
>    URL. Please set the openorb.home property.
> 
> Does anyone know what could cause this problem. Any idea why running
> from within a servlet would make a difference? I've downloaded the
> OpenORB source and been able to find that the error happends within the
> ORB.init() method. Any suggestions would be appreciated.
> 
> - Tim

--
[EMAIL PROTECTED]

Reply via email to