Dear all,

Starting with the just released TomEE 1.7.2, we're facing issues with our 
product. Our product uses a custom Loader to set a custom classloader. It turns 
out, that even when I set the Loader in our context to the Tomcat default 
(while I presume that setting it to the default shouldn't have any effect), all 
of a sudden, it breaks resolving EJB Beans in a "new InitialContext()". This 
was working OK on TomEE 1.7.1, but no longer in 1.7.2.
Be aware that I'm talking about Loaders, not Classloaders.

Setting the (undocumented) property "openejb.cxf.CxfContainerClassLoader=false" 
in "conf/system.properties" appears to work around the issue. What are my other 
options? Although I sense this issue is about Loaders, Romain Manni-Bucau 
suggested to implement "equals()" on the custom class loader in another way. 
What are the requirements for doing that?

Kind regards,
Anne Stellingwerf

PS: This mail is sent in reference to 
https://issues.apache.org/jira/browse/TOMEE-1616

Reply via email to