From: Alain B. <alb...@gm...> - 2014-07-28 08:58:19
|
Thanks for your answer, I'm actually digging into the Geronimo plan xml differents elements(inverse-classloading, hidden-classes etc...) to understand better and do what really should be done. Up to now we were just copy and paste some xml without understanding what we were doing... I guess this problem had been hit by a lot of people. 2014-07-27 19:08 GMT+02:00 Ashutosh Sharma <ash...@gm...>: > I faced the same issues in htmlunit-2.14 when deploying my application in > IBM WAS8.0.0.8. > My problem was like that: > 1) htmunit - 2.14 uses apache http client 4.3.2 > 2) IBM WAS 8.x packages lower version of apache http client JAR. > 3) At runtime - it was IBM's JAR that was getting picked up and not the > htmlunit-2.14's(apache httpclient -4.3.2) and we were getting all sort of > errors - like NoSuchMethod found kind of errors which happens when > webclient is being used in the program. > 4) We used PARENT CLASS LOADER order feature in the WAS console to load > the htmlunit's JAR before the IBM's WAS8.x packaged JAR and fixed this > issue. > > For JBoss and other container - you have to do something like that. > > > On Sun, Jul 27, 2014 at 11:54 AM, Alain BUFERNE <alb...@gm...> > wrote: > >> I'm very far to be sure of not saying a completely silly thing but anyay >> let's go: >> I need to use htmlunit on an web application which is deployed on Apache >> Geronimo. I got server errors which I think are coming from the fact >> that the version of httcore jar used in different places with Geronimo >> is still 4.0.1 and htmlunit is using a far more recent one. Is this >> could be solveorshould I use some work around like "jarjar". >> Regards >> Alain >> >> --- >> Ce courrier électronique ne contient aucun virus ou logiciel malveillant >> parce que la protection avast! Antivirus est active. >> http://www.avast.com >> >> >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> Htmlunit-user mailing list >> Htm...@li... >> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> > > > > -- > With best Regards: > Ashutosh Sharma > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |