3 Replies Latest reply: Jul 3, 2012 2:54 AM by aemdtuc RSS

    including quartz as jboss 7 module

    aemdtuc Newbie

      Hello Community!


      I'd like to know how to include quartz as jboss 7 module?!
      Correct me if I'm wrong, but I need to put in the modules directory,  both the quartz-jboss-2.1.5.jar and quartz-2.1.5.jar and create module.xml and put in the same folder.
      But in which folder under modules should it be?!


      Thanks in advance

        • 1. Re: including quartz as jboss 7 module
          aemdtuc Newbie

          nice tutorial that mastertheboss just released explaining how to use Quartz 2 on JBoss AS 7



          • 2. Re: including quartz as jboss 7 module
            Davide Gesino Newbie

            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:



              <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





            in the deployment. what do I need to do in jboss 7?



            • 3. Re: including quartz as jboss 7 module
              aemdtuc Newbie

              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:




                          <module name="org.quartz" />





              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.