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?
精彩评论