-
1. Re: including quartz as jboss 7 module
aemdtuc Jun 28, 2012 4:00 AM (in response to aemdtuc)nice tutorial that mastertheboss just released explaining how to use Quartz 2 on JBoss AS 7
http://mastertheboss.com/jboss-application-server/442-quartz-2-tutorial-on-jboss-as-7.html
-
2. Re: including quartz as jboss 7 module
dgesino Jul 2, 2012 11:51 AM (in response to aemdtuc)is it still possible as it was in jboss 5 to set quartz as an application server service through its JMX bean?
In Jboss 5 I had to put a file like:
<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.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>
in the deployment. what do I need to do in jboss 7?
thanks
-
3. Re: including quartz as jboss 7 module
aemdtuc Jul 3, 2012 2:54 AM (in response to dgesino)Hey Davide,
I did as it is show in the first page of the tutorial, but for Quartz to work with my project, I had to include a jboss-deployment-structure.xml under WebContent/WEB-INF.
This file structure is like this:
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.quartz" />
</dependencies>
</deployment>
</jboss-deployment-structure>
I THINK that way you were used to do, won't work anymore for Quartz 2.0 and JBoss 7.
At least the tutorials from Quartz 2 any of them has an example like that.