VisualVM
  1. VisualVM
  2. VISUALVM-224

Cannot memory profile JBoss AS 4.2.3.GA

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.2
    • Component/s: code
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: All

    • Issuezilla Id:
      224

      Description

      Activating memory profiling renders the connected JBoss AS instance unusable
      with the following stack trace on every page of all applications:

      Profiler Agent Warning: Failed to lookup cached class javax/servlet/ServletException
      16:33:53,750 ERROR [[default]] Servlet.service() for servlet default threw exception
      java.lang.ClassNotFoundException: No ClassLoaders found for:
      org.netbeans.lib.profiler.server.ProfilerRuntimeObjLiveness
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:320)
      at
      org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:533)
      at
      org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:423)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:177)
      at
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:188)
      at
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:438)
      at
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at
      org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:163)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:619)

      Steps to reproduce:
      1. Deploy any Seam example application (i.e. Booking) to JBoss AS
      2. Connect Visual VM console to the running JBoss AS instance
      3. Profiler -> Memory, wait patiently to instrument all classes, clicking "no"
      when prompted to disconnect because application hasn't responded yet.
      4. Access any page on from the application server.

      Live results are recorded and all the classes appear to be instrumented (visible
      via the console and "Profiler Agent" output). However, the instrumentation
      appears to have broken a class somewhere. Any ideas on why this might have
      occurred?

      JBoss Seam 2.0.3.CR1
      JBoss AS 4.2.3.GA
      Windows XP SP3

        Activity

        rholder created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 224 60868

          People

          • Assignee:
            yardus
            Reporter:
            rholder
          • Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: