Couple options:
1) find a different saaj implementation that works on the IBM jdks.
(good luck)
2) Grab the sun jaxp jar from:
http://download.java.net/maven/1/com.sun.xml.parsers/jars/
and somehow get that added to the classloader that is also grabbing
the saaj-impl jar. Since it's a jaxp thing, it MIGHT need to go into
endorsed. Not really sure though.
3) Use the maven shade plugin or asm or jarjar or something have it
mangle all references in saaj-impl.jar to
com.sun.org.apache.xerces.internal.* to just org.apache.xerces.internal.
(2) is probably the easiest.
D
On May 27, 2008, at 5:16 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
Hi guys
I am trying out some of the security features (ssaj, wss4j, etc..).
Now my test application/client works just fine on tomcat with jdk 1.5,
how ever when I deploy it on WebSphere I get the following error.
java.lang.NoClassDefFoundError:
com.sun.org.apache.xerces.internal.dom.DocumentImpl
Obviously IBM is using its own jdk 1.5 and the above class is not
included.
I have tried to do a work around by extracting the package structure
from sun jdk1.5 and created my own jar file.
I than included this jar in my application but this did not change
anything.:-(
So I was wondering if anyone out there can give me a tip on how I can
over come this.
The application otherwise without security also works fine on IBM
WebSphere.
Best Regards
Tezcan
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog