Fetch Statistic Tool Usage Under Websphere Application Server
- Configuration
Add openjpa-fetch-statistics-VERSION-websphere.jar into the WAS_HOME\plugins directory.
Run WAS_HOME\bin\osgiCfgInit.sh(bat) to clear the osgi cache.
- Statistics Collecting and Monitoring
When this tool is configured, it will be active for all persistence units in the JVM. Statistics will be dumped via the
openjpa.Runtime channel with the INFO level every 10 minutes, or when the JVM terminates. Any EAGER field that is logged
has not been accessed by an application.
- Configuration removal
Stop all WebSphere processes using the WAS_HOME\plugins installation.
Remove the openjpa-fetch-statistics-VERSION-websphere.jar jar from the WAS_HOME\plugins directory.
Run WAS_HOME\bin\osgiCfgInit.sh(bat) to clear the osgi cache.