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. When i run the program,Iam getting this

View Tutorial          By: anitha at 2008-12-17 21:37:36

2. Could you please explain how to define our own val
View Tutorial          By: xxxxx at 2010-06-30 06:41:14

3. There is another similar discussion on use of tern
View Tutorial          By: Syed Mamun Raihan at 2008-09-10 11:29:42

4. hello, this code was compiled correctly, bt it wil
View Tutorial          By: anand vijay singh at 2014-05-03 12:47:24

5. Hi
I can compile it
root$ javac -cp

View Tutorial          By: Tebogo Modiselle at 2014-10-31 08:47:09

6. I got the sample and the test working. Thanks a lo
View Tutorial          By: Trishul at 2009-10-26 07:32:57

7. sir, could you please tell me about minimum and ma
View Tutorial          By: priya dwivedi at 2012-01-04 15:01:03

8. please help me to do find a push and pop operation
View Tutorial          By: sweet mae at 2011-01-14 00:01:33

9. there will be a semi-colon(;) after Emiley J and j
View Tutorial          By: Manojit at 2010-02-21 01:37:47

10. Exception in thread "main" java.lang.NoC
View Tutorial          By: RobustTm at 2008-12-18 23:19:46