3 Replies Latest reply on Oct 22, 2003 2:12 AM by j_droberts

    jmx-console problems

    j_droberts Newbie


      Hi.

      I have just installed Jboss with a view to evaluation. i have had prior experience with jrun/tomat/websphere.

      I have successfully run the start up - at least i assume it is working - it has not fallen over.

      I wanted to verify it was working - however when trying to naviagate to a starting page - in this instance

      http://localhost:8080/jmx-console/index.jsp

      However I get :
      ---------------------------------------------------------------
      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
      ---------------------------------------------------------------

      my directory is :
      C:\jboss321\jboss-3.2.1_tomcat-4.1.24
      (there are no spaces)

      OS = windows 2000 Server

      Any ideas?

      Sounds like a java problem - yet java is accessible from the command line!

      Regards

      Jonathan

        • 1. Re: jmx-console problems
          Jon Barnett Master

          Have you configured JAVA_HOME to point to the root directory of your JDK installation? Tomcat/Jetty requires this so as to be able to locate javac which is necessary to compile JSPs on the fly.

          Also, Tomcat/Jetty will need permission to write/overwrite the temporary Java and class files when it creates the Java source and compiles it to byte code from the JSP source. The Windows temp directory for the user will be the place these files are normally written so I would assume that unless something strange has happened you should have no problems with write permissions.

          I would expect the first to be the more likely problem. You may also want to check the logs if either of these two things are not the problem.

          • 2. Re: jmx-console problems
            j_droberts Newbie

            Hi.

            1.

            Yes, JAVA_HOME =C:\jdk1.3.0_02
            which is the java root

            ----------------

            I will have a look at the logs.

            Cheers

            Jonathan

            • 3. Re: jmx-console problems
              j_droberts Newbie

              Here is the partial jboss log if anyone has any ideas?

              --------------------


              2003-10-22 08:34:06,122 ERROR [STDERR] Error running javac.exe compiler
              2003-10-22 08:34:06,122 ERROR [STDERR] at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:451)
              2003-10-22 08:34:06,132 ERROR [STDERR] at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:81)
              2003-10-22 08:34:06,132 ERROR [STDERR] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
              2003-10-22 08:34:06,132 ERROR [STDERR] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
              2003-10-22 08:34:06,132 ERROR [STDERR] at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
              2003-10-22 08:34:06,142 ERROR [STDERR] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
              2003-10-22 08:34:06,142 ERROR [STDERR] at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
              2003-10-22 08:34:06,142 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
              2003-10-22 08:34:06,152 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
              2003-10-22 08:34:06,152 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
              2003-10-22 08:34:06,152 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              2003-10-22 08:34:06,162 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
              2003-10-22 08:34:06,162 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
              2003-10-22 08:34:06,162 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
              2003-10-22 08:34:06,162 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
              2003-10-22 08:34:06,172 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
              2003-10-22 08:34:06,172 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
              2003-10-22 08:34:06,172 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
              2003-10-22 08:34:06,182 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
              2003-10-22 08:34:06,272 ERROR [STDERR] at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
              2003-10-22 08:34:06,272 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
              2003-10-22 08:34:06,292 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
              2003-10-22 08:34:06,302 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
              2003-10-22 08:34:06,312 ERROR [STDERR] at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
              2003-10-22 08:34:06,322 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
              2003-10-22 08:34:06,333 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
              2003-10-22 08:34:06,353 ERROR [STDERR] at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
              2003-10-22 08:34:06,363 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
              2003-10-22 08:34:06,373 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
              2003-10-22 08:34:06,383 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
              2003-10-22 08:34:06,403 ERROR [STDERR] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
              2003-10-22 08:34:06,413 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
              2003-10-22 08:34:06,423 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
              2003-10-22 08:34:06,433 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
              2003-10-22 08:34:06,443 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
              2003-10-22 08:34:06,453 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
              2003-10-22 08:34:06,463 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
              2003-10-22 08:34:06,473 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
              2003-10-22 08:34:06,503 ERROR [STDERR] at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
              2003-10-22 08:34:06,513 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
              2003-10-22 08:34:06,523 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
              2003-10-22 08:34:06,533 ERROR [STDERR] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
              2003-10-22 08:34:06,553 ERROR [STDERR] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
              2003-10-22 08:34:06,553 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
              2003-10-22 08:34:06,563 ERROR [STDERR] Caused by: java.io.IOException: CreateProcess: javac.exe -classpath C:\jboss321\jboss-3.2.1_tomcat-4.1.24\server\default\deploy\jmx-console.war\WEB-INF\classes;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\server\default\deploy\jmx-console.war\WEB-INF\lib\jboss-jmx.jar;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\server\default\tmp\deploy\server\default\deploy\jbossweb-tomcat.sar\commons-collections.jar\13.commons-collections.jar;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\server\default\lib\jbossha.jar;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\lib\jboss-common.jar;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\lib\commons-httpclient.jar;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\server\default\tmp\deploy\server\default\deploy\jbossweb-tomcat.sar\tomcat41-service.jar\9.tomcat41-service.jar;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\server\default\lib\jboss-transaction.jar;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\server\default\lib\snmp-support.jar;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\lib\xml-apis.jar;C:\jboss321\jboss-3.2.1_tomcat-4.1.24\server\default\lib\scheduler-plugin-example.jar;D
              2003-10-22 08:34:06,643 ERROR [STDERR] at java.lang.Win32Process.create(Native Method)
              2003-10-22 08:34:06,643 ERROR [STDERR] at java.lang.Win32Process.(Unknown Source)
              2003-10-22 08:34:06,653 ERROR [STDERR] at java.lang.Runtime.execInternal(Native Method)