check this, maybe it will help you :
://
problem was with instance-name....
Xindice doesn't allow to have same name for instance and documents.
for example :
/db/dealer
and
<dealer>
<id>0001</id>
<name>Dealer 1</name>
</dealer>
If You will make instance as "dealers", all will be ok.
Is it true? Has anybody met same?
Damir
----- Original Message -----
From: Damir Aysin
To: [email protected]
Sent: 2002-02-09 1:18 PM
Subject: Exception occured : 1 Index Corrupted
Hi !
I've install today Xindice 1.0rc1, and found problem.
in my code :
try {
XMLResource document = (XMLResource) col.createResource( strContentId,
"XMLResource");
document.setContent( strContent );
col.storeResource( document );
}
then error :
Exception occured : 1 Index Corrupted
in dbXML 1.0b4 it's worked !
I need help!!!
Thank You,
Damir
----- Original Message -----
From: "ramesh" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED] Apache. Org" <[email protected]>
Sent: 2002-02-11 1:27 PM
Subject: error in clommandline
> Hai,
>
> I am using xindice latest release version. It is all working fine with
> programetically. but when i try with commandline' it is giving error.
Same
> file i can store through programetically.
>
> Error is ,
>
> C:\Xindice_work\xindice_server>xindice ad -c /db/com -f c:/rami.xml -n t
> ERROR : Index Corrupted
>
> error found at server is
>
> DEBUG>
> org.apache.xindice.core.filer.BTreeCorruptException: Invalid Page Type In
> findVa
> lue
> at org.apache.xindice.core.filer.BTree$BTreeNode.findValue(Unknown
> Sourc
> e)
> at org.apache.xindice.core.filer.BTree.findValue(Unknown Source)
> at org.apache.xindice.core.filer.BTreeFiler.readRecord(Unknown
> Source)
> at org.apache.xindice.core.Collection.getDocument(Unknown Source)
> at org.apache.xindice.core.Collection.putDocument(Unknown Source)
> at org.apache.xindice.core.Collection.insertDocument(Unknown
Source)
> at
> org.apache.xindice.client.corba.CollectionServant.insertDocument(Unkn
> own Source)
> at
org.apache.xindice.client.corba.db.CollectionPOA._invoke(Unknown
> Sour
> ce)
> at org.openorb.adapter.poa.POA.dispatch(POA.java:975)
> at
> org.openorb.net.AbstractServerRequest.dispatch(AbstractServerRequest.
> java:750)
> at
> org.openorb.net.ServerManagerImpl.serve_request(ServerManagerImpl.jav
> a:1467)
> at
> org.openorb.net.ServerManagerImpl.thread_pool_main(ServerManagerImpl.
> java:1410)
> at
> org.openorb.net.ServerManagerImpl.access$200(ServerManagerImpl.java:7
> 7)
> at
> org.openorb.net.ServerManagerImpl$PoolThread.run(ServerManagerImpl.ja
> va:1557)
>
>