tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goel, Rajesh" <rag...@ipolicynetworks.com>
Subject Getting the 'PKIX path building failed' exception with java help over HTTPS
Date Tue, 04 Aug 2009 11:38:56 GMT

Getting the following exception (PKIX path building failed) when running
the java help server side demo over the Https.

 

The Environment is:

 

Java Help version: 2.05

Java Version: 1.5.0_19-b02, mixed mode, sharing)

Tomcat Version: 6.x (have tried on 5.5.x, it is also not working on it)

Using the following connector in server.xml:

            <Connector
protocol="org.apache.coyote.http11.Http11NioProtocol"

           port="8443" minSpareThreads="5" maxSpareThreads="75"

           enableLookups="true" disableUploadTimeout="true" 

           acceptCount="100"  maxThreads="200"

           scheme="https" secure="true" SSLEnabled="true"

           keystoreFile="${user.home}/.keystore" keystorePass="changeit"

           clientAuth="false" sslProtocol="TLS"/>

 

 

 

HTTP Status 500 - 

 

------------------------------------------------------------------------
--------

 

type Exception report

 

message 

 

description The server encountered an internal error () that prevented
it from fulfilling this request.

 

exception 

 

org.apache.jasper.JasperException: java.lang.RuntimeException: Could not
parse

Got an IOException (sun.security.validator.ValidatorException: PKIX path
building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target)

Parsing failed for null

 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServle
tWrapper.java:522)

 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:416)

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)

 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

            javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

 

 

root cause 

 

java.lang.RuntimeException: Could not parse

Got an IOException (sun.security.validator.ValidatorException: PKIX path
building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target)

Parsing failed for null

 
javax.help.tagext.ValidateTag.createHelpSet(ValidateTag.java:155)

 
javax.help.tagext.ValidateTag.validateHelpSet(ValidateTag.java:123)

 
javax.help.tagext.ValidateTag.doStartTag(ValidateTag.java:82)

            org.apache.jsp.index_jsp._jspService(index_jsp.java:87)

 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:374)

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)

 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

            javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

 

 

note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.20 logs.

 

 

Thanks & Regards,

 

Rajesh Goel | iPolicy Networks | Tech Mahindra

Tel: Office: +91-120-256-7001 | Extn: 1216

Email: ragoel@iPolicyNetworks.com

 



"DISCLAIMER: 
This message is proprietary to iPolicy Networks-Security Products division of Tech Mahindra
Limited and is intended solely for the use of the individuals to whom it is addressed. It
may contain privileged or confidential information and should not be circulated or used for
any purpose other than for what is intended. If you have received this message in error, please
notify the originator immediately. If you are not the intended recipient, you are notified
that you are strictly prohibited from using, copying, altering, or disclosing the contents
of this message. iPolicy Networks-Security Products division of Tech Mahindra Limited accepts
no responsibility for loss or damage arising from the use of the information transmitted by
this email including damage from virus."
Mime
View raw message