Hi,
 
I know this has been covered in the past, but i have a service that engages
rahas and rampart running under Tomcat 5.5. It has a PWCallback class
to check and validate passwords and other stuff. I get NoClassDefFoundError
when I hit the service with WSPasswordCallback missing (it is used inside my 
PWCallback
class. If I add the wss4j to the service.aar/lib folder, then the PWCallback 
stops
working - the if (callbacks[i] instance of WSPasswordCallback) is alsways false
even though the eclipse debugger is showing they are the same class. The only
way to get this working is by copying all the wss4j related jars into the 
axis2/WEB-INF/lib
directory. It feels like axis2 is having some classloader issues. Is the 
classloader
used to load the service different than the one used to load the modules?
Is there any way to solve this without copying libraries that are already 
available
in the engaged modules into the master library repository? Am I missing 
something?
 
I am using self-built 1.1 tag bits.
 
Thanks!
 
George Stanchev


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please contact the sender by 
reply e-mail and destroy all copies of the original message.

Reply via email to