[jboss-jira] [JBoss JIRA] Created: (JBAS-5285) *ReferenceMetadataResolverDeployers overridding explicitly-defined jndi-name

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Fri Mar 7 12:05:57 EST 2008


*ReferenceMetadataResolverDeployers overridding explicitly-defined jndi-name
----------------------------------------------------------------------------

                 Key: JBAS-5285
                 URL: http://jira.jboss.com/jira/browse/JBAS-5285
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Andrew Lee Rubinger
         Assigned To: Alexey Loubyansky
             Fix For: JBossAS-5.0.0.CR1


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list