SQL Developer错误

时间:2008-09-30 13:49:41

标签: oracle oracle-sqldeveloper

我正在尝试使用SQL开发人员,但它不会使用我在首选项中指定的代理进行连接。我想这是因为某种证书错误?不确定。我收到了错误:

没有收到HTTP响应。

javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException:PKIX路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到所请求目标的有效证书路径     在com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)     在com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)     在com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)     在com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)     在com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)     在com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)     在com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)     在com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)     在com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)     在sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)     at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)     在oracle.ide.webbrowser.HttpPing $ PingRunnable.run(HttpPing.java:109)     at oracle.ide.webbrowser.ProxyOptions.doTask(ProxyOptions.java:522)     在oracle.ide.webbrowser.HttpPing.ping(HttpPing.java:74)     at oracle.ide.webbrowser.ProxySettingsPanel $ 5.run(ProxySettingsPanel.java:766)     在java.lang.Thread.run(Thread.java:619) 引发者:sun.security.validator.ValidatorException:PKIX路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到所请求目标的有效证书路径     在sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)     at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)     at sun.security.validator.Validator.validate(Validator.java:218)     at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)     at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)     at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)     在com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)     ......还有15个 引起:sun.security.provider.certpath.SunCertPathBuilderException:无法找到请求目标的有效证书路径     at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)     在java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)     在sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)     ......还有21个

3 个答案:

答案 0 :(得分:1)

这很可能意味着您通过SSL连接的Web服务器使用由未知权限颁发的证书。您希望将证书添加到密钥库(在客户端上)。

有关说明,请参阅此article

答案 1 :(得分:1)

我认为你还没有安装jdk。我建议你使用sql developer 1.5.1,你应该使用jdk 1.5。

答案 2 :(得分:-2)

调试错误的第一个规则之一:谷歌你在错误信息中引用,如下所示:“无法找到有效的证书路径”。当我这样做时,我发现了很多可能与你相关的有用信息。