Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  1. 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')"/>
    
  2. Launch JConsole and provide the openjpa-tools.jar via the -pluginpath switch.
    Code Block
    > [java_home]\bin\jconsole -pluginpath [path_to_openjpa-tools.jar]
    
  3. Select the PID which corresponds to your application.
  4. Wiki MarkupIf all goes well, at this point you should see a tab labeled DataCache-\[pu_name\]-\[n\] !screen.jpg|thumbnail,border=1!]
    Image Added

JEE Usage

// In progress http://wasdynacache.blogspot.com/2010/03/getting-jconsole-working-with-websphere.htmlImage Removed