|Custom MAT plugin not loaded on startup [message #1016581]
||Thu, 07 March 2013 01:07
| Robin Fernandes
Registered: July 2009
We recently wrote a MAT plugin with a custom query and report, with the aim of automatically extracting data from large numbers of dumps with a headless MAT using the ParseHeapDump script. We followed the instructions outlined in this thread, which is still an incredibly useful resource nearly 4 years on!
The resulting plugin works almost perfectly. The only problem is that our plugin is not loaded automatically on first startup after it is deployed to $MAT_HOME/plugins. For it to load, I have to spin up the UI and go to Help/About/Installation Details/Plug-ins, where the plugin is listed. After this, the plugin functionality is available, and it is loaded on subsequent restarts as well as when running headlessly.
Unfortunately, this step must be repeated whenever the plugin is re-deployed. The implication is that we cannot deploy new versions of the plugin to an entirely headless MAT.
Is there anything I need to set in the plugin or on the commandline invocation to ensure my custom plugin is loaded on startup?
We're on MAT 1.2.1.
[Updated on: Thu, 07 March 2013 23:49]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.24477 seconds