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



Ask a Question

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. sir,
my project is in asp.net so is ther

View Tutorial          By: mohsin at 2011-04-14 06:25:59

2. sir can you write the sample proram of this:

View Tutorial          By: bryan labastida at 2011-06-29 02:53:14

3. Sir. Please give an example which is small and und
View Tutorial          By: mogesie gedamu at 2011-12-19 12:55:33

4. /** Example shows garbage collector in action

View Tutorial          By: sreekar at 2010-05-08 07:58:09

5. The coding which is given is easy to understand bu
View Tutorial          By: Chandra Sekhar Bodireddy at 2013-03-08 06:02:17

6. Whne i run this code ,it does not return any ports
View Tutorial          By: amit at 2009-06-10 02:11:13

7. i want my program to allow more than one trainee&a
View Tutorial          By: carl at 2011-01-30 22:21:21

8. its very helpful and understandable.thanq
View Tutorial          By: Deepika darapaneni at 2012-03-24 14:16:39

9. the spinner example is very nice...
View Tutorial          By: narendra at 2011-11-23 11:16:47

10. I agree with BHAGYALAXMI. I faced the same problem
View Tutorial          By: Alok at 2010-01-10 12:03:37