DX Application Performance Management

Expand all | Collapse all

Monitoring standalone Java applications

Jump to Best Answer
  • 1.  Monitoring standalone Java applications

    Posted 09-14-2016 12:39 PM

    Hello,

     

    Is there a way to monitor a standalone Java application using Introscope agent, in particular jmx metrics.

    We are using Introscope to monitor Web applications running on Weblogic and Tomcat.

    Now trying to collect metrics from a few standalone Java applications.

     

    Thanks,

    --

    Mohammad



  • 2.  Re: Monitoring standalone Java applications

    Posted 09-14-2016 12:46 PM


  • 3.  Re: Monitoring standalone Java applications

    Posted 09-14-2016 12:50 PM

    Thanks Hallet,

     

    Maybe I should have mentioned that.

    We have already done this and can get some OS values and Heap memory usage but not JMX metrics. 

     

    Regards,

    --

    Mohammad



  • 4.  Re: Monitoring standalone Java applications

    Posted 09-14-2016 01:57 PM

    Try copying  WebAppSupport.jar into the extensions directory and then enable JMX in the usual way in the Agent Profile.  

    Thanks

    Yanna

     



  • 5.  Re: Monitoring standalone Java applications

    Posted 09-14-2016 02:15 PM

    We have already done that too. Still no metrics are presented in the Investigator.

    I am wondering if it is even possible without one of the supported application servers.

     

    Thanks,



  • 6.  Re: Monitoring standalone Java applications

    Posted 09-14-2016 02:58 PM

    Have you checked for any metric clamps engaged?

     

    Francis



  • 7.  Re: Monitoring standalone Java applications

    Posted 09-14-2016 02:59 PM

    On agent profile, also please try with JMX filter wide open, if not already done so.

     

    Francis



  • 8.  Re: Monitoring standalone Java applications

    Posted 09-14-2016 03:37 PM

    Thanks everybody.

    No clamping, and JMX filter is empty. Still no metrics.

     

    --

    Mohammad



  • 9.  Re: Monitoring standalone Java applications

    Posted 09-14-2016 04:32 PM

    Hi Mohammed:

          Perhaps it time to open a case to see if this can or cannot be done.. If you go that route then please provide the agent and autoprobe logs and let us know you opened a case

     

    Thanks

    Hal German



  • 10.  Re: Monitoring standalone Java applications
    Best Answer

    Posted 09-15-2016 08:28 AM

    Hello,

     

    OK, so the answer is that it works.

    We had a typo in our profile template path.

    The auto-probe was not working because it couldn't load the needed jar files.

    I didn't noticed this earlier, because some information were present in the Investigator and we got sidetracked by thinking it might need an application server to collect JMX and other metrics.

    Thanks everybody again.

     

    --

    Mohammad



  • 11.  Re: Monitoring standalone Java applications

    Posted 09-15-2016 09:04 AM

    Thanks for sharing Mohammad. Marking as answered