1 Reply Latest reply on Sep 7, 2001 5:46 PM by Jim Crossley

    Getting EJB from servlet in different container

    Kevin Duffey Newbie

      Anyone know the right way to get EJB objects from an EJB container on another machine? I have tried creating the hashtable of props for client jndi, and that seems to help. But every time I try to access an EJB, it tells me XXX not bound. In my web-inf/web.xml, I have:

      <ejb-ref>
      <ejb-ref-name>ejb/MyEJB</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      myPackage.MyHome
      myPackage.MyRemote
      </ejb-ref>

      This worked fine in Orion when deployed in the same container (servlets and ejb). Trying to use Orion for web tier and JBoss for mid tier and having no luck getting EJB references.

      Any help would be appreciated.

      Thank you.