Reputation: 31
We are using JBoss AS 6.1.0.Final which comes with Resteasy 2.2.1.GA by default. However, I've been tasked to use Resteasy 2.3.2. What is the proper way to upgrade Resteasy in JBoss? I haven't been able to locate decent procedures on how to do so.
If it cannot be upgraded, how can I ensure my application uses Resteasy 2.3.2 JARs? Simply by placing them in my app's lib directory?
Thanks in advance!
Upvotes: 3
Views: 1130
Reputation: 91
I just updated JBoss AS 6.1.0.Final to RestEasy 2.3.3 by doing the following:
I deleted all jar files under "jboss-6.1.0.Final/server/default/deployers/resteasy.deployer", except for "jboss-as-resteasy-6.1.0.Final.jar"
I downloaded RestEasy from sourceforge.net and unpacked the zip file
I copied all jar files from "resteasy-jaxrs-2.3.3.Final/lib" to "jboss-6.1.0.Final/server/default/deployers/resteasy.deployer"
Do note that the Apache Commons libraries are older in the RESTeasy 2.3.4 (and subsequently in 2.3.3) than the ones packaged in JBoss 6.1.0GA. It's worth considering leaving those as is; ie. not downgrading them.
Upvotes: 3