I'm having the following problem (reported there by someone else) when running my enterprise application under Glassfish. Under Jetty it works fine.
javax/xml/ws/spi/Provider mentions creating a META-INF/services/javax.xml.ws.spi.Provider resource, but this is already supplied with CXF and creating an additional resource file does not solve this problem under Glassfish.
Does anyone know how to ensure that CXF is picked up under GlassFish?
(I'm using a Maven Multi-modules project with CXF dependency 2.2.5)
Thanks!
Tim
EDIT #1
Skipping the problem for now and just working with Metro, but I'd really like to know how to use CXF instead if anyone has any pointers.. If nothing works I might have to switch web application container (or look into Metro to fill my requirements)
EDIT #2
Some of the solutions detail the fix for war's by adding <class-loader delegate="false"/>
to the sun-web.xml file. However, this does not work for non-war ee apps.
jsf
: Glassfish has built in jsf libraries and these generate conflicts about a code having jsf in it. Really annoying and the solution is worth of the bounty that is open! I absolutely want to know also the solution! – Ottar