You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alessandro Vincelli <av...@alessandro.vincelli.name> on 2008/01/29 19:52:51 UTC

Automatic call pipeline at startup

Is possible call pipeline or flowscript function at application startup?
thanks in advance
Alessandro

-- 
http://www.alessandro.vincelli.name


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


Re: Automatic call pipeline at startup

Posted by Joerg Heinicke <jo...@gmx.de>.
If you don't want to program it yourself you have to use the 
infrastructure provided. In your case it's the servlet API as Andreas 
pointed out.

Joerg

On 30.01.2008 14:40, Alessandro Vincelli wrote:

> Thank you for this solution, but I want find a solution less inasive.
> 
> Andreas Kuehne ha scritto:

>>>  Can I configure Cocoon Cron to invoke the same pipeline also at 
>>> application startup?
>>
>> I'm not familiar with cron ... but for sure you can get it by 
>> implementing an ServletContextListener.
>> It will be called at sturtup / shutdown of your app or (un-)deployment.


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


Re: Automatic call pipeline at startup

Posted by Alessandro Vincelli <av...@alessandro.vincelli.name>.
Thank you for this solution, but I want find a solution less inasive.


Andreas Kuehne ha scritto:
>>  Can I configure Cocoon Cron to invoke the same pipeline also at 
>> application startup?
>
> I'm not familiar with cron ... but for sure you can get it by 
> implementing an ServletContextListener.
> It will be called at sturtup / shutdown of your app or (un-)deployment.
>
> Good luck
>
> Andreas
>
>
>
>
> ___________________________________________________
> Andreas Kühne
> phone: +49 177 293 24 97
> mailto: kuehne@trustable.de
>
>
> Trustable Ltd.
> Niederlassung Deutschland
> Ströverstr. 18 - 59427 Unna
> Amtsgericht Hamm HRB 5868
>
> Directors
> Andreas Kühne
> Heiko Veit
>
> Company UK
> Company No: 5218868
> Registered in England and Wales
>
> ---------------------------------------------------------------------
> 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


Re: Automatic call pipeline at startup

Posted by Andreas Kuehne <ku...@trustable.de>.
>  Can I configure Cocoon Cron to invoke the same pipeline also at 
> application startup?

I'm not familiar with cron ... but for sure you can get it by 
implementing an ServletContextListener.
It will be called at sturtup / shutdown of your app or (un-)deployment.

Good luck

Andreas




___________________________________________________
Andreas Kühne
phone: +49 177 293 24 97
mailto: kuehne@trustable.de


Trustable Ltd.
Niederlassung Deutschland
Ströverstr. 18 - 59427 Unna
Amtsgericht Hamm HRB 5868

Directors
Andreas Kühne
Heiko Veit

Company UK
Company No: 5218868
Registered in England and Wales

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


Re: Automatic call pipeline at startup

Posted by Alessandro Vincelli <av...@alessandro.vincelli.name>.
More precisely.
I'm using Cocoon Cron (CocoonPipelineCronJob) to invoke a pipeline every 
30 minutes.
Can I configure Cocoon Cron to invoke the same pipeline also at 
application startup?
Thanks in advance
Alessandro


Alessandro Vincelli wrote:
> Is possible call pipeline or flowscript function at application startup?
> thanks in advance
> Alessandro
>
>   

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