cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woonsan Ko <woon_...@yahoo.com>
Subject RE: Is CocoonPipelineCronJob broken?
Date Tue, 23 Sep 2008 07:13:59 GMT
Hi Jasha,

Please see my comments below.

--- On Tue, 9/23/08, Jasha Joachimsthal <j.joachimsthal@onehippo.com> wrote:

> From: Jasha Joachimsthal <j.joachimsthal@onehippo.com>
> Subject: RE: Is CocoonPipelineCronJob broken?
> To: users@cocoon.apache.org, woon_san@yahoo.com
> Date: Tuesday, September 23, 2008, 8:23 AM
> Hi Woonsan, 
> 
> > -----Original Message-----
> > From: Woonsan Ko [mailto:woon_san@yahoo.com] 
> > Sent: maandag 22 september 2008 10:08
> > To: users@cocoon.apache.org
> > Subject: Is CocoonPipelineCronJob broken?
> > 
> > Hi All,
> > 
> > I'd like to use CocoonPipelineCronJob as a
> scheduled job.
> > If I set a cocoon pipeline for the job, then I always
> catch 
> > the MalformedURLException like the following:
> > 
> > Caused by: java.net.MalformedURLException: The cocoon 
> > protocol can not be used outside an environment.
> > 
> > Is it totally broken now? A cron job cannot use cocoon
> 
> > protocol any more? (I've tested with
> Cocoon-2.1.8.)
> > 
> 
> Are you using
> org.apache.cocoon.components.cron.CocoonQuartzJobScheduler
> to trigger the cron job?

Yes, I wanted to. However, because it only uses "cocoon://" protocol only in its internal,
I couldn't. Instead, I implemented another class to trigger the cron job, overriding it to
use "http://" protocol.

Thank you so much. :)

Regards,

Woonsan

> 
> 
> Jasha Joachimsthal 
>  
> j.joachimsthal@onehippo.com - jasha@apache.org
>  
> www.onehippo.com
> Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam
> +31(0)20-5224466 
> San Francisco - Hippo USA Inc. 101 H Street, suite Q
> Petaluma CA
> 94952-3329 +1 (707) 773-4646
> 
> 
> ---------------------------------------------------------------------
> 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