Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5965

Resource adapter archive not recognized as CDI bean archive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.2.Final (EAP)
    • CDI / Weld
    • None

      The CDI 1.0 spec states in 12.1. "Bean archives":

      A library jar, EJB jar, application client jar or rar archive is a bean archive if it has a file named beans.xml in the META-INF directory.
      ...
      In an application deployed as an ear, the container searches every bean archive bundled with or referenced by the ear, including bean archives bundled with or referenced by wars and EJB jars contained in the ear. The bean archives might be library jars, EJB jars, rars or war WEB-INF/classes directories.

      However it seems that RARs are not recognized.

            sdouglas1@redhat.com Stuart Douglas
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: