DX Application Performance Management

 View Only
Expand all | Collapse all

Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

Haruhiko Davis

Haruhiko DavisSep 26, 2013 04:00 PMBest Answer

Viruvaibhav_apm

Viruvaibhav_apmSep 28, 2013 03:17 PM

  • 1.  Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Sep 26, 2013 03:57 PM
    So like the title says, I've implemented Introscope 9.5 on a Jboss 7 server(EAP6 in standalone).

    Java version is:
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.1) (rhel-1.45.1.11.1.el6-x86_64)
    OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

    This is in the profile: introscope.agent.gcmonitor.enable=true

    However, there is NO GCMonitor in the metric tree. It's just completely missing. No errors in AutoProbe or Agent logs.

    The only change we had to make to get the agent working on this version of jboss was this in the jboss 'standalone.conf':

    if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
    JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,com.wily.introscope"
    Fi


    Any ideas????


  • 2.  RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up
    Best Answer

    Broadcom Employee
    Posted Sep 26, 2013 04:00 PM
    OpenJDK is not supported; please refer the the compatibility guide.


  • 3.  RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Sep 26, 2013 04:03 PM
    That could explain it. And cause some major concerns!!

    Thanks.


  • 4.  RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Broadcom Employee
    Posted Sep 26, 2013 04:07 PM
    We are talking about this internally as it appears that RH is changing their support for only OpenJDK.

    Please use the "Post as an Idea" option so everyone can vote to include this in our product certification.

    -Hiko


  • 5.  RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Sep 26, 2013 04:08 PM
    Is there a direct link? they tinyurl doesn't seem to load on my work pc.

    not working--> http://tinyurl.com/b3fwl2j


  • 6.  RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Broadcom Employee
    Posted Sep 26, 2013 04:11 PM
      |   view attached
    See the image


  • 7.  RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Sep 26, 2013 04:17 PM
    Ok, I found the compat guide... but where does it say OpenJDK isn't supported? I dont even see where it says what JDKs ARE supported.

    Jboss 7 only says this:
    "Recommended version on JBOSS 7 is update 1 onwards & JDK 6 version upto 1.6.0_14
    Supports JRE 7
    For applications compiled and executed in Java7, use the option -XX:-UseSplitVerifier to disable the verification errors.
    Example:
    -javaagent:/opt/wily/Agent.jar –XX:-UseSplitVerifier"




    Which doesn't say anything about types of JDKs... just versions.


  • 8.  RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Broadcom Employee
    Posted Sep 26, 2013 05:29 PM
    Take a look a the APM Extensions worksheet in the Compatibility Guide.


  • 9.  RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Broadcom Employee
    Posted Sep 27, 2013 03:55 PM
      |   view attached
    Just as an FYI, here is my JBoss AS 7.1 standalone.conf.

    Attachment(s)

    zip
    standalone.zip   1 KB 1 version


  • 10.  RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Sep 28, 2013 03:17 PM
    Gc Monitor works for IBM\Sun JVM..


  • 11.  Re: RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Jul 31, 2014 11:57 AM

    So, we are running JBoss 7, with OpenJDK version 1.7 (OpenJDK Runtime Environment (rhel-2.4.7.1.el6_5-x86_64 u55-b13)).

     

    Introscope Agent version is 9.5.5 is being used, and GCMonitor isn't showing up. I have a couple questions.

     

    1) SInce this thread, is OpenJDK supported?

    2) Is there another way to get GC information, ie...via JMX

     

    Does anyone have the JMX changes to make to the profile file to potentially obtain additional JMX information on GC stats?


    Thanks, JW



  • 12.  Re: RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Jul 31, 2014 12:59 PM

    Hello,

    See inline for response

    1) SInce this thread, is OpenJDK supported?


    Yes Open JDK 1.7 is certified for 9.5.5 and 9.6 Agent however GC Monitor is not officially supported

    2) Is there another way to get GC information, ie...via JMX


    There is a field pack available in community documents(https://communities.ca.com/servlet/JiveServlet/downloadBody/231149510-102-1-9266/GCMonitor_OpenJDK_955.zip) which adds support for Open JDK with GC Monitor however keep in mind that it's NOT supported by CA and you will be using at your own risk. If any issues arise and support is engaged we will ask it to be disabled before troubleshooting further. Also I would encourage you to file a Enhancement in Idea section so product management can evaluate this in next release.


    Regards,

    Kulbir.



  • 13.  Re: RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Aug 01, 2014 01:36 AM

    Hello,

     

    I've written the field pack patch. Simply replace the existing GCMonitor.jar with the attached, fixed one in <Agent-Home>/core/ext directory.

    Then you should see the details GC metrics as you're used to from Sun/Oracle JVMs. This one has been tested myself with JBoss7 and OpenJDK 1.7.

     

    You can get back to me in case of questions but please remind as already mentioned it's not an official supported solution (yet).

    Please find attached a screenshot of the output:

     

    GC Monitor OpenJDK 64-Bit Metric Details.png

     

    Kind regards,

    Stefan



  • 14.  Re: RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Aug 01, 2014 08:55 AM

    Hi Stefan, would this also work for JRockit with APM 9530? Regards, James.



  • 15.  Re: RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Sep 23, 2014 10:20 AM

    Hi James,

     

    No JRockit, sorry.

     

    Regards,

    Stefan



  • 16.  Re: RE: Introscope 9.5.0.0 - Jboss 7, JRE 1.6 - No GCMonitor Showing up

    Posted Aug 01, 2014 09:00 AM

    Thanks Stefan,

     

    I downloaded the fieldpack and it's working well. We have deployed it to several JBoss instances. Would you by any chance have additional JMX filters that I can place in the profile file for JBoss. I'm not getting much with:

     

    introscope.agent.jmx.name.filter=jboss.ws*service=ServerConfig,jboss.modules*type=ModuleLoader,jboss.as*subsystem=jca

     

    JMX filer for JBoss 7 at minimum

     

    Will the same JMX filter that JBoss 6 uses work? (This is the first JBoss 7 installation I've instrumented)

    # JMX filter for JBoss 6 and previous versions.

    introscope.agent.jmx.name.filter=jboss*service=invoker*type=pooled,jboss*service=TransactionManager,jboss.j2ee*plugin=pool,jboss*plugin=cache,

    jboss.jca*service=ManagedConnectionPool,jboss.jca*service=WorkManagerThreadPool,jboss.mq*service=DestinationManager,jboss.mq*service=MessageCache,

    jboss.mq*service=PersistenceManager,jboss.mq.destination*service=Queue,jboss.mq*service=Topic,

    jboss.system*service=ThreadPool,jboss.system*type=ServerInfo,jboss.web*type=Cache,jboss.web*type=Manager,

    jboss.web*type=GlobalRequestProcessor,jboss.web*type=ThreadPool

     

    What I would like to see is JDBC Waiting Threads.

     

    JW