The Foglight Management Server log contains a large number of entries such as:
YYYY-MM-DD HH:MM:SS.SSS WARN Deployed names are not available for a J2EE object of class <yourclassname>.
These messages do not need to be logged.
Even after using the exclude classes option in Instrumented Classes, the WARN messages still appear.
The workaround is to use the SafeModeClasses feature. Thisneeds to be defined in the instrumentation.config file (by default the safemode section is empty). So add the following entry to the safemode section:
SafeModeClasses = ClassList (
Make sure the modification is made in the agent -override directory and restart the Application Server after making this change.
This has been raised as an enhancement PR87048 and will be considered for a future release of Foglight.
For 5.8.0 and above versions,SafeModeClasses are no longer required; the configuration property has been removed. The Java EE Agent is now compatible with libraries and frameworks that previously required SafeModeClasses definitions.