]
Jesper Pedersen reassigned WFLY-2640:
-------------------------------------
Assignee: Jeff Zhang (was: Stefano Maestri)
Unable to add cached-connection-manager after removing it once
--------------------------------------------------------------
Key: WFLY-2640
URL:
https://issues.jboss.org/browse/WFLY-2640
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JCA
Affects Versions: 8.0.0.Beta1
Reporter: Masafumi Miura
Assignee: Jeff Zhang
{{<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@localhost:9990 /]
/subsystem=jca/cached-connection-manager=cached-connection-manager:remove
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
[standalone@localhost:9990 /] :reload
{
"outcome" => "success",
"result" => undefined
}
[standalone@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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: