Forum Stats

  • 3,876,031 Users
  • 2,267,021 Discussions
  • 7,912,403 Comments

Discussions

Java Mission Control Help Not Working

Isuru Perera
Isuru Perera Member Posts: 5
edited Oct 3, 2016 12:43PM in Java Mission Control

I use JDK 1.8.0_102 and I cannot view the help from the Java Mission Control.

i.e. Oracle Java Mission Control -> Help -> Java Mission Control Help

The index.jsp (eg: http://127.0.0.1:38493/help/index.jsp) returns HTTP 500 Server Error.

Following is the content displayed:

HTTP ERROR: 500

Problem accessing /help/index.jsp. Reason:

    Server Error

Powered by Jetty://

In the console, I see following exceptions.

Jul 24, 2016 10:22:21 PM org.apache.jasper.compiler.JDTJavaCompiler$1 findType

SEVERE: Compilation error

org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException

    at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:372)

    at org.apache.jasper.compiler.JDTJavaCompiler$1.findType(JDTJavaCompiler.java:358)

    at org.apache.jasper.compiler.JDTJavaCompiler$1.findType(JDTJavaCompiler.java:315)

    at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:113)

    at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:49)

    at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:122)

    at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:168)

    at org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java:2472)

    at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1006)

    at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1258)

    at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:539)

    at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:763)

    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:468)

    at org.apache.jasper.compiler.JDTJavaCompiler.compile(JDTJavaCompiler.java:494)

    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:384)

    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)

    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)

    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)

    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)

    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:155)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)

    at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)

    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)

    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:360)

    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)

    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)

    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)

    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)

    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)

    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)

    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)

    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)

    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)

    at org.eclipse.jetty.server.Server.handle(Server.java:370)

    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)

    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)

    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)

    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)

    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)

    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)

    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)

    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)

    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)

    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)

    at java.lang.Thread.run(Thread.java:745)

Jul 24, 2016 10:22:21 PM org.apache.jasper.compiler.Compiler generateClass

SEVERE: Error compiling file: /home/isuru/.eclipse/com.oracle.jmc_5.5.0_1710491544_linux_gtk_x86_64/configuration/org.eclipse.osgi/191/data/jettywork/pid_2070971114/proxytemp/hc_1626241617/org/apache/jsp/index_jsp.java

2016-07-24 22:22:21.443:WARN:oejs.ServletHandler:

org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6199: Generated servlet error:|The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files||

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)

    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:299)

    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:392)

    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)

    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)

    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)

    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)

    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:155)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)

    at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)

    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)

    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:360)

    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)

    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)

    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)

    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)

    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)

    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)

    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)

    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)

    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)

    at org.eclipse.jetty.server.Server.handle(Server.java:370)

    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)

    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)

    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)

    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)

    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)

    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)

    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)

    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)

    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)

    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)

    at java.lang.Thread.run(Thread.java:745)

2016-07-24 22:22:21.445:WARN:oejs.ServletHandler:/help/index.jsp

org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6199: Generated servlet error:|The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files||

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)

    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:299)

    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:392)

    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)

    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)

    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)

    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)

    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:155)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)

    at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)

    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)

    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:360)

    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)

    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)

    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)

    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)

    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)

    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)

    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)

    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)

    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)

    at org.eclipse.jetty.server.Server.handle(Server.java:370)

    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)

    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)

    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)

    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)

    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)

    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)

    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)

    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)

    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)

    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)

    at java.lang.Thread.run(Thread.java:745)

I see this error in both Ubuntu and Windows with JDK 1.8.0_102. I got the same error in JDK 1.8.0_92 as well.

When I searched for this error, I got to know that the Jetty version used in JMC has problems with latest JDKs and the issue is not there in JDK 1.8.0_77.

Then I checked the JMC in JDK 1.8.0_77 and I can see the Help page without any issues.

I think others are also getting the same issues. Is it possible to upgrade the Jetty in JMC?

I wanted to create a bug for this, but I don't know how to report bugs for Java Mission Control.

Isuru Perera

Best Answer

«1

Answers

This discussion has been closed.