Comment on Tutorial - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target By Ramlak



Comment Added by : vignesh

Comment Added at : 2015-03-25 17:14:58

Comment on Tutorial : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target By Ramlak
hi i unable to retrive am getting below exception while sending email from my server.

But above solution i tried in browser .when paste my URL in IE Browser .am not getting any dialog box warning .what i have to do.Otherwise any other way is there for getting certificate.Please Help me

This is My project URL: http://localhost:7070/spring-mvc-annotation3-220215/

javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Hibernate: select customerlo0_.CUSTACCNUM_ID as CUSTACCN1_0_, customerlo0_.firstName as firstNam2_0_, customerlo0_.lastName as lastName3_0_, customerlo0_.email as email4_0_, customerlo0_.address as address5_0_, customerlo0_.userName as userName6_0_, customerlo0_.password as password7_0_, customerlo0_.registerEmail as register8_0_ from CUS_REG_MVC customerlo0_ where customerlo0_.registerEmail='No'
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at com.spring.mvc.thread.EmailThread.sendPartialEmail(EmailThread.java:81)
at com.spring.mvc.thread.EmailThread.executionProcess(EmailThread.java:45)
at com.spring.mvc.thread.EmailThread.run(EmailThread.java:25)


View Tutorial



Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. your second last example in above code (Character
View Tutorial          By: jyoti at 2011-11-06 17:01:19

2. hi gud mrng........
i wanna connectivity of

View Tutorial          By: sac at 2011-09-02 04:56:43

3. I tried to create an object on my 6th code but i a
View Tutorial          By: AARON VICUÑA at 2009-03-24 05:20:24

4. plz any one send me the code for sending and recei
View Tutorial          By: ankush at 2013-09-20 07:47:27

5. everything is easy to learn from your website.I un
View Tutorial          By: sumitra barua at 2012-05-30 03:13:10

6. Thanks a lot!!!

Its very useful exp

View Tutorial          By: dipali at 2012-12-31 06:49:41

7. thanks alot!
View Tutorial          By: gumuruh at 2010-11-06 11:27:18

8. good but you don't express the programs examples
View Tutorial          By: anchal at 2010-09-29 02:40:02

9. Its a nice article obviously. Can you put somethin
View Tutorial          By: kowser at 2009-10-06 23:44:52

10. Hi,
I want to run a bat file, below are the

View Tutorial          By: Rajshekar at 2011-10-28 06:07:06