[jboss-jira] [JBoss JIRA] (AS7-2199) connection related operations fail for the newly created datasources

Alexey Loubyansky (Created) (JIRA) jira-events at lists.jboss.org
Fri Oct 21 11:11:45 EDT 2011


connection related operations fail for the newly created datasources
--------------------------------------------------------------------

                 Key: AS7-2199
                 URL: https://issues.jboss.org/browse/AS7-2199
             Project: Application Server 7
          Issue Type: Bug
          Components: JCA
    Affects Versions: 7.1.0.Alpha1
            Reporter: Alexey Loubyansky
            Assignee: Jesper Pedersen


[standalone at localhost:9999 /] data-source add --jndi-name=my --driver-name=h2 --connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1 --pool-name=mypool
[standalone at localhost:9999 /] data-source flush-all-connection-in-pool --jndi-name=my                                                               
failed to invoke operation: failed to match pool. Check JndiName: my
[standalone at localhost:9999 /] data-source flush-idle-connection-in-pool --jndi-name=my
failed to invoke operation: failed to match pool. Check JndiName: my
[standalone at localhost:9999 /] data-source test-connection-in-pool --jndi-name=my
failed to invoke operation: failed to match pool. Check JndiName: my

Server's log

17:05:42,092 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [my]
17:05:46,977 ERROR [org.jboss.as.controller] (pool-1-thread-5) Operation ("flush-all-connection-in-pool") failed - address: ([
    ("subsystem" => "datasources"),
    ("data-source" => "my")
]) - failure description: "failed to invoke operation: failed to match pool. Check JndiName: my"
17:06:05,056 ERROR [org.jboss.as.controller] (pool-1-thread-4) Operation ("flush-idle-connection-in-pool") failed - address: ([
    ("subsystem" => "datasources"),
    ("data-source" => "my")
]) - failure description: "failed to invoke operation: failed to match pool. Check JndiName: my"
17:06:17,149 ERROR [org.jboss.as.controller] (pool-1-thread-3) Operation ("test-connection-in-pool") failed - address: ([
    ("subsystem" => "datasources"),
    ("data-source" => "my")
]) - failure description: "failed to invoke operation: failed to match pool. Check JndiName: my"

If I restart the server, the commands succeed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list