5 Replies Latest reply on Aug 20, 2008 10:32 AM by nizzy

    JobExecutorServlet alternative

    nizzy

      Hi,

      I'm using JBPM 3.2.2 with JBoss 4.2.2 AS. I need to use timers in my process definitions and so I have initialised the JobExecutorServlet and all this works fine.

      However what do I do if I want to split the app server and web server? I have seen using JMS Queues may be an alternative to the JobExecutorServlet when using an AS.

      1. Is this correct?
      2. Can anyone point me to documentation on how to configure this or examples to display how it is done?

        • 1. Re: JobExecutorServlet alternative
          kukeltje

          The enterprise version has an ejb timer based scheduler. See the docs for this

          • 2. Re: JobExecutorServlet alternative
            nizzy

            Hi,

            Thanks for the reply!

            Can you tell me which docs you are referrring to?

            Naturally that was the first place I looked prior to posting. However I can find nothing in the user guide. Section 13 being the only real mention of Schedulers.

            • 3. Re: JobExecutorServlet alternative
              nizzy

              Hi,

              I have successfully started the JobExecutor using a MBean. Is there any issues with this?

              In you guys expert opinion, ;), is this a reasonable way to do this?

              • 4. Re: JobExecutorServlet alternative
                aguizar

                Did you check chapter 9?
                I see nothing unreasonable in starting the job executor from an MBean. But why bother, when the enterprise module offers you a JMS message service and an EJB scheduler service in a portable package.

                • 5. Re: JobExecutorServlet alternative
                  nizzy

                  Hi Alex,

                  Because I do not wish to deploy enterprise ear and it was easier to write MBean to accomplish the task than search for examples or documentation on how to do it any other way!

                  It only took 15 mins to write MBean.