1

I would like to see and manage Quartz Scheduler from JConsole. I configured the quartz props.

org.quartz.scheduler.rmi.export=true
org.quartz.scheduler.rmi.registryPort=1099
org.quartz.scheduler.rmi.createRegistry=true
org.quartz.scheduler.rmi.registryHost=localhost
org.quartz.scheduler.skipUpdateCheck=true
org.quartz.jobStore.misfireThreshold=60000
org.quartz.jobStore.class=org.quartz.simpl.RAMJobStore
org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount=10
org.quartz.threadPool.threadPriority=5

But I am not able to connect the jconsole using the url

service:jmx:rmi://localhost/jndi/rmi://localhost:1099/jmxrmi

Please help.

4

1 回答 1

5

请参阅http://jira.opensymphony.com/browse/QUARTZ-300

您的类路径中需要 Quartz 1.6 和 commons-modeler。添加

org.quartz.scheduler.jmx.export=true

在您的石英配置中。

于 2010-11-18T09:08:36.560 回答