icewind wrote:

>Hello, 
>
>I have something like this for my xml documents:
>
>docs/
>   dir1/
>   dir2/
>   dir3/
>   dir4/
>   dir5/
>
>I can index each individual dir in docs separately and
>a lucene index will be built properly. 
>
>However, when I try to index all together (either by
>aggregation, or by crawling from docs/, it get the
>following exception at random times. It never fails on
>the same file:
>
>2002-08-26 16:04:35
>StandardWrapper[/amber-dan.bak:default]: Loading
>container servlet default
>2002-08-26 16:04:35 default: init
>2002-08-26 16:04:35
>StandardWrapper[/amber-dan.bak:invoker]: Loading
>container servlet invoker
>2002-08-26 16:04:35 invoker: init
>2002-08-26 16:04:35 jsp: init
>2002-08-26 16:06:10 StandardWrapperValve[Cocoon2]:
>Servlet.service() for servlet Cocoon2 threw exception
>java.lang.IllegalStateException
>        at
>org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243)
>        at
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1071)
>

What's on this line?

...

>        at java.lang.Thread.run(Thread.java:479)
>
>
>I'm pretty sure my technique for doing the indexing is
>fine. Everythign worked fine before when I had fewer
>files in each of the directories (about 5 each). I
>started getting the above error when I added more
>files to a couple of the directories (now i have about
>25 in at least two of the children of dir/. I don't
>know if this problem stems from the fact that there
>are more files and cocoon is timing out or something.
>What does an IllegalStateException mean in general? Is
>

Here, you can't reset response when something is already written to the 
socket.


>there a decent way to run the supplied cocoon indexer
>on these files from the command line to  This is
>really puzzling me... each dir will index fine on its
>own. The problems appear when I try to index them all.
>(I need one big index).
>

You can not only create, but update indexes. Which means, in first run 
(first dir) - create index, following runs (dirs) - update index.

Vadim



>Thanks for any suggestions on how I can track this
>problem down.
>  
>




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to