Hi all,

We currently use Xindice for our project.  We ran into the following
problem:
Our system installation includes the distribution package of Xindice.  In
our set up script, we start the db server, create several collections, and
then shut down the server.  All of these operations are done through calls
to dbxmladmin script.  However, sometimes, especially at the first initial
attempt after installing the server, the collections are not created
completely (ie. supposedly we created 4 collections, but only 2 were
created) eventhough the commands were shown on standard output as completed
successfully.  Is that because the server shutdown was executed before the
rest of the collections were created?  If that is the case then it is quite
strange since we expected the ops to be sequential (ie. completion of one
operation before starting the next one).

We use Xindice version beta 4 for Windows 2000.  Below is an example of our
script:

echo Start up the db server...
call "%DBXML_HOME%\startup.bat"

pause

call "%DBXML_HOME%\bin\dbxmladmin" add_collection -c /db -n collection1
call "%DBXML_HOME%\bin\dbxmladmin" add_collection -c /db/casa -n collection2
call "%DBXML_HOME%\bin\dbxmladmin" add_collection -c /db/casa -n collection3
call "%DBXML_HOME%\bin\dbxmladmin" add_collection -c /db/casa -n collection4
call "%DBXML_HOME%\bin\dbxmladmin" add_collection -c /db/casa -n collection5

echo Shutdown the db server...
call "%DBXML_HOME%\bin\dbxmladmin.bat" shutdown -c /db


All necessary environment variables and classpath are set up correctly.  No
exception was thrown.  Everything seems to be successfully completed.
However, only collections 1-3 were created (or sometimes from 1-4).

Any of you have encountered similar problem before?  Please let us know if
you have an answer.

Thank you in advance,

Best regards,

Ly Le


------------------
Privileged or confidential information may be contained in this message. If
this message was not intended for you, destroy it and notify us immediately.
Opinions, conclusions, recommendations, and other information presented in
this message are not given or necessarily endorsed by my employer or firm.



Reply via email to