Hi all,

I have a lot of trouble to configure TBL to send emails via a SparqlMotion 
script.

When I run the script, I get the following error message (see attached file 
for complete log):

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


According to a previous post on this forum, I have installed the security 
certificate (or so I think...) following the steps described in this article: 
http://www.webapper.com/blog/index.php/2007/02/09/troubleshooting-javaxnetsslsslhandshakeexception/


Unfortunately, I am still getting the same error message...


Also, according to our Exchange Server administrator, the certificate should 
not be required since access to Exchange on port 25 does not enforce SSL...


Any idea how I could troubleshoot this issue?


Many thanks in advance.


Cheers,

Stéphane VARIN

OECD


-- 
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
!ENTRY org.topbraidlive.sparqlmotion 1 0 2013-12-09 14:05:56.278
!MESSAGE Starting SparqlMotion script SendEmail

!ENTRY org.topbraidlive.server 1 0 2013-12-09 14:05:56.278
!MESSAGE Related info: path=/tbl user=varin_s

!ENTRY org.topbraid.eclipsex 1 800 2013-12-09 14:05:56.325
!MESSAGE Dec 09, 2013 2:05:56 PM 
org.topbraid.spin.sparqlmotion.var.SMStringInsertions apply
INFO: SMStringInsertions: Unknown var: subject
        Original input string: email successfully sent : {?subject}


!ENTRY org.topbraidlive.sparqlmotion 1 0 2013-12-09 14:05:56.325
!MESSAGE Finished SparqlMotion script 
http://kim.oecd.org/services/TestEmailWS#SendEmail

!ENTRY org.topbraidlive.server 1 0 2013-12-09 14:05:56.325
!MESSAGE Related info: path=/tbl user=varin_s

!ENTRY org.topbraid.email 4 0 2013-12-09 14:05:56.450
!MESSAGE Failed to send email
!STACK 0
javax.mail.MessagingException: Can't send command to SMTP host;
  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
        at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1564)
        at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1551)
        at com.sun.mail.smtp.SMTPTransport.ehlo(SMTPTransport.java:935)
        at 
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:426)
        at javax.mail.Service.connect(Service.java:288)
        at javax.mail.Service.connect(Service.java:169)
        at javax.mail.Service.connect(Service.java:118)
        at 
org.topbraid.email.sm.SendEMailsModule.doSendMessages(SendEMailsModule.java:189)
        at 
org.topbraid.email.sm.SendEMailsModule$1.run(SendEMailsModule.java:83)
        at java.lang.Thread.run(Unknown Source)
Caused by: 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
        at sun.security.ssl.Alerts.getSSLException(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
        at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
        at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
        at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
        at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
        at sun.security.ssl.Handshaker.processLoop(Unknown Source)
        at sun.security.ssl.Handshaker.process_record(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown 
Source)
        at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
        at sun.security.ssl.AppOutputStream.write(Unknown Source)
        at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:114)
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
        at java.io.BufferedOutputStream.flush(Unknown Source)
        at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1562)
        ... 9 more
Caused by: sun.security.validator.ValidatorException: PKIX path building 
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
        at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
        at sun.security.validator.Validator.validate(Unknown Source)
        at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
        at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
        at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown 
Source)
        ... 21 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target
        at 
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
        at java.security.cert.CertPathBuilder.build(Unknown Source)
        ... 27 more
 
                 
        
© Copyright 2009 TopQuadrant, Inc., All Rights Reserved

Reply via email to