I am deploying (tomEE-plus 7.0.5) an EAR file that contains two modules: a JCA connector defined in a rar file, and a JAR full of ejbs. The EJBs contain classes that depend upon classes packaged in the RAR.
Whether or not I set "initialize-in-order" to true, I get the same behavior: The logs show no evidence that the server has tried to deploy the RAR, instead it begins deploying the ejb module, and fails with NoClassDefFoundError. If I delete the ejb module from the ear, leaving only the rar module, and deploy the ear, the server appears to deploy the rar module happily. Jonathan Gallimore posted something a while back that I thought was related to this problem, something about resource adapter class loading being lazy; I thought there was even a pull request for it, but I can't seem to find any of that now. Is there a workaround? -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html