Uploaded image for project: 'ZZZ-WSO2 Carbon'
  1. ZZZ-WSO2 Carbon
  2. CARBON-12481

BAM2: http 500 error in System Statistics view at the application server

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Labels:
      None
    • Environment:

      jdk 1.6, Linux

    • Severity:
      Critical
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      Exception at the backend:

      osgi> ss statistics

      Framework is launched.

      id State Bundle
      250 ACTIVE org.wso2.carbon.statistics_3.2.4
      251 ACTIVE org.wso2.carbon.statistics.stub_3.2.4
      252 ACTIVE org.wso2.carbon.statistics.ui_3.2.4

      osgi>

      osgi>

      osgi> [2012-02-28 23:06:07,446] INFO

      {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}

      - 'admin' logged in at [2012-02-28 23:06:07,0446] from IP address 10.150.3.110

      osgi> [2012-02-28 23:06:13,283] ERROR

      {org.apache.catalina.core.ContainerBase.[Tomcat].[defaulthost].[/asMaster].[bridgeservlet]}

      - Servlet.service() for servlet [bridgeservlet] in context with path [/asMaster] threw exception [Exception in JSP: /statistics/system_stats_ajaxprocessor.jsp:52

      49: boolean isSuperTenant = CarbonUIUtil.isSuperTenant(request);
      50:
      51: try

      { 52: systemStats = client.getSystemStatistics(); 53: }

      catch (Exception e) {
      54: response.setStatus(500);
      55: CarbonUIMessage uiMsg = new CarbonUIMessage(CarbonUIMessage.ERROR, e.getMessage(), e);

      Stacktrace:] with root cause
      java.lang.ClassNotFoundException: org.wso2.carbon.statistics.services.xsd.SystemStatisticsUtil$Factory
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      at org.wso2.carbon.statistics.stub.types.carbon.SystemStatistics$Factory.parse(SystemStatistics.java:1813)
      at org.wso2.carbon.statistics.stub.types.axis2.GetSystemStatisticsResponse$Factory.parse(GetSystemStatisticsResponse.java:417)
      at org.wso2.carbon.statistics.stub.StatisticsAdminStub.fromOM(StatisticsAdminStub.java:7808)
      at org.wso2.carbon.statistics.stub.StatisticsAdminStub.getSystemStatistics(StatisticsAdminStub.java:5533)
      at org.wso2.carbon.statistics.ui.StatisticsAdminClient.getSystemStatistics(StatisticsAdminClient.java:61)
      at org.apache.jsp.statistics.system_005fstats_005fajaxprocessor_jsp._jspService(system_005fstats_005fajaxprocessor_jsp.java:121)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:161)
      at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
      at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
      at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
      at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      at org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)
      at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:254)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
      at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)
      at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

        Attachments

          Activity

            People

            • Assignee:
              kasunw@wso2.com Kasun Gunathilake
              Reporter:
              chamaraa@wso2.com Chamara Ariyarathne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: