modules/plugins/jboss-as-5/src/main/resources/META-INF/rhq-plugin.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 4ab947d9c450a94601055509cb9c4240b0652210
Author: Thomas Segismont <tsegismo(a)redhat.com>
Date: Thu Jul 25 18:06:07 2013 +0200
Bug 886126 - Datasource JNDI change takes too long to be propagated to JON server
In EAP5, JNDI name is the key of Datasource and Connection Factory managed components.
Consequently, there is no way to change the JNDI name of such components without creating
a new managed component, which will in the end be discovered by RHQ.
So in RHQ, jndi-name config property is now marked as read-only (it will still be
required when creating a Datasource or a Connection Factory).
diff --git a/modules/plugins/jboss-as-5/src/main/resources/META-INF/rhq-plugin.xml
b/modules/plugins/jboss-as-5/src/main/resources/META-INF/rhq-plugin.xml
index 2b14f5b..9a53a80 100644
--- a/modules/plugins/jboss-as-5/src/main/resources/META-INF/rhq-plugin.xml
+++ b/modules/plugins/jboss-as-5/src/main/resources/META-INF/rhq-plugin.xml
@@ -133,6 +133,7 @@
<!ENTITY datasourceConnectionResourceConfigProps '
<c:simple-property name="jndi-name"
+ readOnly="true"
displayName="JNDI Name"
description="The global JNDI Name under which to bind the
datasource"
type="string"/>
@@ -502,7 +503,7 @@
-->
<!ENTITY connectionFactoryConnectionResourceConfigProps '
- <c:simple-property required="true" name="jndi-name"
displayName="JNDI Name"
+ <c:simple-property required="true" name="jndi-name"
readOnly="true" displayName="JNDI Name"
description="The global JNDI name to bind the connection
factory under."/>
<c:simple-property required="true" name="rar-name"
displayName="RAR Name">
Show replies by date