[jboss-jira] [JBoss JIRA] (WFLY-7074) Unable to add cached-connection-manager after removing it once
Martin Simka (JIRA)
issues at jboss.org
Thu Sep 8 11:13:01 EDT 2016
Martin Simka created WFLY-7074:
----------------------------------
Summary: Unable to add cached-connection-manager after removing it once
Key: WFLY-7074
URL: https://issues.jboss.org/browse/WFLY-7074
Project: WildFly
Issue Type: Bug
Components: JCA
Affects Versions: 8.0.0.Beta1
Reporter: Martin Simka
{{<cached-connection-manager>}} is enabled in jca subsystem by default:
{code:xml}
<subsystem xmlns="urn:jboss:domain:jca:1.1">
...
<cached-connection-manager />
</subsystem>
{code}
However, it is unable to re-enable {{<cached-connection-manager>}} once it is disabled. CLI command fails to add it due to duplicate resource.
{code}
[standalone at localhost:9990 /] /subsystem=jca/cached-connection-manager=cached-connection-manager:remove
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
[standalone at localhost:9990 /] :reload
{
"outcome" => "success",
"result" => undefined
}
[standalone at localhost:9990 /] /subsystem=jca/cached-connection-manager=cached-connection-manager:add
{
"outcome" => "failed",
"failure-description" => "JBAS014803: Duplicate resource [
(\"subsystem\" => \"jca\"),
(\"cached-connection-manager\" => \"cached-connection-manager\")
]",
"rolled-back" => true
}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list