]
Jesper Pedersen reassigned AS7-1517:
------------------------------------
Assignee: Stefano Maestri (was: Jesper Pedersen)
Maybe related to AS7-1515
make sure flush connection operations work for non-java context bound
ds
------------------------------------------------------------------------
Key: AS7-1517
URL:
https://issues.jboss.org/browse/AS7-1517
Project: Application Server 7
Issue Type: Bug
Components: JCA
Reporter: Alexey Loubyansky
Assignee: Stefano Maestri
Fix For: 7.0.1.Final
Working on the CLI I found flush connection operations don't work for datasources not
bound in the java: context. Although, it's not the latest JCA code in my branch and
needs checking against the latest one.
This doesn't work:
[standalone@localhost:9999 /] data-source add --jndi-name=myds --driver-name=h2
--pool-name=myds --connection-url=curl
[standalone@localhost:9999 /] data-source flush-idle-connection-in-pool --jndi-name=myds
failed to invoke operation: failed to match pool. Check JndiName: myds
[standalone@localhost:9999 /] data-source remove --jndi-name=myds
This does:
[standalone@localhost:9999 /] data-source add --jndi-name=myds --driver-name=h2
--pool-name=myds --connection-url=curl --use-java-context=true
[standalone@localhost:9999 /] flush-idle-connection-in-pool --jndi-name=myds
[standalone@localhost:9999 /] remove --jndi-name=myds
--
This message is automatically generated by JIRA.
For more information on JIRA, see: