I am looking for how disable the auto-creation of resources in TomEE+ 1.5.1. Indeed, I create a managed datasource with an initial size of pool of 5 connections. My problem is that in addition of my JTA datasource, an unmanaged resource is automatically created... so I have 10 sessions opened on my database. (see the note on resources :http://tomee.apache.org/configuring-datasources-in-tests.html)
Please, how can I disable the auto-create of this unintended datasource ?