0 Replies Latest reply on Aug 7, 2002 1:28 PM by Marco Zanker

    Local Reference to an EJB in another package

    Marco Zanker Newbie

      Hello together.

      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