I am not sure I get what you mean. You say to switch to dbcp, but the
configuration that is giving me problems is the following, where I am
already using dbcp.. what have I misunderstood?

        <Resource id="myDBXAPooled" type="DataSource">
                XaDataSource myDBXA
                *DataSourceCreator dbcp*
                JtaManaged true
                UserName TestUser
                Password TestPassword
                MaxWait 2000
                ValidationQuery SELECT 1
                InitialSize 2   
                MaxActive 15
                MinIdle 3
                MaxIdle 5
                MinEvictableIdleTimeMillis 25000
                TimeBetweenEvictionRunsMillis 40000
                LogAbandoned true
                RemoveAbandoned true
                RemoveAbandonedTimeout 20
        </Resource>

        <Resource id="myDBXA" type="XADataSource"
class-name="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource">
                Url jdbc:mysql://localhost:3306/test
                User TestUser
                Password TestPassword
        </Resource>



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/org-apache-openejb-resource-jdbc-dbcp-BasicManagedDataSource-allocating-more-than-MaxActive-connectis-tp4676508p4676554.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to