hi to all,
i have a send mail program in
jsf. it is working fine from command prompt. however, when i run this in Jdeveloper 11g
"the trustAnchors parameter must be non-empty" error is coming. i know this is because
java couldnot locate 'TrustStore'. but how i resolve this don't know. can anyone help me?
or it is because of some other reason? if yes, how to resolve it?
i am using jdk 6 update 16 & weblogic server 11g(10.3.2).
C:\Middleware11g2\jdk160_14_R27.6.5-32\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\MyTestApp\classes;C:\JDeveloper\mywork\WorkFlow\javamail-1.4.3\javamail-1.4.3\mail.jar "-Djavax.net.ssl.trustStore=D:\Middleware11g 2\wlserver_10.3\server\lib\DemoTrust.jks" com.company.jsf.TestSmtp
javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty.
----source code---------------------