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 Jamil Ali <ja...@yahoo.com> on 2001/12/26 16:48:02 UTC

Re: AW: Exception while connecting to thr Databese from within a serv let. Public mailing list archive?

This is from the faq. It's not the same error, but
sounds related:

11a. CORBA ORB failure

   org.omg.CORBA.INITIALIZE: can't instantiate default
ORB imp
   jacorb.orb.ORB  minor code: 0  completed: No
     at java.lang.Throwable.<init>(Throwable.java:96)
     at java.lang.Exception.<init>(Exception.java:44)
     at
java.lang.RuntimeException.<init>(RuntimeException.jav
     at
org.omg.CORBA.SystemException.<init>(SystemException.j
     ...
     
This is a fairly common error that one will encounter
when using
dbXML.  It has to do with the CORBA ORB that dbXML
uses by default
(JacORB) not being found on startup, which leads the
Java VM to
fall back to the standard Sun ORB.  The Sun ORB is not
fully
compliant, and won't work with dbXML.  Making sure
that the
JacORB Jar is on your CLASSPATH is usually all you
need to do to
resolve this.  Also, you'll want to copy
orb.properties to your
$JAVA_HOME/jre/lib/ directory.



--- daniel.blank@accessnetworks.ch wrote:
> I have exactly the same problem - tell me if you
> find a solution.
> 
> Daniel
> 
> -----Urspr�ngliche Nachricht-----
> Von: Don Esteban [mailto:don.esteban@gmx.de]
> Gesendet am: Dienstag, 25. Dezember 2001 21:27
> An: xindice-users@xml.apache.org
> Betreff: Exception while connecting to thr Databese
> from within a
> servlet. Public mailing list archive?
> 
> Hello everybody,
> 
> I did install dbXML and run successfully the first
> example program. Next, I
> would like to run the example from within a servlet.
> 
> I got the following Error:
> 
> "XML:DB Exception occured 1 A connection to the
> Database instance 'db' could
> not be created. Error: Cannot create resource URL.
> Please set the
> openorb.home property."
> 
> I use Tomcat 4.0.1 on Windows 2000 SP2 with JDK
> 1.3.1
> 
> I tried to get the Addressbook example running but
> could not build the .war
> File. I build the application "by hand" (Forte for
> Java) but got the same
> error.
> 
> a) Does anybody know what I'am doing wrong?
> 
> b) Is their a public mailing list archive?
> 
> 
> With best regards
> Stefan
> 
> --
> Stefan


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com