[jboss-jira] [JBoss JIRA] (WFLY-7214) Warning of IllegalStateException on test-connection-pool for DataSources added after previous failure addition

Lin Gao (JIRA) issues at jboss.org
Sun Sep 25 23:14:00 EDT 2016


Lin Gao created WFLY-7214:
-----------------------------

             Summary: Warning of IllegalStateException on test-connection-pool for DataSources added after previous failure addition
                 Key: WFLY-7214
                 URL: https://issues.jboss.org/browse/WFLY-7214
             Project: WildFly
          Issue Type: Bug
          Components: JCA
            Reporter: Lin Gao
            Assignee: Jesper Pedersen


When a data-source was failed to be added either because of missing connection-properties:
{code:}
/subsystem=datasources/data-source=XXX:add(jndi-name=java:/XXX, datasource-class=XXX,driver-name=h2)
{code}
or missing of connection-url:
{code:}
/subsystem=datasources/data-source=XXX:add(jndi-name=java:/XXX, driver-name=h2)
{code}
, it can be added by correcting the information, like:
{code:}
[standalone at localhost:9990 /] /subsystem=datasources/data-source=XXX:add(jndi-name=java:/XXX, driver-name=h2,connection-url="jdbc:h2:test")
{"outcome" => "success"}
{code}

But the {{test-connection-in-pool()}} operation failed with {{IllegalStateException}} of the new created data-source.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list