开发者

Trying to register default QuartzSchedulerMBean

I'm t开发者_运维问答rying to register the default QuartzSchedulerMBean in my JMX server running in tomcat. The Scheduler is obtained via spring using the SchedulerFactoryBean. The issue I am running into is that QuartzSchedulerMBeanImpl requires a QuartzScheduler, while the Factory yields a wrapper object (StdScheduler). I am able to obtain the QuartzScheduler using reflection, but I'd like to register the Mbean the correct way. So far the only documentation I've found is registering the MBean within JBoss.


Have you tried the "org.quartz.scheduler.jmx.export=true" property in the quartz config?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜