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,
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/