You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by "Vladimir R. Bossicard" <vl...@bossicard.com> on 2002/10/24 07:55:48 UTC

Problem with the XMLDB:API jars

James,

I've checked out the new jars xmldb-api-sdk and xmldb-api but Xindice 
wouldn't work anymore.  I was trying to add a collection to a 
non-existing database with:

xindice ac -l -d xindice.xml -c /db -n data

I always received an error.

ERROR :
org.xmldb.api.base.XMLDBException:
	at org.xmldb.api.DatabaseManager.getDatabase(Unknown Source)
	at org.xmldb.api.DatabaseManager.getCollection(Unknown Source)
	at org.xmldb.api.DatabaseManager.getCollection(Unknown Source)
	at 
org.apache.xindice.tools.command.AddCollection.execute(AddCollection.java:107)
	at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:332)
	at org.apache.xindice.tools.XMLTools.process(XMLTools.java:283)
	at org.apache.xindice.tools.XMLTools.main(XMLTools.java:129)

When I created my own version of xmldb-api*.jar (using the standard 
javac 1.3.1) and used them instead, everything went fine (...).

Could you verify that you can successfully use the committed jars in the 
case I described?  And if others could test with their installation, and 
give feedback it would be very helpful.

-Vladimir

-- 
Vladimir R. Bossicard
www.bossicard.com


Re: Problem with the XMLDB:API jars

Posted by James Bates <ja...@amplexor.com>.
In the mean time I've put back the old Jars...

On Thursday 24 October 2002 10:21, James Bates wrote:
> Sorry about that; I never tested anything locally...
>
> In fact, we could revert to the old jars, as I've already moved
> SetContentHandler to Xindice itself.
>

Re: Problem with the XMLDB:API jars

Posted by James Bates <ja...@amplexor.com>.
Sorry about that; I never tested anything locally...

In fact, we could revert to the old jars, as I've already moved 
SetContentHandler to Xindice itself.

I'm curious as to how you compiled, for I did the same, to my knowledge. Can 
you explain in more detail what you did?

On Thursday 24 October 2002 07:55, Vladimir R. Bossicard wrote:
> James,
>
> I've checked out the new jars xmldb-api-sdk and xmldb-api but Xindice
> wouldn't work anymore.  I was trying to add a collection to a
> non-existing database with:
>
> xindice ac -l -d xindice.xml -c /db -n data
>
> I always received an error.
>
> ERROR :
> org.xmldb.api.base.XMLDBException:
> 	at org.xmldb.api.DatabaseManager.getDatabase(Unknown Source)
> 	at org.xmldb.api.DatabaseManager.getCollection(Unknown Source)
> 	at org.xmldb.api.DatabaseManager.getCollection(Unknown Source)
> 	at
> org.apache.xindice.tools.command.AddCollection.execute(AddCollection.java:1
>07) at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:332)
> 	at org.apache.xindice.tools.XMLTools.process(XMLTools.java:283)
> 	at org.apache.xindice.tools.XMLTools.main(XMLTools.java:129)
>
> When I created my own version of xmldb-api*.jar (using the standard
> javac 1.3.1) and used them instead, everything went fine (...).
>
> Could you verify that you can successfully use the committed jars in the
> case I described?  And if others could test with their installation, and
> give feedback it would be very helpful.
>
> -Vladimir


Re: Problem with the XMLDB:API jars

Posted by Jeff Turner <je...@apache.org>.
On Thu, Oct 24, 2002 at 11:23:11PM +0900, Michael Westbay wrote:
> Bossicard-san wrote:
> 
> > I've checked out the new jars xmldb-api-sdk and xmldb-api but Xindice
> > wouldn't work anymore.
> 
> This sounds like a cvs checkin miss.  Did the committer remember to:
> 
>     % cvs add -kb xxx.jar
>               ~~~
> ?  I know I've been guilty of forgetting the "-kb" several times.  Then the 
> application would still run fine on my machine, but others in the group would 
> start exeriencing problems.

No problem there.. lines from CVS/Entries all have -kb:

/xmldb-api-20020712.jar/1.3/Thu Oct 24 14:51:28 2002/-kb/
/xmldb-sdk.jar/1.3/Thu Oct 24 14:51:29 2002/-kb/
/xmldb-xupdate.jar/1.4/Thu Oct 24 14:51:40 2002/-kb/


--Jeff

> -- 
> Michael Westbay
> Work: Beacon-IT http://www.beacon-it.co.jp/
> Home:           http://www.seaple.icc.ne.jp/~westbay
> Commentary:     http://www.japanesebaseball.com/forum/
> 
> 

Re: Problem with the XMLDB:API jars

Posted by Michael Westbay <we...@users.sourceforge.net>.
Bossicard-san wrote:

> I've checked out the new jars xmldb-api-sdk and xmldb-api but Xindice
> wouldn't work anymore.

This sounds like a cvs checkin miss.  Did the committer remember to:

    % cvs add -kb xxx.jar
              ~~~
?  I know I've been guilty of forgetting the "-kb" several times.  Then the 
application would still run fine on my machine, but others in the group would 
start exeriencing problems.

-- 
Michael Westbay
Work: Beacon-IT http://www.beacon-it.co.jp/
Home:           http://www.seaple.icc.ne.jp/~westbay
Commentary:     http://www.japanesebaseball.com/forum/