You may be able to just delete the resteasy.deployer directory and just include resteasy jars in your war. I don't know, i haven't look at this stuff in 5+ years.
On 8/20/2013 2:44 PM, Daniel Kirkdorffer wrote: > So I guess my question is: to use a specific version of RESTEasy in > JBoss AS 6 am I supposed to download it and replace the files within > \jboss-6.1.0.Final\server\default\deployers\resteasy.deployer with the > libraries in the download? > > Because I still have errors just trying to use 2.3.7.Final JARs with > jboss-6.1.0.Final which appears to include v2.2.1.GA versions of RESTEasy: > > [Loaded javax.ws.rs.core.MediaType from > vfs:/C:/Java/jboss-6.1.0.Final/server/default/deployers/resteasy.deployer/jaxrs-api-2.2.1.GA.jar/] > [Loaded javax.ws.rs.core.MediaType from > vfs:/C:/Java/jboss-6.1.0.Final/server/default/deployers/resteasy.deployer/jaxrs-api-2.2.1.GA.jar/] > 11:31:04,413 WARN [ClassLoaderManager] Unexpected error during load > of:javax.ws.rs.core.MediaType: java.lang.LinkageError: loader constraint > violation: loader (instance of > org/jboss/classloader/spi/base/BaseClassLoader) previously initiated > loading for a different type with name "javax/ws/rs/core/MediaType" > at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_31] > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) > [:1.6.0_31] > at java.lang.ClassLoader.defineClass(ClassLoader.java:615) > [:1.6.0_31] > > Or should just completely remove the > \jboss-6.1.0.Final\server\default\deployers\resteasy.deployer folder? > > Dan > > --- > /Daniel Kirkdorffer/ > /danki...@comcast.net/ <mailto:danki...@comcast.net> > > ------------------------------------------------------------------------ > *From: *"Daniel Kirkdorffer" <danki...@comcast.net> > *To: *"Bill Burke" <bbu...@redhat.com>, resteasy-users@lists.sourceforge.net > *Sent: *Monday, August 19, 2013 2:01:30 PM > *Subject: *Re: [Resteasy-users] RESTEasy 3.x with JBoss AS 6.x > > Hi Bill, > > I've got a version that I can run in Tomcat, so I'm trying to figure out > how to adjust it to run in JBoss AS 6, which is ultimately where I need > it to run. It isn't clear to me what I need to do though. > Documentation just says to use an empty web.xml, but I need it for > advance config. I'm using Maven so, what should my WAR include? How do > I get JBoss to use JAX-RS 2.0 libraries? > > Thanks, > > Dan > > --- > /Daniel Kirkdorffer/ > /danki...@comcast.net/ <mailto:danki...@comcast.net> > > ------------------------------------------------------------------------ > *From: *"Bill Burke" <bbu...@redhat.com> > *To: *resteasy-users@lists.sourceforge.net > *Sent: *Monday, August 19, 2013 1:49:55 PM > *Subject: *Re: [Resteasy-users] RESTEasy 3.x with JBoss AS 6.x > > Resteasy 3 should work. What is your problem? > > On 8/19/2013 4:36 PM, Daniel Kirkdorffer wrote: > > I'm trying to determine how to get a JAX-RS 2.0 RESTEasy based web > > service (within a WAR) configured for deployment on JBoss AS 6, but I'm > > having trouble finding information about how to do so. > > > > Is this a supported configuration, or do I have to use JAX-RS 1.x if I'm > > running against JBoss AS 6? > > > > Any help would be appreciated. > > > > Thanks, > > > > Dan > > > > --- > > /Daniel Kirkdorffer/ > > /danki...@comcast.net/ <mailto:danki...@comcast.net> > > > > > > > > > ------------------------------------------------------------------------------ > > Introducing Performance Central, a new site from SourceForge and > > AppDynamics. Performance Central is your source for news, insights, > > analysis and resources for efficient Application Performance Management. > > Visit us today! > > > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > > > > > > > > _______________________________________________ > > Resteasy-users mailing list > > Resteasy-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/resteasy-users > > > > -- > Bill Burke > JBoss, a division of Red Hat > http://bill.burkecentral.com > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Resteasy-users mailing list > Resteasy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/resteasy-users -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users