1 Reply Latest reply on Oct 9, 2002 9:25 PM by Joel Vogt

    web.xml and ejb-ref

    Lamouret Newbie

      I'm using JBoss2.4.9 on Linux Debian

      I've got something strange i can understand.

      My first application used servlet and EJB (session and entity), deployed in an ear file on a same server.
      So, i declare in my web.xml all servlets and ejbs, and ejbs in jboss.xml and ejb-jar.xml.

      All is good, my application is ok with this configuration.

      My trouble is when i remove in the web.xml file the declaration of alls ejb, my application is always ok, servlet find ejb !!

      In another application on the same server, i defined in a myapp.war directory some jsp files which used ejb of this first application. And in the myapp.war/WEB_INF/web.xml, i've no defined the ejb ! And it's ok, jsp found ejb !

      Is there a problem ? or what have i not understood ?