The instructions for installing App Dynamics PaaS setup with a websphere application server are quite clear. You download the appropriate javaagent.jar file (IBM JDK), drop it in a folder, and point to it in the generic jvm arguments field. I have:
-javaagent:C:\dev\appdynamics\javaagent.jar
I've dropped the extracted files from the .zip file that I downloaded via the java agent wizard. I see the generic jvm arguments in my server.xml file, and I have modified the server.policy file to contain permissions for that folder:
grant codeBase "file:C:\dev\appdynamics/-"
{
permission java.security.AllPermission;
};
grant codeBase "file:C:/dev/appdynamics/-"
{
permission java.security.AllPermission;
};
(wasn't sure what format for this file was correct for file paths)
I start up the server and see nothing with regard to java agents in the logs whatsoever. No info messages, no exceptions or problems, and my application doesn't show up the your PaaS service even after I've used my application for 30 minutes.
Any pointers would be appreciated.
Hi Brett,
The below snippet looks more clear and correct:
grant codeBase "file:C:/dev/appdynamics/-"
{
permission java.security.AllPermission;
};
Can you perform the following changes and see how it goes:
- update controller-host, port , application-name, tier-name and node-name xml values in controller-info.xml at path C:\dev\appdynamics\conf
- restart the JVM and see how it goes
- If issue persists please remove -Xquickstart arg in generic jvm args and save the changes and restart the server and see if that helps to see some logs under C:\dev\appdynamics\logs path
Regards,
Arun