Hi, 
I am using xfire in a  Java program on unix. when i was invoking this
program that invoke a webservice , I had an exception of this type:

Failed to invoke end componentFailed to do invoke for operation
queryProviderSearchjavax.ejb.EJBException: EJB Exception: :
java.lang.NoClassDefFoundError at
javax.crypto.Cipher.getInstance(DashoA12275) at
org.apache.xml.security.encryption.XMLCipher.getInstance(Unknown Source) at
org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:409)
at
org.apache.ws.security.message.WSSecEncrypt.encryptForExternalRef(WSSecEncrypt.java:357)
at
com.emergis.common.api.RxEncryptionOutHandler.invoke(RxEncryptionOutHandler.java:112)
at
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79) at
org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114) at 


I resolve this issue by modifying my
/export/home/weblogic/bea/jdk150_04/jre/lib/security/sunpkcs11-solaris.cfg 
file like this:

#library = /usr/lib/$ISA/libpkcs11.so
library = /usr/lib/sparcv9/libpkcs11.so



but now, when the code is executed in an EJB in weblogic, I got the same
stack trace as above.
Can somebody help me please!!!!


-- 
View this message in context: 
http://www.nabble.com/XFire-and-WebLogic-EJB-tp15550826p15550826.html
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to