axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Re: [Rampart] trustAnchors parameter must be non-empty Exception - when invoking client
Date Thu, 06 Nov 2008 02:04:56 GMT
Sagara
> I have exposed a web service on SSL enabled Tomcat server , I 
> generated client code with WSDL2JAVA , When i call the service i 
> greeting above exception , my client code and error trace are listed 
> below .
> later i tried with adding     
> System.setProperty("javax.net.ssl.trustStoreType", "JKS");  but again 
> end up with same exception ,
>
> ....
>
>         System.setProperty("javax.net.ssl.trustStore", repoPath + 
> "server.jks");
>         System.setProperty("javax.net.ssl.trustStorePassword", 
> "password");

> Exception in thread "main" org.apache.axis2.AxisFault: 
> java.lang.RuntimeException: Unexpected error: 
> java.security.InvalidAlgorithmParameterException: the trustAnchors 
> parameter must be non-empty
Make sure you point to a full real (non-relative) path for the cert 
store [http://forums.sun.com/thread.jspa?threadID=580496&tstart=120]

asankha

-- 
Asankha C. Perera
http://adroitlogic.org

http://esbmagic.blogspot.com


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message