The JavaEE agent logs are showing an error similar to the following:
Acquiring config-cache lock failed
followed by "Permission denied" and/or "invalid directory" errors
The JavaEE agent does not the correct file ownership/permissions on the $JAVAEE_HOME directory tree. This problem often occurs where the user that the FglAM instance runs as is different from the user that the instrumented application server runs as.
The easiest way to resolve this on a Unix or Linux operating system is to:
- Make both users members of the same group
- Give the group full permissions on the whole JavaEE agent directory tree
- restart the instrumented application server