Is there a way to monitor the size and contents of the prepared statement cache in JBoss EAP?

Solution Verified - Updated -

Issue

  • Is there a way to monitor the size and contents of the prepared statement cache?
  • Is it possible to change prepared-statement-cache-size using jmx-console in JBoss EAP 5?
  • How do I monitor this LRU?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 4, 5, 6
  • in EAP 6, prepared-statement-cache-size defined in
    • jboss-as-datasources_1_0.xsd
    • jboss-as-datasources_1_1.xsd
    • jboss-as-datasources_1_2.xsd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.