xadisk
  1. xadisk
  2. XADISK-115

JBoss 7.1 expects #run() and #release to be explicitly declared

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      JBoss 7.1.1

      Description

      The #run() and #release() methods required by javax.resource.spi.work.Work are expected by JBoss 7.1 to be overridden in the specific subclasses of Work used in an RA. Unfortunately, XADisk only declared these methods in abstract superclasses; the concrete implementations only inherit these.

      While this is perfectly fine with respect to the Spec, JBoss will refuse to load XADisk unless the subclasses override the methods from the abstract Work classes (overriding with super.run() / super.release()) is okay).

      While JBoss is quite certainly wrong here, XADisk will not load on JBoss 7.1; the attached patch fixes that (without changing behavior).

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Nitin Verma
            Reporter:
            Simon Dierl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: