3 Replies Latest reply on Jul 10, 2003 2:51 AM by jbosssteven

    help me! about web.xml

    jbosssteven Newbie

      now I am using jboss3.2.1-jetty.I deployed a war file and occured these error message:

      status: Deployment FAILED reason: The content of element type "web-app" must match "(
      icon?,display-ame?,description?,distributable?,
      context-param*,servlet*,servlet-mapping*,
      session-config?,mime-mapping*,welcome-file-list?,
      error-page*,taglib*,resource-ref*,security-constraint*,
      login-config?,security-role*,env-entry*,ejb-ref*)".

      I am sure I have a problem with these code in my web-xml:
      <ejb-ref>
      <ejb-ref-name>aaa</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      aaaHome
      aaa
      </ejb-ref>

      but I don't know why.I used these code correctly in weblogic.I have no document about jboss3.2.x but 3.x,it couldn't help me because the big change between 3.2.x and 3.x.who can help me? I need a jboss-web.xml?
      btw:jboss has published the patch about the %00 BUG at 3.2.1?