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

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0.CR1
    • Component/s: None
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                smarlow Scott Marlow
                Reporter:
                smarlow Scott Marlow
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: