cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quoin Developers <quoin...@gmail.com>
Subject Re: bug? dupliate triggers/jobs with cron block
Date Fri, 03 Feb 2006 02:43:03 GMT
Hello,

I'm using the cron block to launch a CronJob. I'm seeing two instances
of my CronJob created when there should just be one. Only one gets set
up with a working logger, so this was pretty tricky to figure out.

Further debugging uncovered that the whole cocoon initialization
process is occurring twice in the main thread. (contextualize,
configure, initialize).

The two sets of stack traces are actually slightly different (attached).

There is a difference in the middle of the stack trace.

Here's a snippet from a unified diff. The full traces are attached.

        StandardHost.addChild(Container) line: 595
-       StandardHostDeployer.addChild(Container) line: 903
-       NativeMethodAccessorImpl.invoke0(Method, Object, Object[])
line: not available [native method]
-       NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
-       DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
-       Method.invoke(Object, Object[]) line: 324
-       MethodUtils.invokeMethod(Object, String, Object[], Class[]) line: 216
-       SetNextRule.end() line: 256
-       SetNextRule(Rule).end(String, String) line: 276
-       CatalinaDigester(Digester).endElement(String, String, String) line: 1058
-       CatalinaDigester.endElement(String, String, String) line: 76
-       SAXParserImpl$JAXPSAXParser(AbstractSAXParser).endElement(QName,
Augmentations) line: not available
-       XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanEndElement()
line: not available
-       XMLDocumentScannerImpl$ContentDispatcher(XMLDocumentFragmentScannerImpl$FragmentContentDispatcher).dispatch(boolean)
line: not available
-       XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanDocument(boolean)
line: not available
-       XIncludeAwareParserConfiguration(XML11Configuration).parse(boolean)
line: not available
-       XIncludeAwareParserConfiguration(XML11Configuration).parse(XMLInputSource)
line: not available
-       SAXParserImpl$JAXPSAXParser(XMLParser).parse(XMLInputSource)
line: not available
-       SAXParserImpl$JAXPSAXParser(AbstractSAXParser).parse(InputSource)
line: not available
-       SAXParserImpl$JAXPSAXParser.parse(InputSource) line: not available
-       CatalinaDigester(Digester).parse(InputStream) line: 1567
-       StandardHostDeployer.install(URL, URL) line: 488
-       StandardHost.install(URL, URL) line: 863
-       HostConfig.deployDescriptors(File, String[]) line: 483
-       HostConfig.deployApps() line: 427
+       StandardHostDeployer.install(String, URL) line: 277
+       StandardHost.install(String, URL) line: 832
+       HostConfig.deployDirectories(File, String[]) line: 701
+       HostConfig.deployApps() line: 432
        HostConfig.start() line: 983


Tomcat 5.0.28
pretty recent cocoon and quartz

Please, does anyone have any idea what's going on?

Thanks and regards,
Eric Meyer

Mime
View raw message