Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-407

Invalid ejb/local references in plan should result in failed deployment or warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3-unreleased
    • (not version related)
    • deployment
    • None
    • Any

    Description

      This is a part of issue http://issues.apache.org/jira/browse/GERONIMO-348 in Geronimo Tree.

      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.

      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.

      Attachments

        1. noref407.patch
          3 kB
          Rakesh Midha

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rakesh Rakesh Midha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: