I worked on a JCA adapter recently in tomee so know what you're going through.
I created a very basic JCA skeleton project that contains a very simple jca adapter and a single test case that loads the resource adapter in tomee and injects the connection factory. You can see this project here... https://github.com/httpants/jcatest Also some other threads discussing tomee and jca that might help... http://openejb.979440.n4.nabble.com/openejb-not-destroying-ManagedConnections-on-shutdown-td4658799.html#a4658979 http://openejb.979440.n4.nabble.com/How-do-i-deploy-a-ManagedConnectionFactory-in-a-war-file-td4659993.html One feature of tomee that no other container has is the ability to package a rar in a war (non standard feature but extremely useful in some cases)! Other containers only support rar in ear. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Please-provide-a-working-example-for-configuring-any-kind-of-resource-adapters-in-tomee-tp4673033p4673064.html Sent from the TomEE Users mailing list archive at Nabble.com.
