Jorg Heymans dijo: > Antonio, > > Can you elaborate on why i was getting all these exceptions? Is this > predefined behaviour?
ou are right, the sample is broken. All in all, this is OT to solve the bug. The problem was an OutOfMemory Error. I am not sure why the source resolver in this case does not process the requested URI. I think Reinhard or Giacomo can tell us why the sample is broken and perhaps fix it. I saw the sample is being broken at line 83: http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/cron/java/org/apache/cocoon/components/cron/TestCronJob.java?annotate=1.8 BTW, I think Carsten fixed the bug in Revision 1.7: http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/cron/java/org/apache/cocoon/components/cron/TestCronJob.java Because if the resources does not get released then this can be the source of the OutOfMemoryError. Anyway, the cron job runned 100 iterations and no signs of eating memory. Best Regards, Antonio Gallardo.
