Not sure why you decided to extend AbstractAction, there is the Action interface as well.

My actions are usually declared as

....
    extends AbstractLogEnabled
    implements Action, Serviceable, ThreadSafe

HTH
Jorg

Ole Hildebrandt wrote:

Hi,

I wrote my own Action extending AbstractAcion. I configured it in the sitemap like this;

<map:action name="dispatchaction" pool-min="4" pool-grow="4" pool-max="20" src="de.test.cocoon.DispatcherAction"/>

Exploring the Logs i found out that the Action is not Pooled:

http-8081-Processor25/DefaultComponentFactory: ComponentFactory creating new instance of de.test.cocoon.DispatcherAction.
http-8081-Processor25/DefaultComponentFactory: ComponentFactory decommissioning instance of de.test.cocoon.DispatcherAction.


Is there something I forgot? Do i have to implement a certain interface or configure pooling somewhere else?

Thanks for any suggestions

Ole


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



Reply via email to