How to enable pool statistic to automatically activate resource adaptor with ironjacamar.xml

Solution Verified - Updated -

Issue

  • How do I enable pool statistic to automatically activate resource adaptor with ironjacamar.xml? Our resource adaptor is not registered in resource-adapters subsystem.
  • The cli dommand written in the performance tuning guide fails with following error:
[standalone@localhost:9990 /] /deployment=myRA.rar/subsystem=resource-adapters/statistics=statistics/connection-definitions=java\:\/eis\/AcmeConnectionFactory:write-attribute(name=statistics-enabled,value=true)
Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [
    ("deployment" => "myRA.rar"),
    ("subsystem" => "resource-adapters"),
    ("statistics" => "statistics"),
    ("connection-definitions" => "java:/eis/AcmeConnectionFactory")
]"

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.3
    • 7.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content