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

Stefano Maestri (JIRA) jira-events at lists.jboss.org
Thu Sep 15 05:36:26 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Maestri updated AS7-1517:
---------------------------------

    Fix Version/s: 7.1.0.Beta1
                       (was: 7.1.0.Alpha1)


> 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.1.0.Beta1
>
>
> 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