Alberto, Sanjesh,

You comments on WSS4J are most welcome on the wss4j-devel mailing lists
(http://sourceforge.net/mail/?group_id=81168)

Thanks,
dims

--- Alberto_Mu�oz_Gallego <[EMAIL PROTECTED]> wrote:
> Thanks, that was the problem.
>   ----- Original Message ----- 
>   From: Sanjesh Pathak 
>   To: [EMAIL PROTECTED] 
>   Sent: Tuesday, November 18, 2003 10:10 AM
>   Subject: RE: Problems with ENCRYPTION and SIGNING
> 
> 
>   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-----
>   From: Alberto Mu�oz Gallego [mailto:[EMAIL PROTECTED] 
>   Sent: Monday, November 17, 2003 5:53 AM
>   To: [EMAIL PROTECTED]
>   Subject: Problems with ENCRYPTION and SIGNING
> 
>    
> 
>    
> 
>   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,
>   Alberto.
> 
>    
> 
> 
>   --------------------------------------------------------------
>   Alberto Mu�oz Gallego
>   [EMAIL PROTECTED]
>   Tfno.: (9833) 67826
>   Telef�nica I+D Boecillo (Valladolid)
>   --------------------------------------------------------------
> 
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

Reply via email to