0 Replies Latest reply on Jun 29, 2002 7:16 PM by marcwea

    Local Reference to EJB in JBoss-3

    marcwea

      Hi,

      I am trying to deploy in JBoss 3 some jars that I created using Sun J2EE deploytool reference. I have some problems with JNDI and referencing local EJBs. The session EJB is in one Jar and the local EJB entity beans are in another jar but , of course, deployed in the same server.

      In the ejb-jar.xml file I have:

      <ejb-local-ref>
      <ejb-ref-name>ejb/Job</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>net.work.LocalJobHome</local-home>
      net.work.LocalJob
      <ejb-link>JobEJB</ejb-link>
      </ejb-local-ref>
      and in the jboss.xml file I have:

      <ejb-ref>
      <ejb-ref-name>ejb/Job</ejb-ref-name>
      <jndi-name>Job</jndi-name>
      </ejb-ref>
      The job Bean is in another jar...
      Can anyone tell me how local reference works in JBoss 3 and what I am missing.

      Thanks a lot.

      Marc