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 xindice <xi...@email.it> on 2003/01/07 16:31:11 UTC

yet another xindice-tomcat problem

Hi mailing listers,
We followed step by step all the instructions given by the "Xindice Tomcat How-To" by Dave Viner and "Getting started with Xindice 1.1" at the web address http://torchbox.com/xml/xindice/xindice.html

after having restarted tomcat, when we try to create a new collection a XMLDB Exception with code 400 happens as you can see below.

Can you help us?
Thanks in advance
Francesco


C:\Programmi\xml-xindice-1.0\bin>c:\programmi\j2sdk1.4.0\bin\java -Xms16m -Xmx12
8m -Dxindice.home=c:\programmi\xml-xindice-1.0 -Dorg.apache.commons.logging.Log=
org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog
.defaultlog=debug -Dcmd.home=c:\programmi\xml-xindice-1.0\bin org.apache.xindice
.tools.XMLTools ac -c /db -n test -v > out.txt


XMLDB Exception with code 400
org.xmldb.api.base.XMLDBException:
        at org.xmldb.api.DatabaseManager.getDatabase(Dat
a
baseManager.java:258)
        at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:190)
        at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:157)
        at org.apache.xindice.tools.command.AddCollection.execute(AddCollection.
java:99)
        at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:335)
        at org.apache.xindice.tools.XMLTools.process(XMLTools.java:215)
        at org.apache.xindice.tools.XMLTools.main(XMLTools.java:123)


--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Mobility Conference Exhibition 2003: l'evento di Assolombarda sulla mobility.
Clicca qui: http://adv2.email.it/cgi-bin/foclick.cgi?mid=1124&d=7-1

RE: yet another xindice-tomcat problem

Posted by Dave Viner <dv...@yahoo-inc.com>.
are you using Xindice version 1.0? or the version from CVS?

the instructions i posted on the website work for the CVS version.  For the
1.0 version, see http://xml.apache.org/xindice/guide-administrator.html for
how to start up the database.

dave

  -----Original Message-----
  From: xindice [mailto:xindice@email.it]
  Sent: Tuesday, January 07, 2003 7:31 AM
  To: xindice
  Subject: yet another xindice-tomcat problem


  Hi mailing listers,
  We followed step by step all the instructions given by the "Xindice Tomcat
How-To" by Dave Viner and "Getting started with Xindice 1.1" at the web
address http://torchbox.com/xml/xindice/xindice.html

  after having restarted tomcat, when we try to create a new collection a
XMLDB Exception with code 400 happens as you can see below.

  Can you help us?
  Thanks in advance
  Francesco




C:\Programmi\xml-xindice-1.0\bin>c:\programmi\j2sdk1.4.0\bin\java -Xms16m -X
mx12


8m -Dxindice.home=c:\programmi\xml-xindice-1.0 -Dorg.apache.commons.logging.
Log=


org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simpl
elog
  .defaultlog=debug -Dcmd.home=c:\programmi\xml-xindice-1.0\bin
org.apache.xi! ndice
  . tools.XMLTools ac -c /db -n test -v > out.txt


  XMLDB Exception with code 400
  org.xmldb.api.base.XMLDBException:
          at
org.xmldb.api.DatabaseManager.getDatabase(DatabaseManager.java:258)
          at
org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:190)
          at
org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:157)
          at
org.apache.xindice.tools.command.AddCollection.execute(AddCollection.
  java:99)
          at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:335)
          at org.apache.xindice.tools.XMLTools.process(XMLTools.java:215)
          at org.apache.xindice.tools.XMLTools.main(XMLTools.! java:123) <
BR>
  ----
  Prendi GRATIS l'email universale che... risparmia: clicca qui

  Sponsor:
  Mobility Conference Exhibition 2003: l'evento di Assolombarda sulla
mobility.
  Clicca qui