Anish wrote:
Hi
I've applied cron scheduler to my Cocoon/Lenya Application. I'm trying
to call a pipeline (which is publication specific i.e. inside
publication-sitemap.xmap).
My call from scheduler reaches to the sitemap but during processing it
throws :
org.apache.excalibur.source.SourceException: Cannot get input stream
for cocoon://mypublication/live/mypage.xml
due to:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Although my all pipelines work fine inside the publication as I access
through browser.
I'm using:
Cocoon 2.1.7
Lenya 1.2.4
Tomcat 5.5.17
Please suggest.
Vik Tara wrote:
for general scheduling tasks, take a look at the cron block API
documentation in Cocoon.
I think that's here:
http://xmlshoestring.com/samples/blocks/cron/samples
Andreas Hartmann wrote:
Hi Anish,
Anish schrieb:
I was trying to implement Cocoon Job Scheduler. Please help and
provide me documentation/information as I could hardly find relevant
documentation on that.
for general scheduling tasks, take a look at the cron block API
documentation in Cocoon.
For an example how to schedule a Lenya usecase, consult the API of the
UsecaseScheduler class and use the Publish usecase as an example.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Thanks & Regards,
Anish
Hi All
Thanks, The issue is resolved.
--
Thanks & Regards,
Anish