Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-2093

Testing a WebService through ApplicationComposer may lead to a null WebServiceContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 4.7.0
    • 4.7.0
    • tests
    • None

    Description

      This bug was really hard to isolate:

      A @Stateless @WebService bean deployed through an ApplicationComposer @Module of type EnterpriseBean|EjbJar|EjbModule will not have its @Resource WebServiceContext injected IF the @Module is annotated with @Classes (even if @Classes is empty).

      The same @Module without the @Classes will work. It will also work if the @Module returns Class<?>[] instead.

      Attachments

        1. openejb-2093.zip
          3 kB
          Xavier Dury

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            kalgon Xavier Dury
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: