The problem here comes from JBoss AS not including the JAXRS part of CXF
because of RestEasy impl being used there. So, the proper approach if
you want to use Apache CXF JAXRS impl is to:
1) disable the jaxrs (RestEasy) subsystem of JBoss AS
(jboss-deployment-structure.xml)
2) include CXF libs in your deployment and basically use JBoss AS as if
it was a servlet engine only (~ Tomcat)
3) possibly also disable the webservices subsystem if you're having
clashes due to CXF core libraries already on the AS
4) DO NOT modify the modules dir on the AS unless you really know what
you're doing, you might basically end up messing things up for other
deployments (so, replacing the existing CXF version in
modules/.../org/apache/cxf folders without properly updating jbossws can
cause issues)

Cheers
Alessio

On 07/08/2013 07:06 AM, mayankeagle wrote:
> Thanks folks, the issue is resolved. I had to replace several JARs in the
> JBoss modules folders with the latest versions of Spring, Hibernate and CXF
> to make it work and create dependencies in the module.xml files.
> 
> 
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/CXF-2-6-2-in-JBoss-7-1-1-tp5730368p5730395.html
> Sent from the cxf-user mailing list archive at Nabble.com.


-- 
Alessio Soldano
Web Service Lead, JBoss

Reply via email to