Quartz Scheduler (Historical - Do Not File New Issues Here - See GitHub)
  1. Quartz Scheduler (Historical - Do Not File New Issues Here - See GitHub)
  2. QTZ-113

Quartz starts unmanaged threads and J2EE context is not propagated to the job threads

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: 1 Critical 1 Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.6
    • Fix Version/s: 1.8.6, 2.0.2
    • Component/s: Core, ThreadPools
    • Labels:
      None
    • Terracotta Target:
      Unknown

      Description

      This is a request to apply the patch that was created in the previous jira instance:
      http://jira.opensymphony.com/browse/QUARTZ-743

      We are integrating Quartz with Websphere 7 and we are affected by the issue as well. We have applied the patch locally and it now runs fine. Could you please schedule this one for the next bugfix release?

      BTW, are the open issues in the old jira instance still handled?

      1. 1.8.x.patch
        13 kB
        Ludovic Orban
      2. QTZ-113.patch
        13 kB
        Stephane Nicoll
      3. trunk.patch
        12 kB
        Ludovic Orban

        Issue Links

          Activity

          Hide
          Ludovic Orban added a comment -

          Patch applied on trunk as well as 1.8.x and 2.0.x branches

          Show
          Ludovic Orban added a comment - Patch applied on trunk as well as 1.8.x and 2.0.x branches
          Hide
          Stefan Gybas added a comment -

          There are two other threads that are started in their initialize() method:

          JobStoreSupport$MisfireHandler
          JobStoreSupport$ClusterManager

          They should probably also be started using the new ThreadExecutor.

          Show
          Stefan Gybas added a comment - There are two other threads that are started in their initialize() method: JobStoreSupport$MisfireHandler JobStoreSupport$ClusterManager They should probably also be started using the new ThreadExecutor.
          Hide
          Ludovic Orban added a comment -

          Can you open a new issue to track this new task?

          Thanks!

          Show
          Ludovic Orban added a comment - Can you open a new issue to track this new task? Thanks!
          Hide
          Stefan Gybas added a comment -

          Done. QTZ-194

          Show
          Stefan Gybas added a comment - Done. QTZ-194
          Hide
          Stefan Gybas added a comment -

          I've written an article about running Quartz with managed threads on WebSphere:
          http://gybas.com/2014/quartz-websphere-spring/

          A sample project that uses the Spring framework is available from
          https://github.com/sgybas/quartz-websphere-spring

          Show
          Stefan Gybas added a comment - I've written an article about running Quartz with managed threads on WebSphere: http://gybas.com/2014/quartz-websphere-spring/ A sample project that uses the Spring framework is available from https://github.com/sgybas/quartz-websphere-spring

            People

            • Assignee:
              Ludovic Orban
              Reporter:
              Stephane Nicoll
            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: