[jboss-jira] [JBoss JIRA] (WFLY-5073) Cannot modify datasource/connection-properties using jboss-cli
Burak Serdar (JIRA)
issues at jboss.org
Sat Aug 8 23:16:02 EDT 2015
Burak Serdar created WFLY-5073:
----------------------------------
Summary: Cannot modify datasource/connection-properties using jboss-cli
Key: WFLY-5073
URL: https://issues.jboss.org/browse/WFLY-5073
Project: WildFly
Issue Type: Bug
Affects Versions: 8.2.1.Final
Environment: Fedora 22
Reporter: Burak Serdar
Assignee: Jason Greene
Priority: Minor
This is broken in 8.2.1 and 8.2.0. It appears to be working on 9.x.
There is no way to modify the value of a connection-property of a datasource. So, in order to modify a property value, I have to remove it and then re-insert it with a new value. Removal fails the first time with:
"failure-description" => "JBAS014762: Removing services has lead to unsatisfied dependencies:
Service jboss.data-source-config.ExampleDS.connection-properties.test2 was depended upon by service jboss.data-source-config.ExampleDS",
Second invocation works. This is not a problem during manual configuration, but I am trying to configure connection properties using jcliff and puppet, and the failure to remove the property stops execution with an error.
It would've been nice if the following worked as well:
[standalone at localhost:9990 /] /subsystem=datasources/data-source=ExampleDS/connection-properties=test2:write-attribute(name=value,value=y)
{
"outcome" => "failed",
"failure-description" => "JBAS014639: Attribute value is not writable",
"rolled-back" => true,
"response-headers" => {"process-state" => "reload-required"}
}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list