天天看點

普元 AppServer 7.0 eos應用部署後啟動報錯:ERROR [biz] sun.security.validator.ValidatorException: PKIX path build

【問題】

普元 AppServer 7.0 eos應用部署後啟動報錯:

[2020-06-23T14:31:27.887+0800] [Primeton AppServer 7.0] [INFO] [] [] [tid: _ThreadID=179 _ThreadName=Thread-9] [timeMillis: 1592893887887] [levelValue: 800] [[

14:31:27,886 ERROR [biz] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

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:1946)

at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316)

at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310)

at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1688)

at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)

at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1038)

at sun.security.ssl.Handshaker.process_record(Handshaker.java:966)

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)

at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:750)

at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)

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:827)

at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975)

at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)

at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)

【解答】

項目裡排查發現:應用的web.xml裡潤乾報表相關的配置導緻了本次報錯,删除後,就正常了

原文連結:http://doc.primeton.com/pages/viewpage.action?pageId=37623053

詳細咨詢請聯系普元售後:[email protected]

繼續閱讀