Runtime exception: Cannot initialize the scheduler!

Chris Keller cck0001 at yahoo.com
Tue Apr 16 02:25:04 UTC 2013


I am trying to build rhq from the latest source. I followed the instructions on:

https://docs.jboss.org/author/display/RHQ/Building+RHQ


I am able to get a clean build, however when I run the rhq server in the dev-container I get the following runtime error:

21:49:14,612 ERROR [org.jboss.ejb3.invocation] (EJB default - 1) JBAS014134: EJB Invocation failed on component StartupBean for method public void org.rhq.enterprise.server.core.StartupBean.init() throws java.lang.RuntimeException: javax.ejb.EJBException: java.lang.RuntimeException: Cannot initialize the scheduler!
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:282) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

The root cause is of the scheduler initialization failure is:

Caused by: org.quartz.SchedulerException: ThreadPool class not specified.
        at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:764) [quartz-1.6.5.jar:1.6.5]
        at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1376) [quartz-1.6.5.jar:1.6.5]
        at org.rhq.enterprise.server.scheduler.SchedulerService.initQuartzScheduler(SchedulerService.java:120) [rhq-enterprise-server-ejb3.jar:4.7.0-SNAPSHOT]

It looks like the quartz configuration is not being read correctly.

I am running Windows 7 and java 7:
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

I have attached the full server.log file from a startup.

Thanks,

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/rhq-devel/attachments/20130415/8fd55258/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rhq-server..log
Type: application/octet-stream
Size: 204915 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/rhq-devel/attachments/20130415/8fd55258/attachment-0001.obj>


More information about the rhq-devel mailing list