File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Error loading jmx-console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error loading jmx-console" Watch "Error loading jmx-console" New topic

Error loading jmx-console

Stelian Iancu

Joined: Feb 20, 2002
Posts: 21
I have just downloaded jboss 3.0.6 with tomcat and when I try the url http://localhost:8080/jmx-console in the browser, I get the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(
at org.apache.jasper.compiler.ErrorDispatcher.javacError(
at org.apache.jasper.compiler.Compiler.generateClass(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.JspCompilationContext.compile(
at org.apache.jasper.servlet.JspServletWrapper.service(
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
Do you know what is wrong? I am using Windows 98 and Sun's 1.4.1 jdk.

--<br />Linux registered user 287835<br /> <br />Be different. Think.
Ernest Lee
Ranch Hand

Joined: Aug 20, 2001
Posts: 145
I got the same error too? I am using the latest JDK already./
Stelian Iancu

Joined: Feb 20, 2002
Posts: 21
My guess it's that it has something to do with the operating system. I put the same version of JBoss on Mandrake 9.0 and it works without any error. So can this be a win98 issue? What OS are you using?
James Ashton

Joined: Jun 21, 2002
Posts: 2
Have a look at where you have installed JBoss. If there
is a space in there (i.e - C:\Program Files\JBoss3.x.x\) then
you should rename your directory (or in the case of shared
directories such as c:\Program Files\ you must move your
installation somewhere else.
The cause of the problem is that when you execute run.bat, JBoss runs a series of batch commands, and the space causes a reference to the JBoss directory to act as two command line parameters instead of one!
Hope this helps,
James Ashton
I agree. Here's the link:
subject: Error loading jmx-console
It's not a secret anymore!