| Author |
How to make my web-application use a later version of a lib(Jdom) without affecting ot
|
|
|
| Gurus,
Our Env
App Server : 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
| |
|
|
|
| Many Thanks Ben
Have tried in my local server and it workd fine.
Rgds
Rohit
| |
|
| Did you put your jar in Shared library and change settings for class loader? What exact steps you took?
|
|
|
|