WebSphere HTTP Server - How to make my web-application use a later version of a lib(Jdom) without affecting ot

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere HTTP Server > December 2005 > How to make my web-application use a later version of a lib(Jdom) without affecting ot





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to make my web-application use a later version of a lib(Jdom) without affecting ot

2005-12-22, 8:52 pm

Gurus,

Our Env : WebSphere 5.1
OS : Win/Aix

For our web appliction we need to use latest JDOM ver 1.0. Websphere 5.1 bundles JDom (beta7) which has lesser functionality than what we need.

Websphere is in production mode with lot of other applications running on it and we do not wish to change any of the existing setting of Websphere cluster.

My requirement is to enable only my application to use JDOM 1.0 and rest use Jdom supplied with websphere. I had tried to bundle the lib in .war file(web/WEB-INF/lib/jdom.jar) but it does not pick WebApp lib rather picks one supplied by Websphere.

I also tried to do setting for my web-app with classloader PARENT_LAST but it also does not work.

I am sure there would be a elegant solution to this problem but I could not found one.

If you have solved this issue then please help me.


Best Regards
Rohit

2005-12-22, 8:52 pm

Opps Wrong place. Moving it to WebSphere app server.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com