xaDataSourceInstance being null you dont use your xa datasource instance or
you took this capture before any usage of the datasource.

Note: depending the datasource and its driver it can be needed to specify
the driver and some connection parameters on the pool as well  (myDBXAPooled
)


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-10-16 16:22 GMT+02:00 iannuz <[email protected]>:

> ds      BasicManagedDataSource  (id=116)
>
>         abandonedConfig AbandonedConfig  (id=126)
>         accessToUnderlyingConnectionAllowed     false
>         closed  false
>         connectionInitSqls      null
>         connectionPool  null
>         connectionProperties    Properties  (id=128)
>         dataSource      null
>         defaultAutoCommit       true
>         defaultCatalog  null
>         defaultReadOnly Boolean  (id=134)
>         defaultTransactionIsolation     -1
>         driverClassLoader       StandardClassLoader  (id=136)
>         driverClassName "org.hsqldb.jdbcDriver" (id=139)
>         initialSize     4
>         jmxDs   JMXBasicDataSource  (id=144)
>         logger  null
>         logWriter       PrintWriter  (id=146)
>         maxActive       10
>         maxIdle 5
>         maxOpenPreparedStatements       0
>         maxWait 2000
>         minEvictableIdleTimeMillis      1800000
>         minIdle 0
>         numTestsPerEvictionRun  3
>         password        "******" (id=154)
>         passwordCipher  "PlainText" (id=155)
>         poolPreparedStatements  false
>         restartNeeded   true
>         testOnBorrow    true
>         testOnReturn    false
>         testWhileIdle   false
>         timeBetweenEvictionRunsMillis   -1
>         transactionManager      GeronimoTransactionManager  (id=159)
>         transactionRegistry     null
>         url     "jdbc:hsqldb:file:data/hsqldb/hsqldb" (id=164)
>         username        "root" (id=173)
>         validationQuery "SELECT 1" (id=174)
>         validationQueryTimeout  -1
>         xaDataSource    "myDBXA" (id=176)
>                 hash    0
>                 hash32  0
>                 value   (id=178)
>         xaDataSourceInstance    null
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/org-apache-openejb-resource-jdbc-dbcp-BasicManagedDataSource-allocating-more-than-MaxActive-connectis-tp4676508p4676516.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to