Hi Romain Manni-Bucau,

I'm leaning towards the 2nd choice that you suggest above which is to
provide the api in the app forcing it to be loaded with the property. I
tried this suggestion by removing the exclusions from the attached maven
project and also added the following properties to system.properties:

com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager=true
openejb.classloader.forced-skip = javax

Sadly, it still doesn't work. Did you try this approach before? I'm well
aware that TomEE comes default with CXF but I'm evaluating TomEE to see how
I can customize it to suit my needs (which in this case is to use the latest
Jsrsey version).  

I sincerely hope someone can provide a workable suggestion for this issue
that I'm facing.



--
View this message in context: 
http://openejb.979440.n4.nabble.com/TomEE-1-6-0-Jersey-2-6-ClassCastException-problem-tp4668363p4668467.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to