Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-607

DeltaSpike Scheduler module requires Quartz due to a Weld bug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.6.0.ER1
    • Fix Version/s: 2.7.0.ER1
    • Component/s: DeltaSpike
    • Labels:
      None
    • Environment:

      EAP 6.2.x
      (and any 6.x that contains pre-1.1.22.Final Weld)

    • Target Release:
    • Steps to Reproduce:
      Hide

      CustomSchedulerWarFileTest and CustomSchedulerEarFileTest tests in the DeltaSpike Scheduler module testsuite.

      Show
      CustomSchedulerWarFileTest and CustomSchedulerEarFileTest tests in the DeltaSpike Scheduler module testsuite.
    • Workaround Description:
      Hide

      Bundle the Quartz library.

      Show
      Bundle the Quartz library.
    • Affects:
      Release Notes
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Release Notes Text:
      Hide
      Any archive which bundles the DeltaSpike Scheduler Implementation module and does not bundle the Quartz library failed to deploy on Red Hat JBoss Enterprise Application Platform 6.2.x. This was caused by an issue in Weld which caused a deployment failure if an archive contains a class that has a missing dependency in a type argument. JBoss EAP 6.3.0 has been upgraded to Weld 1.1.22.Final, which resolves the issue.
      Show
      Any archive which bundles the DeltaSpike Scheduler Implementation module and does not bundle the Quartz library failed to deploy on Red Hat JBoss Enterprise Application Platform 6.2.x. This was caused by an issue in Weld which caused a deployment failure if an archive contains a class that has a missing dependency in a type argument. JBoss EAP 6.3.0 has been upgraded to Weld 1.1.22.Final, which resolves the issue.

      Description

      The Scheduler module contains a QuartzSchedulerProducer class which depends on a Quartz class org.quartz.Job through a type argument:

      protected Scheduler<Job> produceScheduler()
      ...
      

      Due to WELD-1669 this causes a deployment failure for any deployment that bundles the Scheduler module and not the Quartz library.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rsmeral Ron Šmeral
                Reporter:
                rsmeral Ron Šmeral
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: