DX Application Performance Management

  • 1.  Getting error while instrumenting Wily agent to monitor Java based application.

    Posted Jun 06, 2018 12:04 PM

    Shell script is not recognizing below entry while instrumenting Wily agent for Java based application.

     

    Inserted below entry in Applicaiton Startup shell script:

    java.extended.properties=-javaagent:/opt/local/<appname>/wily/Agent.jar ‑Dcom.wily.introscope.agentProfile=/opt/local/<appname>/wily/core/config/IntroscopeAgent.<appname>.profile

     

    Getting Below Error:

    <appdirectory>/bin/appstartupscript_wily: line 11: java.extended.properties=-javaagent:/opt/local/<appname>/wily/Agent.jar: No such file or directory



  • 2.  Re: Getting error while instrumenting Wily agent to monitor Java based application.

    Broadcom Employee
    Posted Jun 06, 2018 12:19 PM

    Ensure the application process owner as recursive READ access to the ./wily filesystem. Ensure the process owner as WRITE access to ./wily/logs or wherever you have configured your agent to write logs to.



  • 3.  Re: Getting error while instrumenting Wily agent to monitor Java based application.

    Posted Jun 07, 2018 09:58 AM

    Hi Haruhiko,

     

    Thanks for your reply, I have given required permissions as 

    chmod -R 775 /opt/local/appname/wily

    still getting error 

     

    bash-4.1$ /applicaiton path/bin/startupscript_wily: line 11: java.extended.properties=-javaagent:/opt/local/appname/wily/Agent.jar: No such file or directory  



  • 4.  Re: Getting error while instrumenting Wily agent to monitor Java based application.

    Broadcom Employee
    Posted Jun 06, 2018 07:49 PM

    Hi Raju,

    It sounds like you may be configuring the agent for Tibco Business Works?

    On Unix/Linux in java.extended.properties the javaagent ":" and profile "=" characters need to be escaped with a "\".

    See "Configure TIBCO BusinessWorks to Use the Agent" on the "Monitor TIBCO BusinessWorks" docops page:

    Monitor TIBCO BusinessWorks - CA Application Performance Management - 10.5 - CA Technologies Documentation 

     

    Hope that helps

     

    Regards,

     

    Lynn



  • 5.  Re: Getting error while instrumenting Wily agent to monitor Java based application.

    Posted Jun 07, 2018 09:56 AM

    Hi Lynn,

     

    I tried to configure for Axway application.  I used below entry it did not work event after escaping ":" and "="

     

    java.extended.properties=-javaagent\:/opt/local/appname/wily/Agent.jar -DagentProfile\=/opt/local/appname/wily/core/config/IntroscopeAgent.appname.profile 



  • 6.  Re: Getting error while instrumenting Wily agent to monitor Java based application.

    Broadcom Employee
    Posted Jun 07, 2018 11:11 AM

    junaidwily May be able to help.



  • 7.  Re: Getting error while instrumenting Wily agent to monitor Java based application.

    Posted Jun 07, 2018 12:27 PM

    Please check 2 things

    1) Appropriate permissions has to be provided everything under wily folder.

    2) Please check if the path is correct do following

          cd /opt/local/appname/wily

          cd /opt/local/appname/wily/core/config

          Make sure Agent.jar  and Agent profile file is exist under wily and config folder and has right permission.

     

    let me know



  • 8.  Re: Getting error while instrumenting Wily agent to monitor Java based application.

    Posted Jun 08, 2018 07:32 AM

    Hi Junaidwily,

     

    I verified below:

     

    1.Agent.jar is exists in opt/local/appname/wily path 

    2.IntroscopeAgent.appname.profile file exists in /opt/local/appname/wily/core/config path.