In the webapps, there is a loader specified in the context.xml. This singleton loader ensures that native libraries used by the webapps are ultimately only loaded once but only the specific webapps load them rather than affecting all webapps on TomEE.
-- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html