Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6843

Metadata not created for deployments listed through Classpath attribute of Manifest.MF files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • JBossAS-5.1.0.Beta1, JBossAS-5.1.0.CR1
    • Deployers
    • None

    Description

      If a (EJB) deployment jar contains a MANIFEST.MF which points to another deployment (not a plain jar) through the ClassPath attribute, then the deployment framework does not generate metadata for the deployment listed in MANIFEST.MF

      Ex: A.jar is an EJB3 deployment which contains a MANIFEST.MF pointing to B.jar (another EJB3 deployment). While processing A.jar (and its entries in MANIFEST.MF), the deployment framework does not generate metadata for B.jar

      As per EJB3.0 core spec, section 20.3:

      The ejb-jar file must contain, either by inclusion or by reference, the class files of each enterprise bean as follows:

      • The enterprise bean class.
      • The enterprise bean business interfaces, web service endpoint interfaces, and home and component interfaces.
      • Interceptor classes.
      • The primary key class if the bean is an entity bean.

      We say that a jar file contains a second file "by reference" if the second file is named in the Class-Path attribute in the Manifest file of the referencing jar file or is contained (either by inclusion or by reference) in another jar file that is named in the Class-Path attribute in the Manifest file of the referencing jar file.

      Attachments

        1. SampleEAR.zip
          8 kB
        2. jboss-deployers-vfs.jar
          138 kB
        3. jboss-deployers-vfs.jar
          138 kB

        Issue Links

          Activity

            People

              ajustin@redhat.com Ales Justin
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: