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

The home ref does not get binded with home and localHome style jndi name.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.0
    • Component/s: deployment
    • Labels:
      None

      Description

      openejb does not bind the RemoteHome format jndi name to the context.

      In method org.apache.openejb.assembler.classic.JndiBuilder.TemplatedStrategy.getName(Class, Interface) , openejb uses following template to generate the jndi name by default.

      {ejbName}{interfaceType.annotationName}

      While the case is expecting a jndi name "myEJB!org.apache.openejb.myRemoteHome" which should be generated with a template like
      {ejbName}{interfaceClass}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              genspring Lin Quan Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: