1 Reply Latest reply on Mar 8, 2004 9:37 AM by Heiko Rupp


    vivek090 Newbie

      Hi all,
      We are getting this error when we are deploying a .war file in the deployment directory.when we restarted the server ,the error shown on the logs is :

      ERROR [Digester] Parse Error at line 6 column 19: Document root element "web-app", must match DOCTYPE root "null".

      We want to know how to overcome this error.
      Thanks and Regards,

        • 1. Re: Deployment
          Heiko Rupp Master

          It looks like your web.xml file has a bad document type at the top.

          Take the one of e.g. the jmx-console as an example on how this should look.
          You can find it at $jboss/server/default/deploy/jmx-console/WEB-INF/