cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: Is it possible to have poolable actions ?
Date Tue, 10 Feb 2004 09:04:53 GMT
You implement marker interface <<Poolable>>

Jorg

MAHE Vincent FTRD/DIH/REN wrote:

> Thanks.
> 
> So my question is still the same : what do I have to do in order to have my action poolable
?
> 
> Vincent
> 
> -----Message d'origine-----
> De : news [mailto:news@sea.gmane.org]De la part de Jorg Heymans
> Envoyé : mardi 10 février 2004 09:43
> À : users@cocoon.apache.org
> Objet : Re: Is it possible to have poolable actions ?
> 
> 
> Nope it doesn't, look at the Action interface, it extends Component.
> The decommissiong message you're seeing is typical for non-pooled 
> components. You can tell whether a component is properly pooled by 
> looking for this message in the logs, if it appears then your pool for 
> this component is generally undersized.
> 
> Jorg
> 
> MAHE Vincent FTRD/DIH/REN wrote:
> 
> 
>>Do you mean that every action already implements the Poolable interface ?
>>
>>If so, why do I have these messages about "decommissioning instance of" ?
>>
>>Vincent
>>
>>-----Message d'origine-----
>>De : Nicolas Toper [mailto:ntoper@jouve.fr]
>>Envoyé : lundi 9 février 2004 17:28
>>À : users@cocoon.apache.org
>>Objet : Re: Is it possible to have poolable actions ?
>>
>>
>>Well, yes you have to implement actions interface :=) See the archives and the 
>>wiki
>>Le Lundi 09 Février 2004 17:23, MAHE Vincent FTRD/DIH/REN a écrit :
>>
>>
>>
>>>Hi,
>>>
>>>I'm using
>>>
>>>When I test my webapp in DEBUG mode, I have the following lines in the
>>>sitemap.log file :
>>>
>>>DEBUG   (2004-02-09) 11:11.41:727   [sitemap] (/test/)
>>>tcpConnection-80-0/DefaultComponentFactory: ComponentFactory creating new
>>>instance of mobivisit.acting._common.SessionIsValidAction. DEBUG  
>>>(2004-02-09) 11:11.41:727   [sitemap] (/test/)
>>>tcpConnection-80-0/DefaultComponentFactory: logger attribute is
>>>sitemap.action.session-isvalid DEBUG   (2004-02-09) 11:11.41:727  
>>>[sitemap] (/test/) tcpConnection-80-0/DefaultComponentFactory:
>>>ComponentFactory decommissioning instance of
>>>mobivisit.acting._common.SessionIsValidAction.
>>>
>>>If I had pool-min or pool-max parameters in my sitemap, it doesn't change
>>>anything.
>>>
>>>Isn't it possible to have a Cocoon action poolable ?
>>>
>>>I have seen in the doc that there are such actions like
>>>AbstractXMLFormAction which implements the excalibur.pool.Poolable
>>>interface.
>>>
>>>Do you think I can have better performances if I implement this interface
>>>in my actions ?
>>>
>>>Vincent
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message