The problem went away after "ulimit -n 8192" on linux server. But I want to
run xindice/tomcat on Windows XP. why I obtain this exception after a lot of
program iterations? The same program run correctly by using xindice on linux
but not xindice on windows. My populator program and xindice/tomcat are
runing on the same windows xp machine. Why the collection is closed?
My root collection is /db/hansards. I have 365 XML documents, each document
contains a one day data (a hansard). Each XML document is used to create a
collection. Each hansard collection contains two subcollections, each one is
used to store a type of data. example :
- /db/hansards
|
--hansard-2001-01-30
|
--interventions (between 100 and 250
xml documents)
--topics (between 10 and 50 xml
documents)
--hansard-2001-01-31
|
--interventions (between 100 and 250
xml documents)
--topics (between 10 and 50 xml
documents)
....
I use a BTreeFiler for each collection.
Thanks
-----Message d'origine-----
De : Vadim Gritsenko [mailto:[EMAIL PROTECTED]
Envoy� : 19 f�vrier, 2004 12:46
� : [email protected]
Objet : Re: Filer is closed
Mustapha Es-salihe wrote:
>Just to mention that the same populator program with the same data from the
>same client machine (windows xp) run correctly on a xindice1.1b3 database
>installed on linux server using tomcat. We had a problem with linux (too
>many open files), and the only modification was to increase the ulimit
>variable before runing tomcat (ulimit -n 8192).
>
>
So, the problem went away after "ulimit -n 8192"?
> what does mean Filer is closed and XMLDBException vendor error code 247 ?
>
>
All vendor error codes are defined in the
org.apache.xindice.core.FaultCodes:
public static final int COL_COLLECTION_CLOSED = 247;
Vadim
>-----Message d'origine-----
>De : Vadim Gritsenko [mailto:[EMAIL PROTECTED]
>Envoye : 18 fevrier, 2004 21:18
>A : [email protected]
>Objet : Re: Filer is closed
>
>
>Mustapha Es-salihe wrote:
>
>
>
>>Hi,
>>We are using xindice1.1b3 to manage an xml repository for canadian house
>>
>>
>of commune data. When we run our populator program to store data in the
>repositoy, we get an XMLDBException after a lot of data insertion.
>
>
>>This is the detail of the exception :
>> org.xmldb.api.base.XMLDBException: :Filer is closed
>> at
>>
>>
>org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(Coll
e
>ctionImpl.java:201)
>
>
>> at
>>
>>
>org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(Collect
i
>onImpl.java:318)
>
>
>> at
>>
>>
>ca.crim.rap.repository.command.RepositoryXindicePopulator.addElementToColle
c
>tion(RepositoryXindicePopulator.java:279)
>
>
>> at
>>
>>
>ca.crim.rap.repository.command.RepositoryXindicePopulator.addToSgbdx(Reposi
t
>oryXindicePopulator.java:195)
>
>
>> at
>>
>>
>ca.crim.rap.repository.command.RepositoryXindicePopulator.insertDocuments(R
e
>positoryXindicePopulator.java:63)
>
>
>> at
>>
>>
>ExecuteRepositoryXindicePopulator.main(ExecuteRepositoryXindicePopulator.ja
v
>a:24)
>
>
>>XMLDBException error code 1
>>XMLDBException vendor error code 247
>>Any ideas please?
>>
>>
>>
>>
>
>Interesting. If it is easily reproducable, can you write a JUnit
>TestCase exposing this problem?
>
>Vadim
>
>