0 Replies Latest reply on May 20, 2002 11:23 AM by Patricia Canela

    Problems with web container  configuration

    Patricia Canela Newbie

      Hi!

      I´m having this problem while deploying an war file:

      ************
      [INFO,Default] ERROR reading C:\_JAVA\JBoss-2.4.4\jboss\tmp\deploy\Default\EiaAp
      p.ear\web1020\WEB-INF\web.xml
      [INFO,Default] At XML declaration may only begin entities.
      **********

      I´ve looked over the web.xml file, but everything looks ok!!!!

      This is how it looks:
      *******
      <web-app>

      <servlet-name>TestServlet</servlet-name>
      <servlet-class>common.TestServlet</servlet-class>


      <servlet-mapping>
      <servlet-name>
      TestServlet
      </servlet-name>
      <url-pattern>
      /TestServlet
      </url-pattern>
      </servlet-mapping>

      <!-- EJB References -->
      <ejb-ref>
      <ejb-ref-name>ejb/Recovery</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      recovery.RecoveryHome
      recovery.Recovery
      </ejb-ref>
      </web-app>
      ********

      What may be the problem?

      Thanks for your attention.

      Patxi