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 Cinnia Carey D'eth <ci...@hotmail.com> on 2003/07/18 14:14:06 UTC

A connection to the Database instance 'db' could not be created.

hello everyone :)

I am using Win98SE and j2sdk1.4.2. My autoexec.bat file is the following:

mode con codepage prepare=((737) C:\WINDOWS\COMMAND\ega2.cpi)
mode con codepage select=737
PATH=c:\xindice\bin;C:\j2sdk1.4.2\bin;C:\BC45\BIN;%PATH%
SET 
CLASSPATH=%CLASSPATH%;c:\xindice\java\lib;c:\xindice\java\lib\Xindice.jar;.;c:\xindice\java\lib\xmldb.jar;c:\xindice\java\lib\openorb-1.2.0.jar;c:\xindice\java\lib\xalan-2.0.1.jar;c:\xindice\java\lib\xerces-1.4.3.jar;C:\Progra~1\Altova\xmlspy\XMLSpyInterface.jar
set JAVA_HOME=C:\j2sdk1.4.2
set XINDICE_HOME=c:\xindice
set JAVACMD=C:\j2sdk1.4.2\bin\java
set EXIST_HOME=E:\jakarta-tomcat-4.1.24\webapps\exist\WEB-INF

When I run startup.bat, I get many error messages:

-----------------------------this is just the last part of the error 
messages
        at 
org.apache.xindice.core.Collection.putDocument(Collection.java:629)
        at 
org.apache.xindice.core.Collection.setDocument(Collection.java:670)
        at org.apache.xindice.core.Database.setConfig(Database.java:192)
        at 
org.apache.xindice.server.services.XindiceService.initialize(XindiceS
ervice.java:106)
        at 
org.apache.xindice.server.standard.StdServiceManager.addService(StdSe
rviceManager.java:166)
        at 
org.apache.xindice.server.standard.StdServiceManager$1.process(StdSer
viceManager.java:104)
        at 
org.apache.xindice.util.Configuration.processChildren(Configuration.j
ava:684)
        at 
org.apache.xindice.server.standard.StdServiceManager.setConfig(StdSer
viceManager.java:90)
        at org.apache.xindice.server.Kernel.loadAPI(Kernel.java:336)
        at org.apache.xindice.server.Kernel.<init>(Kernel.java:150)
        at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
        at org.apache.xindice.server.Xindice.main(Xindice.java:96)
Script: 'GET' added to script storage
Service: 'db' started
Service: 'HTTPServer' started @ http://PRIESTESS:4080/
Service: 'APIService' started

Server Running
----------------------------------------------------------------------------

So, you see I get a Server running message in the end. But when I try to run 
the command:

xindiceadmin ac -c /db -n addressbook

i get the following error:

ERROR : A connection to the Database instance 'db' could not be created. 
Error:
can't instantiate default ORB implementation com.inprise.vbroker.orb.ORB

I would be grateful if you could help me with this!! I am beginning to lose 
hope...

                                                              Angie

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger