did you run startup.bat in another cmd sesion and did you got the server running message?
BTW if you write %DBXML_HOME% in CLASSPATH variable from System properties in the control panel the variable doesn't expanded correctly in a cmd session maybe this happended too if you edit so the startup.bat file... check it... another microsoft gift... Miguel Angel Urrutia Soler ----- Original Message ----- From: "Ng Chee Keong" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, January 30, 2002 9:21 PM Subject: Newbie > Hi to all here in the forum, > > I'm very new to the dbXML and is currently studying on dbXML. > I had read through the installation document for dbXML on the www.xml.com. > I'm using a windows 2K server and checked that i had all the jar files. I > did the following settings to the > C:\dbXML-Core>edit startup.bat: > > set JAVA_HOME=C:\jdk.3.3_02 > set DBXML_HOME=c:\dbXML-Core > set PATH=%PATH%;%DBXML_HOME%\bin;%JAVA_HOME%\bin > > set > CLASSPATH=%CLASSPATH%;%DBXML_HOME%\java\lib\servlet.jar;%DBXML_HOME%\java\li b\dbXML.jar;%DBXML_HOME%\java\lib\xmldb.jar;%DBXML_HOME%\java\lib\juggernaut -1.0.jar;%DBXML_HOME%\java\lib\openorb-1.2.0.jar;%DBXML_HOME%\java\lib\xerce s-1.3.0.jar;%DBXML_HOME%\java\lib\xalan-2.0.1.jar;%DBXML_HOME%\java\lib\ant- 1_3.jar;%DBXML_HOME%\java\lib\examples.jar;%DBXML_HOME%\java\lib\xmldb-sdk.j ar;%JAVA_HOME%\lib\tools.jar > > Can anyone tell me if its wrong... i'm very unclear abt it. > > Then i continued to startup and build the examples > (using "ant examples") Build Successful > But when i try to do a > C:\dbXML-Core\java\examples\api>run org.dbxml.examples.APIExample > The Following error occurs... > > ERROR : org.xmldb.api.base.XMLDBException: A connection to the Database > instance 'db' could not be created. > Error: Connection refused: connect org.xmldb.api.base.XMLDBException: A > connection to the Database instance 'db' could not be created. > Error: Connection refused: connect > at org.dbxml.client.xmldb.DatabaseImpl.init(DatabaseImpl.java:378) > at > org.dbxml.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:197) > at > org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:194) > at > org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:157) > at org.dbxml.examples.APIExample.main(APIExample.java:49) > > Could anyone tell me wat i miss out or did wrongly... thank u... > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > >
