DX Application Performance Management

Expand all | Collapse all

Snippet Injection does appear at application web page

Jump to Best Answer
  • 1.  Snippet Injection does appear at application web page

    Posted 12-06-2017 10:52 AM

    Hello,

    I´m using apm 10.5.2.x on linux with Websphere agents on windows and Aix.

    At windows websphere app server, I configure the agent and the snippet to be injected when the customer call the web app.

    The system is up and running, the agent load without errors and I don´t find any error related to the snippet, but, whan I investigate the user browser, the ba.js does not appear at the chome console investigator.

    Any idea what I´m doing wrong?

    Regards,

    guillermo



  • 2.  Re: Snippet Injection does appear at application web page

    Posted 12-07-2017 10:14 AM

    Hi Team,

     

    Has any APM Admin/Partner faced this situation with the browser agent?

     

    Guillermo, I will also ask internally as well.

     

    Regards,
    Matt



  • 3.  Re: Snippet Injection does appear at application web page



  • 4.  Re: Snippet Injection does appear at application web page

    Posted 12-07-2017 10:48 AM

    Hello,

    I  just working with the agent, it's up and running.

    The default.basnippet is already configured with the AXA app lines, but when i load the web app and check the chrome browser, I can find the ba.js injected.

    I'm following the procedures from here https://docops.ca.com/ca-apm/10-5/en/implementing-agents/java-agent/install-the-java-agent/configure-application-server-to-use-the-java-agent/websphere-application-server?focusedCommentId=428181932

     

    At the autoprobe.log I see some messages that I copy here..



  • 5.  Re: Snippet Injection does appear at application web page

    Posted 12-07-2017 10:51 AM

    You still need the Experience Collector to gather metrics. Use the link I posted earlier to help with the installation and setup.



  • 6.  Re: Snippet Injection does appear at application web page

    Posted 12-07-2017 10:53 AM

    Here the message at autoprobe.log

    Processing class com/ibm/websphere/servlet/response/StoredResponse
    getOutputStream:0 inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer
    setContentType:0 inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer
    getWriter:0 inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer
    setStatus inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 74
    setStatus inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/HTTPErrorCodeReporter; tracer order: 1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/errors.pbd; line: 33
    setStatus inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 74
    setStatus inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/HTTPErrorCodeReporter; tracer order: 1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/errors.pbd; line: 34
    sendError inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 73
    sendError inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/HTTPErrorCodeReporter; tracer order: 1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/errors.pbd; line: 31
    sendError inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 73
    sendError inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/HTTPErrorCodeReporter; tracer order: 1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/errors.pbd; line: 32
    Processing class javax/servlet/http/HttpServletResponseWrapper
    sendError inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 73
    sendError inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/HTTPErrorCodeReporter; tracer order: 1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/errors.pbd; line: 32
    sendError inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 73
    sendError inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/HTTPErrorCodeReporter; tracer order: 1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/errors.pbd; line: 31
    setStatus inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 74
    setStatus inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/HTTPErrorCodeReporter; tracer order: 1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/errors.pbd; line: 33
    setStatus inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmHTTPResponseTracer; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 74
    setStatus inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/HTTPErrorCodeReporter; tracer order: 1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/errors.pbd; line: 34
    Processing class javax/servlet/ServletResponseWrapper
    Processing class com/ibm/websphere/servlet/response/StoredResponseCompat
    Processing class com/ibm/_jsp/_UtilsScript
    _jspService inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BrtmTracer; tracer order: -9000000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 44
    _jspService inserted method tracer object allocation: com/wily/introscope/appmap/agent/trace/hc2/AppMapApplicationNameTracer; tracer order: -5000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/appmap.pbd; line: 437
    _jspService inserted method tracer object allocation: com/wily/introscope/appmap/agent/trace/hc2/AppMapApplicationNameTracer; tracer order: -5000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/appmap.pbd; line: 432
    _jspService inserted method tracer object allocation: com/wily/introscope/appmap/agent/trace/hc2/AppMapMarkerTracer; tracer order: -4000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/appmap.pbd; line: 446
    _jspService inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/HttpServletTracer; tracer order: -1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/j2ee.pbd; line: 352
    _jspService inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BALevelTwoHelperTracer; tracer order: -10; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 135
    _jspService inserted method tracer object allocation: com/wily/introscope/agent/brtm/trace/BALevelOneHelperTracer; tracer order: -10; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/browseragent.pbd; line: 105
    _jspService inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/BlamePointTracer; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/j2ee.pbd; line: 351
    _jspService inserted method tracer object allocation: com/wily/introscope/agent/external/biz/trace/SinglePerIntervalCounter; tracer order: 0; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/endUserEndpoints.pbd; line: 41
    _jspService inserted method tracer object allocation: com/wily/introscope/agent/trace/hc2/MethodThrewErrorReportingTracer; tracer order: 1000; file: /appl/home/ca/IntroscopeAgent10.5.1.8appserver/wily/core/config/errors.pbd; line: 37



  • 7.  Re: Snippet Injection does appear at application web page

    Posted 12-07-2017 10:57 AM

    Haruhiko, at this moment we have axa/dxi SaaS and apm on premise.

    The first step is capture the experience and send it to axa and later, install the cololector locally to gather the info and pass it to apm.

    Tha agents ar up and running, I can see them on Inspector but at the user browser I can´t see the ba.js injected and I don´t know why.

    Regards,

    Guillermo



  • 8.  Re: Snippet Injection does appear at application web page
    Best Answer

    Posted 12-07-2017 12:28 PM

    Guys! my mistake....some errors or blank spaces, missed lines, dots, wrong editor, etc....it´s working ok.

    Thanks a lot!