hi John

The problem appears on Linux only, not Windows....  I edited the
files on a windows box and transferred them using SCP, so perhaps
there is a DOS line break issue.

Increasing the maximum heap size and making the pool max sizes all
1024 increased the speed several fold.  I am still getting Concurrent
file modification issues with the cache though.

In short what I have done to get Cocoon running faster

- install 2.1.4
- copy xml-apis.jar and xerces-impl....jar to
<TOMCAT_HOME>/common/endorsed
- increase pool-max sizes to 1024
- set maximum heap size to 512M using -Mx

[without the last option, the StoreJanitor runs out of memory to
store  data, and starts returning BLANK data to the browser instead
of causing an internal server error]


With 10 threads crawling our site using the Xenu tool, the memory sat
around 300M - far better that the 1000M it was with 2.1.2!!!

Thanks

Gordon



>
>>Hello Gordon,
>>
>>There's an issue open on Bugzilla regarding the disposed
>ComponentLocator:
>>
>>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27249
>>
>>John
>>
>>Gordon Anderson wrote:
>>
>>> However when I change ANY of the max pool size for the xinclude, 
>>> cinclude and general xml parsing as in this section...
>>>
>>> I get the following error.
>>> ======================================
>>>
>>>
>>> Internal Server Error
>>>
>>> Message: You cannot lookup components on a disposed
>ComponentLocator
>>>
>>> Description: java.lang.IllegalStateException: You cannot lookup 
>>> components on a disposed ComponentLocator
>>>
>>> Sender: org.apache.cocoon.servlet.CocoonServlet
>>>
>>> Source: Cocoon Servlet
>>>
>>> Request URI
>>>
>>> cause
>>>
>>> java.lang.IllegalStateException: You cannot lookup components on a
>
>>> disposed ComponentLocator
>>>
>>> request-uri
>>
>>
>>-- 
>>---------------------------------------------------------
>> Jentro Technologies GmbH
>> John L. Webber, Software Development
>>---------------------------------------------------------
>> Rosenheimer Str. 145e            81671 München
>> Tel. +49 89 189 169 80     mailto:[EMAIL PROTECTED] 
>> Fax  +49 89 189 169 99     http://www.jentro.com
>>---------------------------------------------------------
>>NOTICE: The information contained in this e-mail is confidential or
>may otherwise be legally privileged. It is intended for the named
>recipient only. If you have received it in error, please notify us
>immediately by reply or by calling the telephone number above and
>delete this message and all its attachments without any use or
>further distribution of its contents. Please note that any
>unauthorised review, copying, disclosing or otherwise making use of
>the information is strictly prohibited. Thank you. 
>>---------------------------------------------------------
>>
>>
>>--------------------------------------------------------------------
>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to