0 Replies Latest reply on Jul 8, 2005 11:40 AM by Joseph Hirn

    JMX-Console won't load (windows to linux convert)

    Joseph Hirn Newbie

      Hello.

      My JMX-Console wont' load. It prints the following stack trace when I click on the JMX-Console from localhost:8080:

      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      org.apache.jasper.JasperException: Unable to compile class for JSP
       org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:520)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      
      root cause
      
      java.io.FileNotFoundException: /usr/share/jboss/server/default/work/jboss.web/localhost/jmx-console/org/apache/jsp/index_jsp.java (No such file or directory)
       java.io.FileOutputStream.open(Native Method)
       java.io.FileOutputStream.<init>(FileOutputStream.java:179)
       java.io.FileOutputStream.<init>(FileOutputStream.java:70)
       org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:188)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
       org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      


      So i'm a little thrown aside. I thought that the deploy directories were in /var/lib/default and not /usr/share/jboss/server. From what I know this was a standard install (via emerging on Gentoo Linux). I do not even have a /usr/share/jboss/server/default/ directory only a /usr/share/jboss/server/standard. Why is Tomcat looking at /usr/share/jboss/server/default/work/ as the deployment directory and not the /var/lib/jboss/default ?

      I'm a little lost with the location of files as I've only used Linux for about 3 months and haven't set up any Server software as robust as JBoss. Am I missing a link or something?

      Thanks a ton!