[jboss-jira] [JBoss JIRA] Created: (AS7-1517) make sure flush connection operations work for non-java context bound ds

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Thu Aug 11 09:38:02 EDT 2011


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: Jesper Pedersen
             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 at localhost:9999 /] data-source add --jndi-name=myds --driver-name=h2 --pool-name=myds --connection-url=curl
[standalone at localhost:9999 /] data-source flush-idle-connection-in-pool --jndi-name=myds                              
failed to invoke operation: failed to match pool. Check JndiName: myds
[standalone at localhost:9999 /] data-source remove --jndi-name=myds

This does:

[standalone at localhost:9999 /] data-source add --jndi-name=myds --driver-name=h2 --pool-name=myds --connection-url=curl --use-java-context=true
[standalone at localhost:9999 /] flush-idle-connection-in-pool --jndi-name=myds
[standalone at localhost:9999 /] remove --jndi-name=myds                                                                             

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list