Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2199

connection related operations fail for the newly created datasources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Beta1
    • 7.1.0.Alpha1
    • JCA
    • None

    Description

      [standalone@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@localhost:9999 /] data-source flush-all-connection-in-pool --jndi-name=my
      failed to invoke operation: failed to match pool. Check JndiName: my
      [standalone@localhost:9999 /] data-source flush-idle-connection-in-pool --jndi-name=my
      failed to invoke operation: failed to match pool. Check JndiName: my
      [standalone@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.

      Attachments

        Activity

          People

            smaestri@redhat.com Stefano Maestri
            olubyans@redhat.com Alexey Loubyansky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: