----- Original Message ----- From: "Chitharanjan Das" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 8:01 AM Subject: RE: How do i disable caching for Transformers.......
> How do I disable caching for the transformers? ... > To disable caching I did the following.. > > In cocoon.xcomf, I enabled the non caching event pipeline > <event-pipeline > class="org.apache.cocoon.components.pipeline.NonCachingEventPipeline"/> This disables caching of the contents of the reply, not the Transformers themselves. > I then restarted Cocoon and still in log file I get the info > > DEBUG (2002-02-12) 01:57.54:730 [cocoon ] (/accordia/tsttr) > HttpProcessor[8080][4]/DefaultPool: Retrieving a > com.accordia.display.transformation.StringTransformer from the pool This means that the StringTransformer instance is gotten from the pool instead of been recreated. > How can I disable caching ? or how do I delete cached objects ? This behaviour has to do with the Avalon-type ComponentManager that manages the Avalon objects (all Cocoon components are Avalon components). In the latest CVS, some components are configured in cocoon.xconf, but it is almost the same for the sitemap. In cocoon.xconf: <transformers> <component-instance name="xslt" class="org.apache.cocoon.transformation.TraxTransformer" logger="sitemap.transformer.xslt" pool-max="32" pool-min="8" pool-grow="2"> ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ <use-request-parameters>false</use-request-parameters> <use-browser-capabilities-db>false</use-browser-capabilities-db> <use-deli>false</use-deli> </component-instance> </transformers> pool-* parameters tell the ComponentManager how to pool the component. -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) --------------------------------------------------------------------- --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>