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

ejb-local-ref is not resolving to metadata localJndiName

    XMLWordPrintable

Details

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

    Description

      An ejb-local-ref like:
      <ejb-local-ref>
      <ejb-ref-name>ejb/CMP20CalleeLocal</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>com.sun.ts.tests.common.ejb.calleebeans.CMP20CalleeLocalHome</local-home>
      <local>com.sun.ts.tests.common.ejb.calleebeans.CMP20CalleeLocal</local>
      <ejb-link>CMP20CalleeLocal</ejb-link>
      </ejb-local-ref>

      with a jboss.xml like:
      <entity>
      <ejb-name>CMP20CalleeLocal</ejb-name>
      <jndi-name>ejb_ee_bb_session_stateless_argsemantics_CMP20CalleeLocal</jndi-name>
      </entity>

      is resolving to the jndi name rather than the local jndi name:
      ess.argsemantics.CallerBean
      +++ejb-local-ref(ejb/CMP20CalleeLocal) -> mappedName=null| resolvedJndiName=ejb_ee_bb_session_stateless_argsemantics_CMP20CalleeLocal
      +++ejb-local-ref(ejb/CMP20CalleeBothLocal) -> mappedName=null| resolvedJndiName=ejb_ee_bb_session_stateless_argsemantics_CMP20CalleeBoth

      It needs to resolve to the metadata determineLocalJndiName() since that is what the BaseLocalProxyFactory.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: