3 Replies Latest reply on Oct 27, 2005 12:02 PM by jnjintc

    Scheduler Session Factory

    jnjintc

      Hi,

      I believe I am having a problem with the SchedulerThread class because it keeps the JbpmSessionFactory in a static variable. Our applications requires that we start & stop all applications and schedules running and then be able to restart them.

      I would like to issue a JIRA request regarding having the JbpmSessionFactory in the schedule thread class not be a static variable and make it something an application has more control over

      How does one go about issuing a Jira request

      thanks,
      Adam

        • 1. Re: Scheduler Session Factory
          kukeltje

          go here http://jira.jboss.org/jira/browse/JBPM and click on "create new issue"

          The schedulerThread is started from the servlet. If you 'kill' that, the thread stops. If you do a 'get' again on this servlet, it starts again.

          • 2. Re: Scheduler Session Factory
            jnjintc

            Hi,
            I looked at that link but there is no "create new issue" on that screen. Please advise.

            My schedulerThread is launched from a MBean. But I am not sure that matters, since that JbpmSessionFactory is a static, once it is loaded by the VM it stays there. Not only do I need to shut down my all my session factories, but I need the ability of using multiple factories. I need to be able to say what the Factory is at the time the thread was launched, and since this is a static, once it is loaded, I do not know how to unload.

            If I am missing something about finding that link, please let me know. I searched the paged you adviced above for the word 'create' and it is not found

            thanks,
            Adam

            • 3. Re: Scheduler Session Factory
              jnjintc

              Nevermind...Sorry. I just needed to login

              thanks,
              Adam