As Willem said, I think it's better  to exclude the jaxrs subsystem to
disable the resteasy deployer and exclude its dependencies in the
deployment phase:

<exclude-subsystems>
<subsystem name="webservices" />
<subsystem name="jaxrs" />
</exclude-subsystems>

Cheers,
Jim


On Mon, Jul 8, 2013 at 9:08 AM, Willem jiang <[email protected]> wrote:

> AsyncHTTPConduitFactory is optional, you don't need to put it into the war
> lib.
> I don't think you need to put much efforts to noodle the jars if you are
> using maven to build the war file.
>
> BTW, you can disable the JBoss web service module by adding this line into
> WEB-INF/jboss-deployment-structure.xml file.
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
> <deployment>
> <exclude-subsystems>
> <subsystem name="webservices" />
> </exclude-subsystems>
> <!-- Dependencies below included could reuse the jars from jboss modules-->
> <dependencies>
> <module name="javax.wsdl4j.api"/>
> <module name="org.apache.ws.xmlschema"/>
> <module name="org.apache.neethi"/>
> <module name="org.codehaus.woodstox"/>
> </dependencies>
> </deployment>
> </jboss-deployment-structure>
>
>
> --
> Willem Jiang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Web: http://www.fusesource.com | http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
> (English)
>           http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
>
>
> On Monday, July 8, 2013 at 3:07 AM, Sergey Beryozkin wrote:
>
> > Hi
> >
> > I hope that CXF 2.7.5 will do much better in JBoss 7.x, I can see in
> > your last message that the async HTTP conduit is not found, hoping you
> > can tweak JBoss descriptors a bit and make it work :-). By the way, I
> > wonder why the async conduit is loaded at all, it is an optional conduit
> > in CXF 2.7.x and you try to deploy CXF 2.6.2...
> >
> > Cheers, Sergey
> > On 07/07/13 07:42, mayankeagle wrote:
> > > Hi,
> > >
> > > I am aware that simple JAX-RS WARs made using CXF cannot be directly
> > > deployed on JBoss 7 as JBoss itself provides the modules for CXF (the
> > > default version I see there is CXF 2.4) and there are some conflicts.
> > >
> > > I have tried the steps mentioned on Fandry's page at
> > > http://fandry.blogspot.in/2012/05/rest-api-with-cxf-and-spring.htmlfor
> > > deploying a REST-ful web-service project using Apache CXF 2.6.2. I
> have put
> > > the cxf-2.6.2.jar file in the org/apache/cxf/main folder and done the
> > > entries in the module.xml as advised by him. I have also put the Spring
> > > framework JARs after creating the springframework/main folder as
> advised by
> > > him and created the entries in the module.xml there. However, I'm
> getting
> > > the following error message:
> > >
> > > Could not configure component org.apache.cxf.wsn.client.Publisher
> > >
> > > Caused by:
> org.jboss.as.server.deployment.DeploymentUnitProcessingException:
> > > JBA
> > > S011054: Could not find default constructor for class
> > > org.apache.cxf.wsn.client.
> > > Publisher
> > >
> > > "WebService.war".INSTALL: org.jboss.msc.service.StartException in
> service
> > > jboss.deployment.unit."WebService.war".INSTALL: Failed to process phase
> > > INSTALL of deployment "WebService.war"
> > >
> > > Do I need to also deploy the other CXF JARs from the 2.6.2 bundle and
> create
> > > entries for them in the module.xml?
> > >
> > > I haven't made any changes to the jboss-deployment-structure XML yet -
> is
> > > that mandatory for CXF to work?
> > >
> > >
> > >
> > > --
> > > View this message in context:
> http://cxf.547215.n5.nabble.com/CXF-2-6-2-in-JBoss-7-1-1-tp5730368.html
> > > Sent from the cxf-user mailing list archive at Nabble.com (
> http://Nabble.com).
> >
>
>
>
>

Reply via email to