Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-348

Invalid module path or references in plan should result in failed deployment or warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.x, 2.0-M6
    • 2.0-M6
    • deployment
    • None
    • Patch Available

    Description

      If an EAR deployment plan contains a entry for a module but the path does not match that of a module in the application.xml then an error or warning should be issued at deployment time.

      A likely reason for this is that a developer copied the plan from another but forgot to change the uri entry for the submodule; or it could just be a simple typo. In either way, the plan won't match the intended module from the application.xml resulting in erroroneous behaviour.

      (added)
      In addition, elements in a plan that do not correspond to elements in the deployment descriptor should result in a warning or error. Examples would be an ejb listed in the openejb plan that does not correspond to an ejb in the ejb-jar.xml, or a resource-ref in the ejb that does not correspond to a resource-ref in the ejb-jar.xml.

      Attachments

        1. noref348.patch
          4 kB
          Rakesh Midha
        2. G348.patch
          7 kB
          Donald Woods

        Issue Links

          Activity

            People

              rakesh Rakesh Midha
              jboynes Jeremy Boynes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: