2 Replies Latest reply on Sep 26, 2003 7:16 AM by demarco

    Linking 2 EJBs in different packages

      Hello together.
      I posted this message a few weeks ago in another part of the forum, but I didn't get some help. So I am trying it again in this part:

      How can I link a LocalReference to an EJB in another Package?
      I tried the following:

      <ejb-local-ref>
      <ejb-ref-name>ejb/TestAppLocalHome</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>sessions.TestAppLocalHome</local-home>
      sessions.TestAppLocal
      <ejb-link>TestApp</ejb-link>
      </ejb-local-ref>

      But it doesn't work. The following error occurs during deploying:
      "Bean TestApp not found within this application."
      TestApp has its own ejb-jar and has its own jar-file.

      Is there someone who can help me?

      Best regards
      Marco