THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Start an OpenJPA application with the following configuration properties set:
Code Block xml xml <property name="openjpa.DataCache" value="true"/> <property name="openjpa.Instrumentation" value="jmx(Instrument='DataCache')"/>
- Launch JConsole and provide the openjpa-tools.jar via the -pluginpath switch.
Code Block > [java_home]\bin\jconsole -pluginpath [path _to _openjpa-tools.jar]
- Select the PID which corresponds to your application.
...
Wiki Markup If all goes well, at this point you should see a tab labeled DataCache-\[pu_name\]-\[n\] !screen.jpg|thumbnail,border=1!