1 Reply Latest reply on Jan 6, 2014 12:17 AM by Raghu T

    Unable to compile class for jsp

    Raghu T Newbie

      Hi ,

       

      I am using jboss 6.1.0(community version), suddenly it is giving exception while clicking on the Jsp pages.After refreshing the page for again and again then jsp page is displaying.

      here is the exception on my stack trace.i googled it and tried but nothing helpful for me.

       

      Please help me out.

       

      Servlet.service() for servlet jsp threw exception: java.io.IOException: tmpFile.renameTo(classFile) failed

        at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:246) [:6.1.0.Final]

        at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:165) [:6.1.0.Final]

        at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:461) [:6.1.0.Final]

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:362) [:6.1.0.Final]

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) [:6.1.0.Final]

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) [:6.1.0.Final]

        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [:6.1.0.Final]

        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [:6.1.0.Final]

        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [:6.1.0.Final]

        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [:6.1.0.Final]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.1.0.Final]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.1.0.Final]

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734) [:6.1.0.Final]

        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541) [:6.1.0.Final]

        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479) [:6.1.0.Final]

        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407) [:6.1.0.Final]

        at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063) [:1.2.7]

        at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) [:1.2.7]

        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) [:1.2.7]

        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) [:1.2.7]

        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [:1.2.7]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [:1.0.0.Final]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.1.0.Final]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.1.0.Final]

        at com.zyom.security.LoginMonitorFilter.doFilter(LoginMonitorFilter.java:67) [:]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.1.0.Final]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.1.0.Final]

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.1.0.Final]

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [:6.1.0.Final]

        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.1.0.Final]

        at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]

        at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]

        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.1.0.Final]

        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.1.0.Final]

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159) [:6.1.0.Final]

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.1.0.Final]

        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.1.0.Final]

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.1.0.Final]

        at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.1.0.Final]

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.1.0.Final]

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.1.0.Final]

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.1.0.Final]

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.1.0.Final]

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

       

      Thanks,

      Raghu.

        • 1. Re: Unable to compile class for jsp
          Raghu T Newbie

          Hi,

           

          I didn't get this problem with 4.2.2 version.facing problem with 6.1.0 version.

           

          can any one suggest me how to get rid of this issue.some one suggested me to change the permissions of jboss-home folder and jboss-home/server/default/tmp directory.

           

          but it is not works for me.anyone help me out.

           

          Thanks,

          Raghu.