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

    Local Reference to an EJB in another package

      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