In some cases, the JavaEE Agent does not perform instrumentation when restartued, due to permission problems accessing the JavaEE Agent directory. This may occur after upgrading the Cartridge for JavaEE Technologies or when restarting the Foglight Agent Manager at any time, or when manually re-activating the JavaEEDeploymentManager after making changes
This is when the users are different for fglam verses the appserver user. Customers manually change permissions on the JavaEE Agent directory before restarting their appserver. The problem is that each time the JavaEEDeploymentManager is reactivated, the contents of the JavaEE folder are over-written.
The appropriate read/write permissions for the JavaEE Agent directory must be set for the application server user before restarting the application server(s). If the permissions are not set appropriately, the application server will not be instrumented at startup. The default location of the JavaEE Agent directory is FGLAM_HOME\agents\JavaEE