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

*ReferenceMetadataResolverDeployers overridding explicitly-defined jndi-name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.0.CR1
    • None
    • None
    • None

      MappedReferenceMetadataResolverDeployer and ReferenceMetadataResolverDeployer contain methods resolveEjbRefs/resolveEjbLocalRefs which override the mappedName in the metadata objects if an ejb-link is defined. In this case, the mappedName/jndi-name becomes the resolved JNDI Name referenced by ejb-link.

      Instead, the "resolvedJndiName" property should be set to the address resolved from ejb-link, leaving mappedName/jndi-name intact (it may be declared explicitly).

      This change will have repercussions within EJB2 ,AS TestSuite, and metadata projects.

              olubyans@redhat.com Alexey Loubyansky
              arubinge@redhat.com Andrew Rubinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: