Hi,
Thanks Asankha for your help , when I test on Linux environment it worked
fine ,so I think  it's was a path problem  with Windows environment.

Thanks ,

On Thu, Nov 6, 2008 at 7:34 AM, Asankha C. Perera <[EMAIL PROTECTED]>wrote:

> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

Reply via email to