I put below in both tomcat/bin/setenv.sh and tomcat/conf/tomcat.conf
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/home/centos/appagent/javaagent.jar"
as you see all users were given RW to /home/centos/appagent
drw-rw-rw-. 2 centos centos ...
Not sure what that means?
I folloed below instructions..
https://docs.appdynamics.com/display/PRO44/Apache+Tomcat+Startup+Settings
The zip was unzipped to /home/centos/appagent and add below line to /usr/share/tomcat/bin/setenv.sh file .. expor...