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



Subscribe to Tutorials

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. Dude, that LOOP wont work i cant even understand w
View Tutorial          By: Rohan at 2012-02-16 17:04:06

2. i get error like this :
The requested resou

View Tutorial          By: Vera Yunita at 2013-05-20 03:57:18

3. Dear Friends, I get the following exception...

View Tutorial          By: NT.Jay at 2011-10-06 05:33:09

4. Hi wei long, did you download all the five program
View Tutorial          By: Ramlak at 2008-06-23 03:26:31

5. Nice Explanation
View Tutorial          By: sam at 2010-11-24 02:23:57

6. thank you...as a beginner this info very useful fo
View Tutorial          By: snigdha at 2012-10-17 11:41:39

7. Thanks friend this code will really help me

View Tutorial          By: Anonymous at 2009-05-04 20:16:58

8. But the above code is not working, when we send SM
View Tutorial          By: SenthilPandi ChandraSekaran at 2011-06-08 07:22:31

9. good
View Tutorial          By: yeoh at 2009-04-18 21:32:36

10. it giving me error in following statment (using wi
View Tutorial          By: prathamesh at 2007-03-16 05:57:20