error al imprimir en mapfishapp

62 views
Skip to first unread message

Maria Elizabeth

unread,
Oct 20, 2016, 12:21:00 PM10/20/16
to georchestra


Hola a todos,

Me ha pasado que tengo un problema al generar los pdf en mapfishapp. Tengo el siguiente reporte: y de antemano gracias por cualquier ayuda.
Saludos






2016-10-20 12:10:46 PDFUtils [ERROR] Server returned an error for http://upload.wikimedia.org/wikipedia/commons/c/ce/Transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-20 12:10:46 PDFUtils [ERROR] Server returned an error for http://upload.wikimedia.org/wikipedia/commons/c/ce/Transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-20 12:10:46 PDFUtils [ERROR] Server returned an error for http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=9000000: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-20 12:10:46 PDFUtils [ERROR] Server returned an error for http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=9000000: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-20 12:10:47 PDFUtils [ERROR] Server returned an error for http://upload.wikimedia.org/wikipedia/commons/c/ce/Transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-20 12:10:47 PDFUtils [ERROR] Server returned an error for http://upload.wikimedia.org/wikipedia/commons/c/ce/Transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-20 12:10:47 BaseMapServlet [ERROR] Error while generating PDF
org.mapfish.print.InvalidValueException: url has an invalid value: http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=9000000
    at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:668)
    at org.mapfish.print.PDFUtils.createImageChunk(PDFUtils.java:656)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createImageChunk(LegendsBlock.java:317)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.getLegendItemTable(LegendsBlock.java:445)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createTableLine(LegendsBlock.java:417)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createLegend(LegendsBlock.java:408)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.render(LegendsBlock.java:191)
    at org.mapfish.print.config.layout.LegendsBlock.render(LegendsBlock.java:112)
    at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:624)
    at org.mapfish.print.PDFUtils.buildTable(PDFUtils.java:609)
    at org.mapfish.print.config.layout.ColumnsBlock$1.render(ColumnsBlock.java:58)
    at org.mapfish.print.PDFCustomBlocks.addAbsoluteDrawer(PDFCustomBlocks.java:183)
    at org.mapfish.print.config.layout.ColumnsBlock.render(ColumnsBlock.java:56)
    at org.mapfish.print.config.layout.Page.render(Page.java:73)
    at org.mapfish.print.config.layout.MainPage.render(MainPage.java:63)
    at org.mapfish.print.config.layout.Layout.render(Layout.java:59)
    at org.mapfish.print.output.AbstractOutputFormat.doPrint(AbstractOutputFormat.java:30)
    at org.mapfish.print.output.PdfOutputFactory.print(PdfOutputFactory.java:58)
    at org.mapfish.print.MapPrinter.print(MapPrinter.java:173)
    at org.mapfish.print.servlet.MapPrinterServlet.doCreatePDFFile(MapPrinterServlet.java:367)
    at org.mapfish.print.servlet.MapPrinterServlet.createPDF(MapPrinterServlet.java:184)
    at org.mapfish.print.servlet.MapPrinterServlet.doPost(MapPrinterServlet.java:112)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
    at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
    at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
    at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
    at java.lang.Thread.run(Thread.java:745)
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(Alerts.java:192)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1914)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1472)
    at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:213)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:913)
    at sun.security.ssl.Handshaker.process_record(Handshaker.java:849)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1033)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1342)
    at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:719)
    at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
    at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at org.mapfish.print.PDFUtils.loadImageFromUrl(PDFUtils.java:267)
    at org.mapfish.print.PDFUtils.handleImageLoadError(PDFUtils.java:367)
    at org.mapfish.print.PDFUtils.loadImageFromUrl(PDFUtils.java:341)
    at org.mapfish.print.PDFUtils.getImageDirect(PDFUtils.java:182)
    at org.mapfish.print.PDFUtils.getImage(PDFUtils.java:102)
    at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:666)
    ... 46 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(PKIXValidator.java:385)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
    at sun.security.validator.Validator.validate(Validator.java:260)
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1454)
    ... 69 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
    ... 75 more
2016-10-20 12:10:47 BaseMapServlet [ERROR] Error while generating PDF
org.mapfish.print.InvalidValueException: url has an invalid value: http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=9000000
    at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:668)
    at org.mapfish.print.PDFUtils.createImageChunk(PDFUtils.java:656)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createImageChunk(LegendsBlock.java:317)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.getLegendItemTable(LegendsBlock.java:445)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createTableLine(LegendsBlock.java:417)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createLegend(LegendsBlock.java:408)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.render(LegendsBlock.java:191)
    at org.mapfish.print.config.layout.LegendsBlock.render(LegendsBlock.java:112)
    at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:624)
    at org.mapfish.print.PDFUtils.buildTable(PDFUtils.java:609)
    at org.mapfish.print.config.layout.ColumnsBlock$1.render(ColumnsBlock.java:58)
    at org.mapfish.print.PDFCustomBlocks.addAbsoluteDrawer(PDFCustomBlocks.java:183)
    at org.mapfish.print.config.layout.ColumnsBlock.render(ColumnsBlock.java:56)
    at org.mapfish.print.config.layout.Page.render(Page.java:73)
    at org.mapfish.print.config.layout.MainPage.render(MainPage.java:63)
    at org.mapfish.print.config.layout.Layout.render(Layout.java:59)
    at org.mapfish.print.output.AbstractOutputFormat.doPrint(AbstractOutputFormat.java:30)
    at org.mapfish.print.output.PdfOutputFactory.print(PdfOutputFactory.java:58)
    at org.mapfish.print.MapPrinter.print(MapPrinter.java:173)
    at org.mapfish.print.servlet.MapPrinterServlet.doCreatePDFFile(MapPrinterServlet.java:367)
    at org.mapfish.print.servlet.MapPrinterServlet.createPDF(MapPrinterServlet.java:184)
    at org.mapfish.print.servlet.MapPrinterServlet.doPost(MapPrinterServlet.java:112)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
    at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
    at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
    at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
    at java.lang.Thread.run(Thread.java:745)
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(Alerts.java:192)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1914)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1472)
    at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:213)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:913)
    at sun.security.ssl.Handshaker.process_record(Handshaker.java:849)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1033)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1342)
    at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:719)
    at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
    at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at org.mapfish.print.PDFUtils.loadImageFromUrl(PDFUtils.java:267)
    at org.mapfish.print.PDFUtils.handleImageLoadError(PDFUtils.java:367)
    at org.mapfish.print.PDFUtils.loadImageFromUrl(PDFUtils.java:341)
    at org.mapfish.print.PDFUtils.getImageDirect(PDFUtils.java:182)
    at org.mapfish.print.PDFUtils.getImage(PDFUtils.java:102)
    at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:666)
    ... 46 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(PKIXValidator.java:385)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
    at sun.security.validator.Validator.validate(Validator.java:260)
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1454)
    ... 69 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)



François Van Der Biest

unread,
Oct 20, 2016, 1:37:53 PM10/20/16
to georchestra
Hi Maria,

(meld is a great tool in linux to spot the differences)

Regards,
F.

--
--
Vous avez reçu ce message, car vous êtes abonné au groupe
Groupe "georchestra" georc...@googlegroups.com
voir http://groups.google.fr/group/georchestra
 
Site web : http://www.georchestra.org

---
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "georchestra".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse georchestra+unsubscribe@googlegroups.com.
Pour obtenir davantage d'options, consultez la page https://groups.google.com/d/optout.

Maria Elizabeth

unread,
Oct 21, 2016, 3:06:14 PM10/21/16
to georchestra
Hola François,
Disculpa, yo he actualizado mi archivo , pero aún esta el error; parece ser un problema con ssl, quizás me falta configurar algún archivo?. Adjunto mi archivo conf.yaml
De antemano gracias.
Saludos

2016-10-21 14:54:35 PDFUtils [ERROR] Server returned an error for https://sdi.georchestra.org/public/transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 14:54:35 PDFUtils [ERROR] Server returned an error for https://sdi.georchestra.org/public/transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 14:54:35 PDFUtils [ERROR] Server returned an error for http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=4367830: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 14:54:35 PDFUtils [ERROR] Server returned an error for http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=4367830: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 14:54:35 PDFUtils [ERROR] Server returned an error for https://sdi.georchestra.org/public/transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 14:54:35 PDFUtils [ERROR] Server returned an error for https://sdi.georchestra.org/public/transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 14:54:35 BaseMapServlet [ERROR] Error while generating PDF
org.mapfish.print.InvalidValueException: url has an invalid value: http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=4367830

    at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:668)
    at org.mapfish.print.PDFUtils.createImageChunk(PDFUtils.java:656)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createImageChunk(LegendsBlock.java:317)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.getLegendItemTable(LegendsBlock.java:445)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createTableLine(LegendsBlock.java:417)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createLegend(LegendsBlock.java:408)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.render(LegendsBlock.java:191)
    at org.mapfish.print.config.layout.LegendsBlock.render(LegendsBlock.java:112)
    at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:624)
    at org.mapfish.print.PDFUtils.buildTable(PDFUtils.java:609)
    at org.mapfish.print.config.layout.ColumnsBlock$1.render(ColumnsBlock.java:58)
    at org.mapfish.print.PDFCustomBlocks.addAbsoluteDrawer(PDFCustomBlocks.java:183)
    at org.mapfish.print.config.layout.ColumnsBlock.render(ColumnsBlock.java:56)
    at org.mapfish.print.config.layout.Page.render(Page.java:73)
    at org.mapfish.print.config.layout.Layout.render(Layout.java:64)
    ... 45 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(PKIXValidator.java:385)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
    at sun.security.validator.Validator.validate(Validator.java:260)
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1454)
    ... 68 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)

    at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:668)
    at org.mapfish.print.PDFUtils.createImageChunk(PDFUtils.java:656)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createImageChunk(LegendsBlock.java:317)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.getLegendItemTable(LegendsBlock.java:445)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createTableLine(LegendsBlock.java:417)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createLegend(LegendsBlock.java:408)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.render(LegendsBlock.java:191)
    at org.mapfish.print.config.layout.LegendsBlock.render(LegendsBlock.java:112)
    at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:624)
    at org.mapfish.print.PDFUtils.buildTable(PDFUtils.java:609)
    at org.mapfish.print.config.layout.ColumnsBlock$1.render(ColumnsBlock.java:58)
    at org.mapfish.print.PDFCustomBlocks.addAbsoluteDrawer(PDFCustomBlocks.java:183)
    at org.mapfish.print.config.layout.ColumnsBlock.render(ColumnsBlock.java:56)
    at org.mapfish.print.config.layout.Page.render(Page.java:73)
    at org.mapfish.print.config.layout.Layout.render(Layout.java:64)
    ... 45 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(PKIXValidator.java:385)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
    at sun.security.validator.Validator.validate(Validator.java:260)
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1454)
    ... 68 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
    ... 74 more
























2016-10-21 10:16:26 PDFUtils [ERROR] Server returned an error for https://sdi.georchestra.org/public/transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 10:16:26 PDFUtils [ERROR] Server returned an error for https://sdi.georchestra.org/public/transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 10:16:26 PDFUtils [ERROR] Server returned an error for http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=4367830: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 10:16:26 PDFUtils [ERROR] Server returned an error for http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=4367830: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 10:16:26 PDFUtils [ERROR] Server returned an error for https://sdi.georchestra.org/public/transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 10:16:26 PDFUtils [ERROR] Server returned an error for https://sdi.georchestra.org/public/transparent.gif: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016-10-21 10:16:26 BaseMapServlet [ERROR] Error while generating PDF
org.mapfish.print.InvalidValueException: url has an invalid value: http://test.geo.gob.bo/raster/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SLD_VERSION=1.0.0&LAYER=mapbox_terrain&FORMAT=image%2Fpng&LEGEND_OPTIONS=forceLabels%3Aon%3BfontAntiAliasing%3Atrue&SCALE=4367830

    at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:668)
    at org.mapfish.print.PDFUtils.createImageChunk(PDFUtils.java:656)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createImageChunk(LegendsBlock.java:317)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.getLegendItemTable(LegendsBlock.java:445)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createTableLine(LegendsBlock.java:417)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createLegend(LegendsBlock.java:408)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.render(LegendsBlock.java:191)
    at org.mapfish.print.config.layout.LegendsBlock.render(LegendsBlock.java:112)
    at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:624)
    at org.mapfish.print.PDFUtils.buildTable(PDFUtils.java:609)
    at org.mapfish.print.config.layout.ColumnsBlock$1.render(ColumnsBlock.java:58)
    at org.mapfish.print.PDFCustomBlocks.addAbsoluteDrawer(PDFCustomBlocks.java:183)
    at org.mapfish.print.config.layout.ColumnsBlock.render(ColumnsBlock.java:56)
    at org.mapfish.print.config.layout.Page.render(Page.java:73)
    at org.mapfish.print.config.layout.Layout.render(Layout.java:64)
    ... 45 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(PKIXValidator.java:385)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
    at sun.security.validator.Validator.validate(Validator.java:260)
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1454)
    ... 68 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)

    at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:668)
    at org.mapfish.print.PDFUtils.createImageChunk(PDFUtils.java:656)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createImageChunk(LegendsBlock.java:317)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.getLegendItemTable(LegendsBlock.java:445)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createTableLine(LegendsBlock.java:417)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.createLegend(LegendsBlock.java:408)
    at org.mapfish.print.config.layout.LegendsBlock$Renderer.render(LegendsBlock.java:191)
    at org.mapfish.print.config.layout.LegendsBlock.render(LegendsBlock.java:112)
    at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:624)
    at org.mapfish.print.PDFUtils.buildTable(PDFUtils.java:609)
    at org.mapfish.print.config.layout.ColumnsBlock$1.render(ColumnsBlock.java:58)
    at org.mapfish.print.PDFCustomBlocks.addAbsoluteDrawer(PDFCustomBlocks.java:183)
    at org.mapfish.print.config.layout.ColumnsBlock.render(ColumnsBlock.java:56)
    at org.mapfish.print.config.layout.Page.render(Page.java:73)
    at org.mapfish.print.config.layout.Layout.render(Layout.java:64)
    ... 45 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(PKIXValidator.java:385)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
    at sun.security.validator.Validator.validate(Validator.java:260)
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1454)
    ... 68 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
    ... 74 more
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse georchestra...@googlegroups.com.
config.yaml

François Van Der Biest

unread,
Oct 21, 2016, 3:31:48 PM10/21/16
to georchestra
Hi Maria,

Indeed.
Then just host the https://sdi.georchestra.org/public/transparent.gif file on you own server (eg: http://test.geo.gob.bo/files/transparent.gif) and change the URL in the file.
It should do the trick.

Regards,
F.

Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse georchestra+unsubscribe@googlegroups.com.

Maria Elizabeth

unread,
Oct 21, 2016, 6:20:04 PM10/21/16
to georchestra
Hola François,
El truco ha funcionado bien, muchas gracias.
Saludos.
...
Reply all
Reply to author
Forward
0 new messages