0 Replies Latest reply on Apr 17, 2016 12:29 PM by Qadeer Khan

    we are migrating an application from JBOSS AS 5 to JBOSS AS 7. (Application uses Struts 1.1)

    Qadeer Khan Newbie

      1:15:03,547 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/wac-ia].[jsp]] (http-/127.0.0.1:8080-1) JBWEB000236: Servlet.service() for servlet jsp threw exception: java.lang.ClassCastException: org.apache.struts.taglib.bean.CookieTei cannot be cast to javax.servlet.jsp.tagext.TagExtraInfo

      at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:264) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:164) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:390) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:451) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1428) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.Parser.parse(Parser.java:137) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:256) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.ParserController.parse(ParserController.java:105) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:194) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:359) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:326) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:606) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:620) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:553) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:482) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1014) [struts.jar:1.0]

      at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:417) [struts.jar:1.0]

      at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:390) [struts.jar:1.0]

      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:271) [struts.jar:1.0]

      at com.mobility.wac.web.common.framework.WacRequestProcessor.process(WacRequestProcessor.java:65) [classes:]

      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) [struts.jar:1.0]

      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) [struts.jar:1.0]

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at com.mobility.wac.web.ia.framework.IaSessionFilter.doFilter(IaSessionFilter.java:53) [classes:]

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]

       

      -----------------------------------------------------------------------------------

       

      Any ideas? Is it class loading error or just an old version of struts not supported by JBOSS 7