3 Replies Latest reply on Sep 7, 2002 5:37 AM by juha

    jmx-console error in 3.0.2

    chrisgarty

      Hi,

      I just installed the new 3.0.2 bundle.

      When I go to: http://localhost:8080/jmx-console

      I get:
      "
      HTTP ERROR: 500 sun/tools/javac/Main

      RequestURI=/jmx-console/
      "

      Why isn't jmx-console working? Am I missing something from one of the xml config files? I haven't altered anything yet in this 3.0.2 bundle.

      I thought maybe it was trying to suggest that there was a problem with javac, but the Java VM is working fine.

      Any help getting jmx-console to run will be greatly appreciated :)

      Thanks

        • 1. Re: jmx-console error in 3.0.2
          chrisgarty

          The exception dump from the console.

          Why is it trying to compile something?

          06:18:10,236 INFO [Server] JBoss (MX MicroKernel) [3.0.2 Date:200208271339] Started in 0m:50s:965ms
          06:18:36,255 WARN [jbossweb] WARNING: Exception for /jmx-console/
          java.lang.NoClassDefFoundError: sun/tools/javac/Main
          at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.ja
          va:136)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
          at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
          at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessar
          y(JspServlet.java:176)
          at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
          vlet.java:188)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
          81)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344
          )
          at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
          onHandler.java:313)
          at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:204)
          at org.mortbay.jetty.servlet.Default.handleGet(Default.java:222)
          at org.mortbay.jetty.servlet.Default.service(Default.java:142)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344
          )
          at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
          onHandler.java:313)
          at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
          54)
          at org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplication
          Handler.java:199)
          at org.mortbay.http.HttpContext.handle(HttpContext.java:1572)
          at org.mortbay.http.HttpContext.handle(HttpContext.java:1522)
          at org.mortbay.http.HttpServer.service(HttpServer.java:795)
          at org.jboss.jetty.Jetty.service(Jetty.java:531)
          at org.mortbay.http.HttpConnection.service(HttpConnection.java:784)
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:941)
          at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
          at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
          186)
          at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
          at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:716)
          at java.lang.Thread.run(Thread.java:536)

          Puzzled...

          Any help appreciated :)

          • 2. Re: jmx-console error in 3.0.2
            jaym

            I got mine working in Nt2000 env.
            Did you see these messages on the log or on the console ?
            Started WebApplicationContext[/jmx-console,file:/C:/jboss-3.0.2/server/default/deploy/jmx-console.war/]
            2002-09-06 16:25:46,543 INFO [org.jboss.jbossweb] successfully deployed file:/C:/jboss-3.0.2/server/default/deploy/jmx-console.war/ to /jmx-console
            2002-09-06 16:25:46,553 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: jmx-console.war

            • 3. Re: jmx-console error in 3.0.2

              Make sure JAVA_HOME has been set up to point to your JDK installation.

              -- Juha