On 11/20/2012 6:55 AM, James Fellows wrote:
> Hi
> I may be mistaken but I believe I've found an issue on patching JBoss
> AS7.1 from RestEasy 2.3.2 to 2.3.5.  Specifically, a
> NoClassDefFoundError on
> org/apache/commons/io/output/DeferredFileOutputStream (when I use an
> ApacheHttpClient4Executor in my code to manipulate the headers before
> sending the REST request).  We do not include the RESTEasy client in
> our war file - as far as I can tell, it used-to "just work".
> I downloaded the zip from sourceforge, removed the old
> modules/org/jboss/resteasy directory from jboss and unpacked the new
> one from the JBoss zip into its place.  Having done so I am now
> getting a stack trace (pasted at the end of this message), apparently
> caused by a "lost" dependency on commons-io.
> I upgraded from 2.3.2 to 2.3.5 because we need fix #RESTEASY-485 - our
> Form parameters on PUT requests are being lost because we've had to
> add a random QueryParam to prevent IE from caching the AJAX responses.
> I have checked the module.xml file from before and after the upgrade
> and can't see any differences - in particular, it doesn't appear that
> a dependency was previously declared on commons-io, so I'm not sure
> how it used to work.  I will try adding a dependency in on commons-io
> in the resteasy-jaxrs/main/module.xml and see if that fixes it -
> otherwise I'm rather stumped.

You might have to export AC4 + commons from the resteasy module.  But 
adding the commons-io dependency might work too.  Let me know how it 
goes, and I'll update the patcher.

Bill Burke
JBoss, a division of Red Hat

Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
Resteasy-users mailing list

Reply via email to