Comment by
luigimat...@gmail.com:
Hi, I want to utilize you tool in a JBoss server with Quartz 2.1.6 to
launch a simple jobs, but I am newbye of this environment. I think, I'm
getting something wrong but I could not understand what.
I am working with JBoss 4.2.3 with those parameter :
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=2911
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dorg.quartz.scheduler.jmx.export=true
in the deploy path i insert a quartz-service.xml so defined:
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.quartz.ee.jmx.jboss.QuartzService"
name="user:service=QuartzService,name=QuartzService">
<attribute name="JndiName">Quartz</attribute>
<attribute name="Properties">
org.quartz.scheduler.instanceName = DefaultQuartzScheduler
org.quartz.scheduler.rmi.export = false
org.quartz.scheduler.rmi.proxy = false
org.quartz.scheduler.xaTransacted = false
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount = 5
org.quartz.threadPool.threadPriority = 4
org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
</attribute>
</mbean>
</server>
Now, jwatch application it runs well, but in the "Scheduler" selection tag
there is no element (label "Select a Scheduler..."). Does not jwatch launch
a job itself?
May be i could define a scheduler class an deploy it in a ear package?
Could you please explain me how to setup that task for this environment?
Thanking you in advance…