0 Replies Latest reply on Oct 5, 2004 9:14 AM by Stephan Lux

    JasperException in Web-Console

    Stephan Lux Newbie

      Hi all,

      I am new to j2ee and jboss and have some problems with the web-console of the version 3.2.5. The server is installed and works properly but i receive JasperExceptions when i open some entries in the treeview (Monitors-Alerts and Snapshots). Here are the error messages:

      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
      
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:6: package javax.management does not exist
       import javax.management.MBeanServer;
       ^
      
      
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:7: package org.jboss.mx.util does not exist
       import org.jboss.mx.util.MBeanServerLocator;
       ^
      
      
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:8: package org.jboss.mx.util does not exist
       import org.jboss.mx.util.InstanceOfQueryExp;
       ^
      
      
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:11: package javax.management does not exist
       import javax.management.ObjectInstance;
       ^
      
      
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:12: package javax.management does not exist
       import javax.management.ObjectName;
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:90: cannot resolve symbol
       symbol : class MBeanServer
       location: class org.apache.jsp.listMonitors_jsp
       MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:90: cannot resolve symbol
       symbol : variable MBeanServerLocator
       location: class org.apache.jsp.listMonitors_jsp
       MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:91: cannot resolve symbol
       symbol : class InstanceOfQueryExp
       location: class org.apache.jsp.listMonitors_jsp
       InstanceOfQueryExp queryExp = null;
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:92: cannot resolve symbol
       symbol : class InstanceOfQueryExp
       location: class org.apache.jsp.listMonitors_jsp
       queryExp = new InstanceOfQueryExp("org.jboss.monitor.JBossMonitorMBean");
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:98: cannot resolve symbol
       symbol : class ObjectName
       location: class org.apache.jsp.listMonitors_jsp
       ObjectName moname = (ObjectName)mbeans.next();
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:98: cannot resolve symbol
       symbol : class ObjectName
       location: class org.apache.jsp.listMonitors_jsp
       ObjectName moname = (ObjectName)mbeans.next();
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:100: cannot resolve symbol
       symbol : class ObjectName
       location: class org.apache.jsp.listMonitors_jsp
       ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:100: cannot resolve symbol
       symbol : class ObjectName
       location: class org.apache.jsp.listMonitors_jsp
       ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java:106: cannot resolve symbol
       symbol : class ObjectName
       location: class org.apache.jsp.listMonitors_jsp
       Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature);
       ^
      
      
       An error occurred at line: 51 in the jsp file: /listMonitors.jsp
       Generated servlet error:
       Note: C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\listMonitors_jsp.java uses or overrides a deprecated API.
       Note: Recompile with -deprecation for details.
       14 errors
      
      
      
       org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
       org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
       org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
       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)
      
      
       note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.
      


      The Server runs under Windows XP and JDK 1.4.2.
      Thanks in advance,
      Stephan