Can you replace the old httpclient that JBoss has? I haven't tried this but if existing interfaces that JBoss uses have not changed, then you might be ok.
I can do this and it works..., but it kind of kills my clean JBoss installation. I'm just wondering if there is a better way to do this.
I think this is general problem. If I want to use later versions of a library than the JBoss app level lib, what is the proper thing to do?
Thanks for your response,
Oh. In that case, have you tried switching off the Java2 classloading compliance in the web container's jboss-service.xml?
Due to some apparent confusion between the Java 2 spec and the Servlet spec about delegating class loading. However, I'm not sure if it will work as the httpclient library is a system library. You could give it a try.
I'm having the same problem. I tried switching the Java2ClassLoadingCompliance attribute, but that didn't seem to help.
Anyone have a nice solution for this?
Sorry to drag this issue out from the depths of nowhere, but three years later, I'm still having the exact same problem.... any ideas on how to handle this?