In order to use your own database for the Monitoring Plugin you must ensure the following:
- Datasource for the Active Database must be named jdbc/ActiveDS
- Datasource for the Archive Database must be named jdbc/ArchiveDS
- Module ID must be org.apache.geronimo.plugins/agent-ds//car because there is a dependency on this module ID in the plugin
Here is the original deployment descriptor for the datasources used for the Monitoring Plugin.
The two gbeans at the end of the deployment descriptor is pointing to an SQL file in order to create the necessary tables under the condition that they do no exist.