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

parse persistence unit (persistence.xml) contained in jar file in the EAR library directory

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 7.0.0.CR1
    • None
    • None
    • None

    Description

      PersistenceUnitParseProcessor.handleEarDeployment() needs to know the difference between jars that are subdeployments and jars that are in ear/lib.

      Currently, jars in ear/lib are ignored.

      For example, with a deploymentUnit.getAttachment(Attachments.RESOURCE_ROOTS) of:
      ResourceRoot [root="/content/test.ear/lib/test.jar"]
      ResourceRoot [root="/content/test.ear/test_web.war"]
      ResourceRoot [root="/content/test.ear/test_ejb.jar"]

      The test.ear/test_web.war + test.ear/test_ejb.jar get handled as subdeployments but test.ear/lib/test.jar does not.

      Attachments

        Activity

          People

            smarlow1@redhat.com Scott Marlow
            smarlow1@redhat.com Scott Marlow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: