Was this a clean build into a brand new dev-container?  It almost looks like there could be some old jar files in play.  Not sure...


On 4/15/2013 10:25 PM, Chris Keller wrote:
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]