i am deployed my application in tomcat6.0. it works fine.. but the same application when i am trying to deploying in jboss5.0 its giving the following error...
please help
javax.servlet.ServletException: java.lang.LinkageError: Class javax/servlet/http/HttpServletRequest violates loader constraints
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:257)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
If you are packaging any jar file(s) containing javax.servlet.* classes, then remove those jars from your application packaging. Also, I would recommend that you upgrade to atleast JBoss AS 5.1.0 (if not JBoss AS 6.1.0 or AS7).