Quantcast
Channel: All AppDynamics Discussions posts
Viewing all articles
Browse latest Browse all 1667

Permissions error on startup of java agent.

$
0
0

Hi all, I am using Java Agent v 4.2.8.0 to monitor WebSphere Application Server on Linux. I have configured the agent manually on two seperate nodes, in an identical manner, however on the second node, I get the following error upon startup (briefly summarised here, with full error attached)...

 

[Thread-0] 01 Nov 2016 16:17:50,252 WARN AgentErrorProcessor - Agent error occurred, [name,transformId]=[com.singularity.JavaAgent - java.security.AccessControlException,2147483647]
[Thread-0] 01 Nov 2016 16:17:50,253 WARN AgentErrorProcessor - 4 instance(s) remaining before error log is silenced
[Thread-0] 01 Nov 2016 16:17:50,258 ERROR JavaAgent - Could Not Start Java Agent, Disabling !!!!!
java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:398)

 

On both nodes, the agent home directory is /apps/was/appdynamics/appagent/ with identical permissions / ownership on both, including...

 

drwxr-xr-x  3 websphere websphere     4096 Oct 28 14:34 appdynamics

                            drwxr-xr-x 4 webspherewebsphere 4096 Oct 28 14:38 appagent

                                               drwxr-xr-x 8 webspherewebsphere 4096 Oct 17 11:33 ver4.2.8.0

                                                                    drwxr-xr-x 5 webspherewebsphere 4096 Oct 31 11:46 conf

                                                                    drwxr-xr-x 3 webspherewebsphere 4096 Oct 31 11:29 logs

 

Both nodes' WAS home directory ( apps/was/ws8.5/inst01/ has(seemingly) identical permissions / ownership...

 

drwxr-xr-x 38 webspherewebsphere 4096 May 27 18:38 inst01

 

Both nodes' JRE java.policy and the JVMs' server.policy are identical. And so I'm currently at a loss as to what to try next in order to resolve.


Viewing all articles
Browse latest Browse all 1667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>