5 Replies Latest reply on May 6, 2004 11:12 AM by eldiosyeldiablo

    Error when loading jmx-console

    eldiosyeldiablo

      I have installed jboss-3.2.3 on my Windows XP Pro box today and when I try to goto the jmx-console page after I start the service.

      I am running the latest J2SE SDK (1.4.2). No changes have been done to the jboss install. I have added a few environment variables (JAVA_HOME, JBOSS_HOME, etc)

      Here is the error that the browser returns...

      org.apache.jasper.JasperException: Unable to compile class for JSP
      
      An error occurred at line: -1 in the jsp file: null
      
      Generated servlet error:
      

       at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
       at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
       at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
       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.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.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.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)
      


      Thank you,
      David

        • 1. Re: Error when loading jmx-console
          eldiosyeldiablo

          I am trying to do the Duke's Bank Application and that is why I am posting this question here.
          Should I "move" this question to the general JBoss support forum?

          Thx,
          David

          • 2. Re: Error when loading jmx-console
            dannyyates

            Have you tried typing "An error occurred at line: -1 in the jsp file: null" into Google? Or, in fact, doing any research at all?

            • 3. Re: Error when loading jmx-console
              eldiosyeldiablo

               

              "dannyyates" wrote:
              Have you tried typing "An error occurred at line: -1 in the jsp file: null" into Google? Or, in fact, doing any research at all?


              Why yes Mr. Smartass I have search the JBoss documentation and google searches.
              Thank you for your pointless reply.

              Just b/c the solution is obvious to you do not assume that a newbie to the J2EE arena is going to know where the problem is. Expecially when this newbie is following a TUTORIAL!!!

              -David

              • 4. Re: Error when loading jmx-console
                dannyyates

                Mr Smartass? Flattery indeed.

                The solution was not at all obvious to me. I think the error message is very misleading. My point was simply this:

                You posted a message on the forum. The only reply you had in 12 hours was from me. When I typed "An error occurred at line: -1 in the jsp file: null" (with the quotes) into Google, the first hit answered the question. This took a mere 8 seconds of my life, when you have now waited 16 hours for an answer in the forum.

                • 5. Re: Error when loading jmx-console
                  eldiosyeldiablo

                  Ok Danny I found it. Using the quotes in google was required to get the same results that you were getting.

                  There were two problems:
                  1. Windows was not taking my PATH setting unless I put the change either on the command line or on the System Varaibles input area.
                  2. JBoss was installed in c:\Program Files\jboss-3.2.3

                  Thx,
                  David

                  PS I hate windows :P