我有一个在Java 7版本75上运行良好的Web服务.我们最近更新到Java 8,现在我们在Web服务上收到此错误: PKIX路径构建失败:sun.security.provider.certpath. SunCertPathBuilderException:无法找到请求目标的有效证书路径
这是完全转储:
Charset [empty string]
ErrorDetail I/O Exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Filecontent Connection Failure
Header [empty string]
Mimetype Unable to determine MIME type of file.
Responseheader ws dump - struct [empty]
Statuscode Connection Failure. Status code unavailable.
Text YES
Run Code Online (Sandbox Code Playgroud)
我们更新了证书,证书已在正确的密钥存储区中重新导入,并使用keytool -list验证它并重新启动,但仍然会收到身份验证错误.
我看到这通常是通过重新安装证书来解决的,但是没有用.许多修复此错误的建议建议在CF Admin中安装Certman.我们安装了它并导入了证书,但仍然是同样的错误.我们的解决方法是回滚到Java 7版本75,因此这个Web服务可以工作,但我们需要尽快更新到最新版本的Java,这样我们的图表可以再次工作,显然出于安全考虑.有什么建议?
统计:
Java Dev Kit 8 v 60,ColdFusion 10修补程序17,Windows Server 8
****更新*****在阅读了Sean Coyne的回答后,我与我们的网络管理员进行了交谈.他们已经将tools.jar文件复制到lib文件夹中.他们删除了stubs文件夹并重新启动了CF服务器,但我们仍然遇到了同样的错误.我和他们一起去过,他们告诉我证书确实在密钥库中.
如下所述:https: //helpx.adobe.com/coldfusion/kb/coldfusion-mx-troubleshooting-scheduled-tasks.html我在运行Web服务时向jvim.config添加了一些调试.调试指出与其中一个证书的握手无效.有没有搞错!
我问我们是否可以在CF管理员的证书管理器中看到证书.它毕竟没有安装.所以NA 在CF Admin中安装了CertMan …
我正在处理一个有几个单选按钮组的长表单.
底部有一个单选按钮"No All".当它被选中时,我想这样做,以便选择所有"N"单选按钮,但我不能让它工作.这是代码的简化版本:
jQuery的:
$(document).ready(function(){
//initially hide the Remove All Questions
$("div.#removeAllquest").hide();
//////////// Show Remove All Questions if radio button selected
$("input.#RemoveAll").click(function() {
if ($(this).is(':checked'))
$("input:radio [class*='radioR']").attr("checked",true);
else
$("input:radio [class*='radioR']").attr("checked",false);
});
Run Code Online (Sandbox Code Playgroud)
});
形成:
<table>
<tr>
<td>Y<input type="radio" name="row1" value="row1col1" class="q123col1"></td>
<td>N<input type="radio" name="row1" class="radioR" value="row1col2"></td>
<td>M<input type="radio" name="row1" value="row1col3" class="q123col3"></td>
</tr>
<tr>
<td>Y<input type="radio" name="row2" value="row2col1" class="q123col1"></td>
<td>N<input type="radio" name="row2" class="radioR" value="row2col2"></td>
<td>M<input type="radio" name="row2" value="row2col3" class="q123col3"></td>
</tr>
<tr>
<td>Y<input type="radio" name="row3" value="row3col1" class="q123col1"></td>
<td>N<input type="radio" name="row3" class="radioR" value="row3col2"></td>
<td>M<input …Run Code Online (Sandbox Code Playgroud)