0 Replies Latest reply on Apr 1, 2004 2:50 AM by michael lee

    access ejb-local-ref in Web.xml

    michael lee Newbie


      I have deployed an session bean with both local and remote interface on Jboss 3.0.6.

      When access the EJB on another Web application, if i use <ejb-ref> in web.xml and access remote interface, it work. (with jndi specified in jboss-web.xml).

      If using <ejb-local-ref>, naming exception throw when deploy the web application.

      The web application is stored in another deployment unit.

      I found many posts with similar problem. I would like to confirm whether this is a limitation on Jboss. Even though both application run on the same JVM, local interface cannot be used if it come from diff. deployment unit.

      Is there any change on version 3.2 or 4.0?

      Also, in jmx-console agent display, if both interface defined, only remote appear :


      jndiName for local interface not found. Is this normal?

      Thanks & Regards,