Results 1 to 2 of 2
  1. #1
    gcebala is offline Member
    Join Date
    Dec 2011
    Posts
    1
    Rep Power
    0

    Question servlet jsp threw exception: java.lang.Error

    Hi,

    When i launch one of the jsp in my application getting below error. Remaining jsp pages are working fine.

    The same jsp is working fine in jboss4 but getting error in AS7. My application is based of struts frame work with all jar files packaged in WebINF/lib.

    I am stuggling with this error for 2 days. Can you please suggest a solution.

    Please let me know if any further info required.





    13:05:32,368 INFO [org.jboss.web] (MSC service thread 1-5) registering web context: /TRS

    13:05:32,428 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "TRS.war"

    13:05:49,643 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/TRS].[jsp]] (http--127.0.0.1-8080-3) Servlet.service() for servlet jsp threw exception: java.lang.Error: Unresolved compilation problem:



    at org.apache.jsp.jsp.TRS_005fTimeSheet_jsp._jspServi ce(TRS_005fTimeSheet_jsp.java:136)

    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:70) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

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

    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:369) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:326) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:253) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

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

    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:734) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:541) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:479) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:407) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.struts.action.RequestProcessor.doForwar d(RequestProcessor.java:1069) [struts.jar:]

    at org.apache.struts.tiles.TilesRequestProcessor.doFo rward(TilesRequestProcessor.java:274) [struts.jar:]

    at org.apache.struts.action.RequestProcessor.processF orwardConfig(RequestProcessor.java:455) [struts.jar:]

    at org.apache.struts.tiles.TilesRequestProcessor.proc essForwardConfig(TilesRequestProcessor.java:320) [struts.jar:]

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

    at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482) [struts.jar:]

    at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:525) [struts.jar:]

    at javax.servlet.http.HttpServlet.service(HttpServlet .java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

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

    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at com.caritor.trs.utility.generic.TRSFilter.doFilter (TRSFilter.java:113) [classes:]

    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.jboss.as.web.security.SecurityContextAssociati onValve.invoke(SecurityContextAssociationValve.jav a:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

    at org.jboss.as.web.NamingValve.invoke(NamingValve.ja va:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

    at java.lang.Thread.run(Thread.java:619) [:1.6.0_14]

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,798
    Rep Power
    19

    Default Re: servlet jsp threw exception: java.lang.Error

    It should give you the reason compilation failed.
    All the other containers I've used do...including the area in the JSP around which it happened.

Similar Threads

  1. Replies: 1
    Last Post: 08-23-2011, 11:12 AM
  2. Replies: 2
    Last Post: 05-24-2011, 07:18 AM
  3. Replies: 4
    Last Post: 06-03-2010, 08:40 AM
  4. Replies: 3
    Last Post: 04-30-2010, 07:44 PM
  5. Replies: 4
    Last Post: 06-07-2009, 12:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •