Re: [Resteasy-users] ClassLoading error follwoing upgrade from RestEasy 2.3.2 to 2.3.5 in JBoss AS7.1
Well, I didn't do anything other than add it in the module.xml file as a dependencies section. Not sure if that means I exported it or not, sorry. Thanks for RestEasy btw, it's a great framework. James. -- 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! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users
Re: [Resteasy-users] ClassLoading error follwoing upgrade from RestEasy 2.3.2 to 2.3.5 in JBoss AS7.1
Ok, i've created a jira for this so that future versions of the patcher will set up the module dependencies correctly. On 11/20/2012 11:56 AM, Bill Burke wrote: > Did you have to export it? > > On 11/20/2012 11:04 AM, James Fellows wrote: >>> >>> 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 >>> http://bill.burkecentral.com >>> >>> >> >> Adding commons io to module.xml (for resteasy-jasxrs) appears to have >> done the trick. >> >> Thanks for the response, >> James. >> >> -- >> 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! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> ___ >> 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 -- 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! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users
Re: [Resteasy-users] ClassLoading error follwoing upgrade from RestEasy 2.3.2 to 2.3.5 in JBoss AS7.1
Did you have to export it? On 11/20/2012 11:04 AM, James Fellows wrote: >> >> 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 >> http://bill.burkecentral.com >> >> > > Adding commons io to module.xml (for resteasy-jasxrs) appears to have > done the trick. > > Thanks for the response, > James. > > -- > 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! > http://p.sf.net/sfu/zoho_dev2dev_nov > ___ > 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 -- 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! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users
Re: [Resteasy-users] ClassLoading error follwoing upgrade from RestEasy 2.3.2 to 2.3.5 in JBoss AS7.1
> > 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 > http://bill.burkecentral.com > > Adding commons io to module.xml (for resteasy-jasxrs) appears to have done the trick. Thanks for the response, James. -- 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! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users
Re: [Resteasy-users] ClassLoading error follwoing upgrade from RestEasy 2.3.2 to 2.3.5 in JBoss AS7.1
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 http://bill.burkecentral.com -- 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! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users