1 Reply Latest reply on Jul 7, 2004 4:24 AM by Canh Pham Van

    Error acessing jmx-console

    Dakshinamurthy Ramachandran Newbie

      Hi,

      I just installed jboss-3.2.4 and it is starting fine. But encountering following error while acessing jmx-console. JAVA_HOME env variable is also set. OS - Win NT SP6





      org.apache.jasper.JasperException: Unable to compile class for JSP

      Generated servlet error:
      D:\jboss-3.2.4\server\default\work\jboss.web\localhost\jmx-console\org\apache\jsp\index_jsp.java:53: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
      if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      ^
      1 error


      org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
      org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
      org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)[/url]

        • 1. Re: Error acessing jmx-console
          Canh Pham Van Newbie

          Hi all,
          I have problem same same with you! My jboss server work fine, but some time it cannot compile jsp pages. I don't know exactly when this error occur, if i restart jboss server, these jsp pages are compiled well. But after a period of time, this error occurs again. I spent so much time to fix this bug but haven't successed yet! Could you help me?!
          Pls view log for more info:
          "20:02:27,421 ERROR [Engine] ----- Root Cause -----
          java.lang.NullPointerException
          at java.io.Writer.write(Writer.java:126)
          at java.io.PrintWriter.newLine(PrintWriter.java:254)
          at java.io.PrintWriter.println(PrintWriter.java:405)
          at java.io.PrintWriter.println(PrintWriter.java:516)
          at org.apache.jasper.compiler.ServletWriter.printil(ServletWriter.java:176)
          at org.apache.jasper.compiler.Generator.generatePreamble(Generator.java:342)
          at org.apache.jasper.compiler.Generator.generate(Generator.java:1916)
          at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:242)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
          at com.dlv.inmpp.system.BaseServlet.forward(BaseServlet.java:71)
          at com.dlv.inmpp.common.web.app.QCP02.viewFrame(QCP02.java:93)
          at com.dlv.inmpp.common.web.app.QCP02.doAction(QCP02.java:63)
          at com.dlv.inmpp.system.BaseServlet.doGet(BaseServlet.java:48)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
          at com.dlv.inmpp.system.BaseServlet.forward(BaseServlet.java:71)
          at com.dlv.inmpp.system.DLVServlet.doAction(DLVServlet.java:100)
          at com.dlv.inmpp.system.BaseServlet.doGet(BaseServlet.java:48)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invoeNext(StandardPipeline.java:641)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
          at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
          at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
          at java.lang.Thread.run(Thread.java:534)"

          "dakshin" wrote:
          Hi,

          I just installed jboss-3.2.4 and it is starting fine. But encountering following error while acessing jmx-console. JAVA_HOME env variable is also set. OS - Win NT SP6





          org.apache.jasper.JasperException: Unable to compile class for JSP

          Generated servlet error:
          D:\jboss-3.2.4\server\default\work\jboss.web\localhost\jmx-console\org\apache\jsp\index_jsp.java:53: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
          if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
          ^
          1 error


          org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
          org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
          org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
          org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
          org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
          org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
          org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:853)[/url]