l whoami

Greenhorn
+ Follow
since Jun 28, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by l whoami

Sa Ali wrote: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---------------------




I have the same problem when I integrate acegi and cas-server.....
13 years ago