I'm using the cron block to launch a CronJob. I'm seeing two instances
of my CronJob created - one with a NullLogger, and one that logs to
the standard cocoon log (that was hard to track down!).
Enable logging is being called from the same place in each instance:
at
org.apache.avalon.framework.container.ContainerUtil.enableLogging(ContainerUtil.java:89)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:220)
at
org.apache.avalon.excalibur.component.DefaultComponentHandler.doGet(DefaultComponentHandler.java:136)
at
org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHandler.java:381)
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:272)
at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:335)
at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:68)
at
org.apache.cocoon.components.cron.QuartzJobExecutor.execute(QuartzJobExecutor.java:89)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:534)
It looks like I'm getting two instances of the QuartzJobExecutor from
my trigger.
Has anyone seen this before? Any suggestions what I'm doing wrong, or
is this a bug?
There is nothing particular remarkable about the component
declarations for the jobs or for the cron/trigger declarations (they
are much like the example from the cron block).
Thanks in advance, as I'm starting to pull my hair out on this one.
Regards,
Eric Meyer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]