Actually my application is running successfully in jboss-4.2.1.GA, but now i have to upgrade it on jboss-6.0.0.Final. I just copy my running .ear file at jboss-6.0.0.Final\server\default\deploy\ and trying to run it.
XML validation in JBoss AS 5 and JBoss AS 6 is stricter than what it used to be in JBoss AS 4.x. Your web.xml seems to have an incorrect entry (the order matters) as compared to what is expected by the xsd. Use a xml validating editor or check the xsd to fix the problem. The exception stacktrace is telling you exactly which line and which element in the web.xml is incorrect.
I rechecked my web.xml against xml validator editor. XML is perfect but its ordering according to new jboss-6.0.0.Final xsd's seems incorrect.
Will you please guide me from where i can set xsd's setting i.e the xsd version which should be checked while parsing web.xml. It may be some jboss settings xml.
Whether should i change my web.xml ordering what the new xsd expecting or change somehow the settings of xsd's to the previous one which was checked while in jboss-4.x.As my application was running perfectly in jboss-4.x.