I am nearly done with packaging my test prj with maven/tomee-plugin. I will share then.
The problem is that I did not find much about how to get pooling and XA in tomee. The only datasource definition that I managed to get to start succesfully is the one in my sample (relying on dbcp). But then I immediately noticed what appears as a conn leaking (unless some stupid mistake on my side). The problem is that my final target is to get even further (although I am not even sure about feasibility). I need to get XA + pooling for distributed transactions between mysql and activemq, with pooling on both resources. (i.e. read message + do db stuff + send message all in one XA transaction) I currently have the thing working but: - with no pooling - effectiveness of XA to be tested But I got stuck already on adding pooling to database resources. :( -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/org-apache-openejb-resource-jdbc-dbcp-BasicManagedDataSource-allocating-more-than-MaxActive-connectis-tp4676508p4676563.html Sent from the TomEE Users mailing list archive at Nabble.com.
