0 Replies Latest reply on Mar 9, 2006 10:49 AM by kurilenko

    Accessing isolated ejb (in isolated ear)

    kurilenko Newbie

      I have two application : app1.ear and app2.war.
      In some reason app.ear are isolated.

      app1.ear is isolated in this way :

      <?xml version="1.0" encoding="UTF-8" ?>
       <jboss-app>
       <loader-repository>test.com:loader=my_ejb.jar</loader-repository>
       </jboss-app>
      


      I want to have acces from app3.ear to ejb in app1.ear. I am using ejb-ref in this way :
      web.xml
      <ejb-ref>
       <ejb-ref-name>ejb/BHome</ejb-ref-name>
       <ejb-ref-type>Session</ejb-ref-type>
       <home>BHome</home>
       <remote>B</remote>
       </ejb-ref>


      jboss-web.xml


      <ejb-ref>
       <ejb-ref-name>ejb/BHome</ejb-ref-name>
       <jndi-name>jnp://localhost:1099/BHome</jndi-name>
       </ejb-ref>


      I am using JBOSS 3.2.7

      But it still told me that I have incorrect deployment.

      Please help me solve this problem.