DX Application Performance Management

 View Only
  • 1.  APM Agent 10.7 breaks webapp inserting charachters in header

    Posted Oct 02, 2019 11:01 AM
    Hello community.
    I have a web application running on Tomcat that has a security filter on the login page  that analyzes the header of the http request to prevent injectons and dangerous commands.
    When APM java agent  (10.7 also no redef no retrans) is working ,it is rewriting the URL in the http header and the app stops working.

    Is possible to prevent this?

    Thanks Luca


  • 2.  RE: APM Agent 10.7 breaks webapp inserting charachters in header
    Best Answer

    Posted Oct 03, 2019 08:31 AM
    Try setting the below properties to false in the agent profile

    com.wily.introscope.agent.soapheaderinsertion.enabled=false

    com.wily.introscope.agent.httpheaderinsertion.enabled=false

    You will lose some cross-process correlation tracing functionality.
    FYI there are corresponding properties for reading headers.

    com.wily.introscope.agent.soapheaderread.enabled=true

    com.wily.introscope.agent.httpheaderread.enabled=true

     



    ------------------------------
    Solutions Architect
    ------------------------------



  • 3.  RE: APM Agent 10.7 breaks webapp inserting charachters in header

    Posted Oct 09, 2019 02:38 AM
    Really I found that is the agent triyng to follow the transactions because of the transaction definition in the CEM interface.
    If the agent points to a MOM without CEM transaction definition in place, this behaviour ( writing url in HTTP header) is not in place.
     I put the settings you gave me @false but no way .
    Only changing MOM succeded

    Luca​


  • 4.  RE: APM Agent 10.7 breaks webapp inserting charachters in header

    Broadcom Employee
    Posted Nov 16, 2019 03:26 AM
    The default behavior for 10.7+ agents is httpheader insertion and read. If you disable any of the parameters, it will break the cross-process correlation.

    ------------------------------
    Custom Solution Architect
    Broadcom
    ------------------------------