Hi. Did you find a solution for this? If yes, then kindly post it.
If not ...
Ok. Hold on a second ...
How come you are using an IBM VM with Weblogic? Are the target UAT and PROD environments running AIX or something? And does
this describe your issue? Anyway, some ideas for you to try out:
1. This may not be possible in your case ... but is it an option to install and run the Sun JRE with Weblogic?
2. In your case, you are developing using Axis2 which requires 1.5, but deploying in 1.4. Usually, you develop using the target JRE if possible to avoid such last minute issues ... blah blah but you knew that.
Anyway, to resolve such jar conflicts, one common approach is to use parent class loading. Please see this related
Weblogic document. Basically, the idea is to include your desired jars in your application's lib folder, and then have the server (Weblogic, Websphere App Server, etc.) first check your jars to resolve classes before it looks for them in the JRE jars. So you can go to
findJar, search for jars containing org.w3c.dom.Element, see which of those jars is used by your app during development, and then include that jar in your lib path (package it with your application) if its not already there. If its already included, then that is good. But you need to ensure in the Weblogic settings that for your particular web application, it searches your application's libraries first before it looks in IBM VM's libraries. That should take care of it.
Please try it out if you still have the issue. I have done this with success in other servers, but not Weblogic, but its a standard strategy and should work out.
Best of luck!