Hi Jasha, Please see my comments below.
--- On Tue, 9/23/08, Jasha Joachimsthal <[EMAIL PROTECTED]> wrote: > From: Jasha Joachimsthal <[EMAIL PROTECTED]> > Subject: RE: Is CocoonPipelineCronJob broken? > To: users@cocoon.apache.org, [EMAIL PROTECTED] > Date: Tuesday, September 23, 2008, 8:23 AM > Hi Woonsan, > > > -----Original Message----- > > From: Woonsan Ko [mailto:[EMAIL PROTECTED] > > 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 > > [EMAIL PROTECTED] - [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]