JBoss EAP 6 management plug-in fails to set datasource's prepared statements cache size due to: Unknown attribute prepared-statements-cacheSize
Issue
- Typo in
rhq-jboss-as-7-plugin-4.4.0.JON312GA/META-INF/rhq-plugin.xml
breaks set - Value for
Prepared Statements Cache Size
is not committed. -
Error shows that JON is not saving the property by the right name
JBAS014653: Composite operation failed and was rolled back. Steps that failed:={Operation step-16=JBAS014792: Unknown attribute prepared-statements-cacheSize}}, rolled-back=true"
-
Update of
Prepared Statements Cache Size
property fails with:JBAS014653: Composite operation failed and was rolled back. Steps that failed:={Operation step-9=JBAS014792: Unknown attribute prepared-statements-cacheSize}}, rolled-back=true
-
Invalid property
prepared-statements-cacheSize
-
Agent log contains warning:
WARN [ResourceContainer.invoker.nonDaemon-1] (rhq.modules.plugins.jbossas7.ASConnection)- We got a 500 with the following response body back: {"outcome" : "failed", "result" : {"step-1" : {"outcome" : "failed", "rolled-back" : true}, "step-2" : {"outcome" : "failed", "rolled-back" : true}, "step-3" : {"outcome" : "failed", "rolled-back" : true}, "step-4" : {"outcome" : "failed", "rolled-back" : true}, "step-5" : {"outcome" : "failed", "rolled-back" : true}, "step-6" : {"outcome" : "failed", "rolled-back" : true}, "step-7" : {"outcome" : "failed", "rolled-back" : true}, "step-8" : {"outcome" : "failed", "rolled-back" : true}, "step-9" : {"outcome" : "failed", "failure-description" : "JBAS014792: Unknown attribute prepared-statements-cacheSize", "rolled-back" : true}, "step-10" : {"outcome" : null}, "step-11" : {"outcome" : null}, "step-12" : {"outcome" : null}, "step-13" : {"outcome" : null}, "step-14" : {"outcome" : null}, "step-15" : {"outcome" : null}, "step-16" : {"outcome" : null}}, "failure-description" : {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" : {"Operation step-9" : "JBAS014792: Unknown attribute prepared-statements-cacheSize"}}, "rolled-back" : true}
Environment
- Red Hat JBoss Operations Network (ON) 3.1.2
- Red Hat JBoss Enterprise Application Platform (EAP) 6 management plug-in
- Setting or modifying the
Prepared Statements Cache Size
datasource resource configuration property- Either when creating a datasource resource or when modifying an existing datasource resource configuration
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.