DX Application Performance Management

  • 1.  java.lang.RuntimeException are not captured

    Posted Jul 17, 2018 08:43 AM

    Hi Team

     

    I have APM 10.7 agent installed on standalone Jboss instances with default instrumentation (jboss-typical.pbl).

    In the JVM server.log I have some errors like this:

     

    2018-07-16 10:46:35,089 ERROR [stderr] (default task-58) java.lang.RuntimeException: Soggetto del ruolo null non trovato (SoggettoLock non valorizzato; IdFoto del ruolo: null)

     

    but they do not appear in the errors detected by APM agents.

    Is there something else I can confgure to capture this kind of errors or an explaination for this behaviour?

     

    regards

    Antonello



  • 2.  Re:  java.lang.RuntimeException are not captured
    Best Answer

    Broadcom Employee
    Posted Jul 17, 2018 08:32 PM

    Hi Antonello,

    The Error Detector (ErrorDetector) in the agent will monitor some errors OOTB but for exceptions you need to had a custom tracer using the ExceptionErrorReporter tracer. More details here:

    Configure ErrorDetector - CA Application Performance Management - 10.7 - CA Technologies Documentation 

    ProbeBuilder Directives Reference - CA Application Performance Management - 10.7 - CA Technologies Documentation 

    If you search the APM Community for "ExceptionErrorReporter" you will some older references e.g. :

    BlamePointTracer Doesn't Actually Capture Errors? Help needed for creating a custom pbd

    https://communities.ca.com/message/241879041?commentID=241879041#comment-241879041 

     

    Hope that helps

     

    Regards,

     

    Lynn



  • 3.  Re:  java.lang.RuntimeException are not captured

    Broadcom Employee
    Posted Jul 18, 2018 09:40 AM

    Are there other suggestions for Antonello? On errors like this , it is helpful to see the error context (what is going on)  and the full exception. (Is there a caused by section?)



  • 4.  Re:  java.lang.RuntimeException are not captured

    Posted Jul 25, 2018 05:05 PM

    Hi

     

    I looked inside the autoprobe.log file and found a lot of pojo classes so that I asked customer and developer to give me a list of these classes or javabean that it is important to instrument.

     

    Thanks for the info provided about custom instrumentation.

     

    regards

    Antonello