Actually I use it in tomee webprofile and jersey 1.18. Should work
with jersey 2 providing the up to date API.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-03-31 8:47 GMT+02:00 John Ang <[email protected]>:
> 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