cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christofer.Dutz@univativ.de" <christofer.d...@univativ.de>
Subject AW: Scheduler with name 'Cocoon' already exists.
Date Fri, 22 Sep 2006 17:24:14 GMT
Hi George

This is not really a scheduler problem. I guess one of the components defined in your cocoon.xconf
is failing. Cocoon tries to restart configuring and the scheduler was already configured.
There should be some more information further up in the startup log. If not have a look at
the cocoon.log.

Chris

-----Urspr√ľngliche Nachricht-----
Von: George V. Prascharuk [mailto:chidar@mgn.ru] 
Gesendet: Freitag, 22. September 2006 19:16
An: cocoon-dev@apache.org
Betreff: Scheduler with name 'Cocoon' already exists.

Hello everybody.

Please, help me.

I have a cocoon-2.1.7 under Tomcat 5.0.28.

I try to use OpenJMS. Then i put the openjms-0.7.7-alpha-3.jar into
the WEB-INF/lib after Cocoon (or Tomcat) restart i have an a error in
initialization.

Here this error.
---------------------------------------------------------------------------
Initialization Problem

Message: Scheduler with name 'Cocoon' already exists.

Description: org.apache.avalon.framework.configuration.ConfigurationException: cannot create
a quartz scheduler

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

org.quartz.SchedulerException: Scheduler with name 'Cocoon' already exists.

request-uri

/cocoon/

full exception chain stacktrace

org.apache.avalon.framework.configuration.ConfigurationException: cannot create a quartz scheduler
        at org.apache.cocoon.components.cron.QuartzJobScheduler.initialize(QuartzJobScheduler.java:324)
        at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
        at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:277)
        at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
        at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
        at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:561)
        at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:282)
        at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
        at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1391)
        at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
        at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:534)
Caused by: org.quartz.SchedulerException: Scheduler with name 'Cocoon' already exists.
        at org.quartz.impl.SchedulerRepository.bind(SchedulerRepository.java:87)
        at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:340)
        at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:270)
        at org.apache.cocoon.components.cron.QuartzJobScheduler.initialize(QuartzJobScheduler.java:320)
        ... 34 more

stacktrace

org.quartz.SchedulerException: Scheduler with name 'Cocoon' already exists.
        at org.quartz.impl.SchedulerRepository.bind(SchedulerRepository.java:87)
        at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:340)
        at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:270)
        at org.apache.cocoon.components.cron.QuartzJobScheduler.initialize(QuartzJobScheduler.java:320)
        at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
        at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:277)
        at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
        at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
        at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:561)
        at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:282)
        at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
        at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1391)
        at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
        at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:534)
---------------------------------------------------------------------------

Is some body have this problem.
That to do. I need use OpenJMS. The openjms-0.7.7-alpha-3.jar is a
client library.


Thanks.

George V. Prascharuk
Magnitogorsk
Russia

chidar@mgn.ru






Mime
View raw message