On Tuesday, February 5, 2002, at 12:44 AM, Ng Chee Keong wrote:

Thank U Kimbro for the fast reply, but this is what i did to the startup.
bat. I find it confusing as i had already set the path and its still not directed to the dbxml.bat. Do i need to make changes to the other batch files also?

You need to set it in your environment. Look in the system control panel.
You might try searching google for some help if you don't know how to do this. You shouldn't need to edit any of the scripts.



In the first place, i had no idea what the echo off is used for, i guess it was going through the path settings... Correct me if i'm wrong... i'm now still a student and i like to know if there is anything i could read on. Thanx for the pointers.


set JAVA_HOME=C:\jdk1.3.1_02
set DBXML_HOME=C:\dbXML-Core
set PATH=%PATH%;%DBXML_HOME%\bin;%JAVA_HOME%\bin
set CLASSPATH=.;C:\dbXML-Core\dbXML.jar

@echo off
rem find DBXML_HOME
if not "%DBXML_HOME%"=="" goto checkJava

rem check for ant in Program Files on system drive
if not exist "%SystemDrive%\Program Files\dbXML-Core" goto checkSystemDrive
set DBXML_HOME=%SystemDrive%\Program Files\dbXML-Core
goto checkJava


:checkSystemDrive
rem check for ant in root directory of system drive
if not exist "%SystemDrive%\dbXML-Core" goto checkCurrent
set DBXML_HOME=%SystemDrive%\dbXML-Core
goto checkJava

:checkdbXML
rem check for ant in root directory of system drive
if not exist "%SystemDrive%\dbXML-Core" goto checkdbXMLWork
set DBXML_HOME=%SystemDrive%\dbXML-Core
goto checkJava

:checkdbXMLWork
rem check for ant in root directory of system drive
if not exist "%SystemDrive%\work\dbXML-Core" goto checkCurrent
set DBXML_HOME=%SystemDrive%\work\dbXML-Core
goto checkJava

:checkCurrent
if exist ".\config" set DBXML_HOME=.\
goto checkJava

:noHome
echo DBXML_HOME is not set and dbXML could not be located. Please set DBXML_HOME.
goto end


:checkJava
if "%JAVACMD%" == "" set JAVACMD=java

set LOCALCLASSPATH=%CLASSPATH%;%ANT_HOME%\config
for %%i in (%DBXML_HOME%\java\lib\*.jar) do call %DBXML_HOME%\bin\lcp.bat %%i


if "%JAVA_HOME%" == "" goto runAnt
if exist %JAVA_HOME%\lib\tools.jar call %DBXML_HOME%\bin\lcp.bat %JAVA_HOME%\lib\tools.jar
if exist %JAVA_HOME%\lib\classes.zip call %DBXML_HOME%\bin\lcp.bat %JAVA_HOME%\lib\classes.zip


:runAnt
cd %DBXML_HOME%
echo %JAVACMD% -classpath "%LOCALCLASSPATH%" -noverify org.dbxml.core.server.dbXML %DBXML_HOME%\config\system.xml
%JAVACMD% -Xms16m -Xmx128m -Ddbxml.home=%DBXML_HOME% -classpath "%LOCALCLASSPATH%" -noverify org.dbxml.core.server.dbXML %DBXML_HOME%\config\system.xml


:end
set LOCALCLASSPATH=

Regards,
Chee Keong(aka CK) :) ^.^

From: Kimbro Staken <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Newbie:Abt Collections
Date: Tue, 5 Feb 2002 00:27:29 -0700

You need c:\dbXML-Core\bin set in your PATH environment variable.

On Tuesday, February 5, 2002, at 12:18 AM, Ng Chee Keong wrote:

Hi all,
I had juz gotten the server running last week, so i'm now into
collections.

When i tried to create a top level collection like this:
C:\dbXML-Core>dbxmladmin add_collection -c /db -n Test

This is the result:
C:\dbXML-Core>dbxmladmin add_collection -c /db -n Test
'dbxmladmin' is not recognized as an internal or external command,
operable program or batch file.

I'm not sure if i miss out on anything, but my server is running well and
My OS is Win 2K.
Can anyone help me on this... i'm so new to this dbXML.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx



Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/





_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com





Reply via email to