开发者

Trying to register default QuartzSchedulerMBean

开发者 https://www.devze.com 2023-03-20 12:49 出处:网络
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

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

精彩评论

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