2 Replies Latest reply on Feb 8, 2003 7:30 AM by Mike Bachrynowski

    500 error when trying to hit the jmx-console

    John Wright Newbie

      I have JBOSS_CLASSPATH set to x:\jboss\lib and JBOSS_HOME set to x:\jboss.

      Trying to check the install at http://localhost:8080/jmx-console and I get a 500 error in the browser and a NoClassDefFoundError in the console. I've no idea what env vars need to be set...and I suspect that is my problems.

      Here's the error in the log:

      16:15:26,080 INFO [Server] JBoss (MX MicroKernel) [3.0.4 Date:200211021607] Started in 0m:22s:813ms
      16:17:03,840 WARN [jbossweb] WARNING: Exception for /jmx-console/
      java.lang.NoClassDefFoundError: sun/tools/javac/Main
      at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java: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.loadIfNecessary(JspServlet.java:176)
      at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
      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:366)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:293)
      at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:216)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:151)
      at org.mortbay.jetty.servlet.Default.handleGet(Default.java:232)
      at org.mortbay.jetty.servlet.Default.service(Default.java:146)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:293)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:581)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:544)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1637)
      at org.mortbay.http.HttpServer.service(HttpServer.java:875)
      at org.jboss.jetty.Jetty.service(Jetty.java:543)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:203)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
      at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
      at java.lang.Thread.run(Unknown Source)