Alberto, I was getting similar message when I first
used it. Most probably you are getting this because it is not finding your keystore. Look into crypto.properties
file and the property: org.apache.ws.security.crypto.merlin.file=server.keystore You should change the value to the proper
directory so that it can be picked from inside the Tomact.
What directory under Tomcat do you have the keystore?
May be that will help me find solution to your problem. Sanjesh -----Original Message----- Dear colleagues, I'd like to introduce myself. I'm
Alberto from Spain. I'm testing the new wss4j project under Tomcat, but I
get to the same error as Kazuo Miyamoto (althought he was working with a web
services provider) at one particular point. When I execute the signing and
encrypting functions (for SOAP messages) outside tomcat and axis, there's no
problem, I can add signature and encryption to them. The problem comes when I
have to make the same steps as an axis handler (it's already implemented, so
someone must have made it work :) ). The
"java.lang.reflect.InvocationTargetException" exception happens
exactly here: "crypto = (Crypto) c.newInstance(new
Object[]{properties});" inside CryptoFactory.java As I've said, If I follow the same
stepts outside tomcat I get no exception. Could anyone help with this? Sorry for my poor English and thank
you very much. Un saludo,
|
- Problems with ENCRYPTION and SIGNING Alberto Muñoz Gallego
- [WSS4J] (Re: Problems with ENCRYPTION and SIGNI... Davanum Srinivas
- Re: Problems with ENCRYPTION and SIGNING Sanjesh Pathak
- Re: Problems with ENCRYPTION and SIGNING Alberto Muñoz Gallego
- Re: Problems with ENCRYPTION and SIGNIN... Davanum Srinivas