Enable JMX in Quartz
For Quartz scheduler, need to configured below-mentioned parameter in configuration file
Option 1: Enable JMX
You can enable JMX in quartz with the following in quartz properties.
“org.quartz.scheduler.jmx.export = true”
After this, you use standard JMX client such as $JAVA_HOME/bin/jconsole to connect and manage remotely.
Option 2: RMI
Another way to manage quartz remotely is to enable RMI in Quartz. If you use this, you basically run one instance of Quartz as RMI server, and then you can create second Quartz instance as RMI client. These two can talk remotely via a TCP port. Also, Make sure the mentioned port number is not used by any other applications.
For server scheduler instance, you want to add below lines in quartz.properties:
“org.quartz.scheduler.rmi.export = true”
“org.quartz.scheduler.rmi.createRegistry = true”
“org.quartz.scheduler.rmi.registryHost = localhost”
“org.quartz.scheduler.rmi.registryPort = 1099”
“org.quartz.scheduler.rmi.serverPort = 1100”
"Djava.rmi.server.hostname=<0.0.0.0> OR "