THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The latest OpenJPA Tools JAR file can be download from the SNAPSHOT Repository or can be built from the source code in svn by using Maven 2.2.1 and Java SE 6.
...
JSE Usage
This description assumes your application is running the same machine as the JConsole and you are running with an Oracle JVM (it will work on IBM, but you'll need to do a little more work).
- 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.