remove AHC from your war, modify the 
modules/org/jboss/resteasy/resteasy-jaxrs/main/modules.xml file.  Modify 
the httpcomponents dependency:

         <module name="org.apache.httpcomponents" export="true"/>

Future versions of Jboss and Wildfly will have this setting.

On 7/11/2013 5:46 AM, Matthias Wessendorf wrote:
> Hi All,
> I've got an application
> https://github.com/aerogear/aerogear-push-quickstart-backend/tree/AGPUSH-154
> that is using a dependency that can find here
> https://github.com/aerogear/aerogear-unified-push-java-client . The
> latest relies on Resteasy Client bits.
>
> It has been working weel, as long I did not use the httpClient bits. But
> we are adding some basic security stuff and we are using the
> ApacheHttpClient4Executor , see
> https://github.com/aerogear/aerogear-unified-push-java-client/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/resteasy/RestEasyClient.java#L83
>
> But now I'm getting a linkage error exception, see stacktrace here :
> https://gist.github.com/sebastienblanc/5973915
>
> Putting the scope to provided does not help as I ended with class not
> found exception on httpclient bits (The Credentail class)
>
> By googling I found this http://stackoverflow.com/a/10800898 but this is
> not really acceptable as solution.
>
> Do you have any other tips ?
> Thanks,
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&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

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to