8 Replies Latest reply on Dec 6, 2011 9:41 AM by Balaji Rathinavel

    Unresolved compilation problem- AS7

    Balaji Rathinavel Newbie

      We are migrating our application from jboss 4 to 7 now. When i launch the appilcation it works fine but when i launch a particular jsp AS7 throws follwing error

       

      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ABC].[jsp]] (http--127.0.0.1-8080-2) Servlet.service() for servlet jsp threw exception: java.lang.Error: Unresolved compilation problem

       

      but the same jsp works fine with jboss 4. I dont see any compilation error with that jsp.

      I dont know whats wrong with this. Can anyone please guide me with this ...

        • 1. Re: Unresolved compilation problem- AS7
          Prasad Deshpande Expert

          Can you please provide more information with your application packaging? Also please attach server.log

          • 2. Re: Unresolved compilation problem- AS7
            Balaji Rathinavel Newbie

            Thanks for the reply. I am using jdk 6 with struts framework.

            • 3. Re: Unresolved compilation problem- AS7
              Prasad Deshpande Expert

              Can you please attach server.log & tell more about how is it packaged? i.e. Structure of packaging. Also Jboss 4 had lib directory for every domain, you might have some necessary jars placed in it, could you please check?

               

              Also, if possible could you attach a sample application reproducing this error?

              • 4. Re: Unresolved compilation problem- AS7
                Balaji Rathinavel Newbie

                Hi Prasad,

                Ya I have checked. I have placed all my required jars in to WEBINF/Lib folder.But still i am getting the same error, which as ,

                 

                13:36:40,258 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ABC].[jsp]] (http--127.0.0.1-8080-2) Servlet.service() for servlet jsp threw exception: java.lang.Error: Unresolved compilation problem:

                 

                at org.apache.jsp.jsp.projectManagement.IPTS_005fTeamManagement_jsp._jspService(

                ABC_005fTeamManagement_jsp.java:157

                )

                at org.apache.jasper.runtime.HttpJspBase.service(

                HttpJspBase.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.service(

                JspServletWrapper.java:369

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.jasper.servlet.JspServlet.serviceJspFile(

                JspServlet.java:326

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.jasper.servlet.JspServlet.service(

                JspServlet.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.internalDoFilter(

                ApplicationFilterChain.java:329

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(

                ApplicationFilterChain.java:248

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationDispatcher.invoke(

                ApplicationDispatcher.java:734

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationDispatcher.processRequest(

                ApplicationDispatcher.java:541

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationDispatcher.doForward(

                ApplicationDispatcher.java:479

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationDispatcher.forward(

                ApplicationDispatcher.java:407

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.struts.action.RequestProcessor.doForward(

                RequestProcessor.java:1069

                ) [struts.jar:]

                at org.apache.struts.tiles.TilesRequestProcessor.doForward(

                TilesRequestProcessor.java:274

                ) [struts.jar:]

                at org.apache.struts.action.RequestProcessor.processForwardConfig(

                RequestProcessor.java:455

                ) [struts.jar:]

                at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(

                TilesRequestProcessor.java:320

                ) [struts.jar:]

                at org.apache.struts.action.RequestProcessor.process(

                RequestProcessor.java:279

                ) [struts.jar:]

                at org.apache.struts.action.ActionServlet.process(

                ActionServlet.java:1482

                ) [struts.jar:]

                at org.apache.struts.action.ActionServlet.doGet(

                ActionServlet.java:507

                ) [struts.jar:]

                at javax.servlet.http.HttpServlet.service(

                HttpServlet.java:734

                ) [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.internalDoFilter(

                ApplicationFilterChain.java:329

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(

                ApplicationFilterChain.java:248

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationDispatcher.invoke(

                ApplicationDispatcher.java:734

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationDispatcher.processRequest(

                ApplicationDispatcher.java:541

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationDispatcher.doForward(

                ApplicationDispatcher.java:479

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationDispatcher.forward(

                ApplicationDispatcher.java:407

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.struts.action.RequestProcessor.doForward(

                RequestProcessor.java:1069

                ) [struts.jar:]

                at org.apache.struts.tiles.TilesRequestProcessor.doForward(

                TilesRequestProcessor.java:274

                ) [struts.jar:]

                at org.apache.struts.action.RequestProcessor.processForwardConfig(

                RequestProcessor.java:455

                ) [struts.jar:]

                at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(

                TilesRequestProcessor.java:320

                ) [struts.jar:]

                at org.apache.struts.action.RequestProcessor.process(

                RequestProcessor.java:279

                ) [struts.jar:]

                at org.apache.struts.action.ActionServlet.process(

                ActionServlet.java:1482

                ) [struts.jar:]

                at org.apache.struts.action.ActionServlet.doGet(

                ActionServlet.java:507

                ) [struts.jar:]

                at javax.servlet.http.HttpServlet.service(

                HttpServlet.java:734

                ) [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.internalDoFilter(

                ApplicationFilterChain.java:329

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(

                ApplicationFilterChain.java:248

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at com.caritor.ipts.utility.generic.IPTSFilter.doFilter(

                IPTSFilter.java:144

                ) [classes:]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

                ApplicationFilterChain.java:280

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(

                ApplicationFilterChain.java:248

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.StandardWrapperValve.invoke(

                StandardWrapperValve.java:275

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.StandardContextValve.invoke(

                StandardContextValve.java:161

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(

                SecurityContextAssociationValve.java:139

                ) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                at org.jboss.as.web.NamingValve.invoke(

                NamingValve.java: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.invoke(

                StandardEngineValve.java:109

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.connector.CoyoteAdapter.service(

                CoyoteAdapter.java:362

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.coyote.http11.Http11Processor.process(

                Http11Processor.java:877

                ) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.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]

                 

                 

                 

                 

                Please help me on this.

                • 5. Re: Unresolved compilation problem- AS7
                  Prasad Deshpande Expert

                  well, it looks to me from error, that your WAR has one or more classes that has compilation error, meaning it's not compiled properly prior being packaged for deployment. Can you please have a look?

                   

                  If not, could you please attach a sample war/ear that has this issue so that I can take a look?

                  • 6. Re: Unresolved compilation problem- AS7
                    Balaji Rathinavel Newbie

                    Prasad,

                         Sorry for the delayed reply.I have tried to catch the issue but no success. The class file for the particular jsp has being generated during compilation. In my application other jsp's working fine. Could you please help with that.

                    • 7. Re: Unresolved compilation problem- AS7
                      Prasad Deshpande Expert

                      Is it possible for you to attach a sample application (ear/war) that reproduces this issue? And then I can take a look, will be easier to see what's going & understand.

                      • 8. Re: Unresolved compilation problem- AS7
                        Balaji Rathinavel Newbie

                        The error is due to the large size of the jsp file. So i have separted the jsp file and used <include:jsp> which resolved the above said error. Thank you all for the supoort.