hello all,

i've defined a pipeline that looks like this to generate a lucene index:

<map:match pattern="genindex">
        <map:generate src="xml/toc.xml" type="file"/>
        <map:transform src="xsl/generateindex.xsl"/>
        <map:transform type="index"/>
        <map:serialize type="xml"/>
</map:match>

xml/toc.xml is a file that, well, serves as a table of contents. along with a transformation, xs/generatindex.xsl, i use it to generate the lucene:index file. when it hits the pipeline gets to the index stage, i receive the error:

Message: Failed to execute pipeline.

Description: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException: java.io.FileNotFoundException: /usr/local/jakarta-tomcat-4.1.24/work/Standalone/localhost/_/cocoon- files/index/_15.f86 (Too many open files)

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI
genindex

cause
java.lang.RuntimeException: java.io.FileNotFoundException: /usr/local/jakarta-tomcat-4.1.24/work/Standalone/localhost/_/cocoon- files/index/_15.f86 (Too many open files)


request-uri
/genindex

i've tried setting the "create" attribute to both "true" and "false." i've also tried merge-factors of "10," "20" and "30." for all these settings, i keep getting the above error. to further stoke the confusion, i'm positive that *something* is happening in the index directory -- when i hit http://localhost/genindex with my browser, a bunch of new index files show up in the directory $TOMCAT_HOME//work/Standalone/localhost/_/cocoon-files/index

i also have a search pipeline that looks like this:

<!-- search, take 2 -->
<map:match pattern="search">
        <map:generate type="search"/>
        <map:transform src="xsl/xhtml/search/searchresults.xsl"/>
        <map:serialize type="xml"/>
</map:match>

the search results i'm getting back from the request http://localhost/search?QueryString=bill look like this:

<?xml version="1.0" encoding="UTF-8"?>
<search:results date="1060981236462" start-index="0" page-length="10" xmlns:search="http://apache.org/cocoon/search/1.0"; xmlns:xlink="http://www.w3.org/1999/xlink"/>


which leads me to believe that there's something wrong with the way my index is being built. does anyone have the magic solution? or a hint, at least? i've read the documentation available on the cocoon wiki for LuceneIndexTransformer, and the documentation on the cocoon site about the search generator, and i think i've followed all the steps. your help is much appreciated.

thanks in advance,

--bill


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to