Shell script is not recognizing below entry while instrumenting Wily agent for Java based application.
Inserted below entry in Applicaiton Startup shell script:
Getting Below Error:
<appdirectory>/bin/appstartupscript_wily: line 11: java.extended.properties=-javaagent:/opt/local/<appname>/wily/Agent.jar: No such file or directory
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.
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
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
I tried to configure for Axway application. I used below entry it did not work event after escaping ":" and "="
junaidwily May be able to help.
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
Make sure Agent.jar and Agent profile file is exist under wily and config folder and has right permission.
let me know
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.