Chung onn and all other users,

 

I am now using Tomcat 5.0 and using Xindice 1.1b3.

 

The missing xindice.jar in Xindice 1.1b3 was copied from Xindice 1.0.

 

I download Xindice 1.1b3 and then execute the build command to make the Xindice1.1b3.war file.

 

Then I throw it to Tomcat/webapps and start tomcat......

The Xindice servlet was started.......

 

My tomcat port is set to 9000.

 

However when I go to the command line and type the following:

 

C:\xindice\dist>xindice xmldb:xindice://localhost:9000/DB

 

Exception in thread "main" java.lang.NoClassDefFoundError: Files\j2sdk_nb\j2sdk1

/4/2\lib\tools/jar;c:\xindice\java\lib\commons-logging-1/0/3/jar;c:\xindice\java

\lib\servlet-2/3/jar;c:\xindice\java\lib\xalan-2/5/2/jar;c:\xindice\java\lib\xer

ces-2/6/0/jar;c:\xindice\java\lib\xindice/jar;c:\xindice\java\lib\xml-apis/jar;c

:\xindice\java\lib\xmldb-api-20021118/jar;c:\xindice\java\lib\xmldb-api-sdk-2002

1118/jar;c:\xindice\java\lib\xmldb-common/jar;c:\xindice\java\lib\xmldb-xupdate/

jar;c:\xindice\java\lib\xmlrpc-1/1/jar;;\config

 

The same error occur again! All my .jar was changed to /jar! I wonder why?

 

Please advice.

 

Regards.

 

-----Original Message-----
From: Cheong Chung Onn [mailto:[EMAIL PROTECTED]]
Sent
:
Monday, February 23, 2004 7:59 AM
To: [email protected]
Subject: Is a named XML resource unique in the entire db?

 

Hi,

 

I encountered something i consider unusual and i am not sure if this is

a feature or bug in xindice. when i create a named XMLResource  e.g.

doc 1 and put this resource in a collection e.g. col1 and later i

wanted to "move" doc1 to a new collection e.g. col2, i simply just do

the following col2.storeResource(doc1). It seems that a named

XMLResource is stored as a key-value paired and thus it wont allow for

duplicate documents i.e. I wont be able to have doc1 in both col1 and

col2. Is this true?

 

Thanks in advance.

chung-onn

 

Reply via email to