技术文章 - CS110492

在 Windchill 中出现错误“com.ptc.windchill.keystore.WTKeyStore - 从 KeyStore 文件获取值时出错”

已修改: 01-Aug-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 10.0 to 13.0

说明

  • 获取错误com.ptc.windchill.keystore.WTKeyStore - 通过 xconfmanager 更改密码时从 KeyStore 文件获取值时出错
  • 重新启动 Windchill 时可能会出现同样的问题
[main] com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file
java.security.KeyStoreException: Could not load keystore file.
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:330)
at com.ptc.windchill.keystore.KeyStoreProxy.load(KeyStoreProxy.java:304)
at com.ptc.windchill.keystore.KeyStoreProxy.getEntry(KeyStoreProxy.java:157)
at com.ptc.windchill.keystore.WTKeyStore.get(WTKeyStore.java:113)
at com.ptc.windchill.keystore.WTKeyStore.put(WTKeyStore.java:149)
at com.ptc.windchill.structconf.SetSiteProperty.execute(SetSiteProperty.java:133)
at com.ptc.windchill.structconf.StructConfManagerCommand.execute(StructConfManagerCommand.java:102)
at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:259)
at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:273)
at com.ptc.windchill.structconf.StructConfManager.main(StructConfManager.java:820)
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..)
at java.security.KeyStore.load(KeyStore.java:1185)
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:328)

ERROR [main] com.ptc.windchill.keystore.WTKeyStore - Error adding the key: (encrypted.wt.pom.dbPassword)
java.security.KeyStoreException: Could not load keystore file.
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:330)
at com.ptc.windchill.keystore.KeyStoreProxy.load(KeyStoreProxy.java:304)
at com.ptc.windchill.keystore.KeyStoreProxy.addEntry(KeyStoreProxy.java:120)
at com.ptc.windchill.keystore.WTKeyStore.put(WTKeyStore.java:153)
at com.ptc.windchill.structconf.SetSiteProperty.execute(SetSiteProperty.java:133)
at com.ptc.windchill.structconf.StructConfManagerCommand.execute(StructConfManagerCommand.java:102)
at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:259)
at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:273)
at com.ptc.windchill.structconf.StructConfManager.main(StructConfManager.java:820)
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..)
at java.security.KeyStore.load(KeyStore.java:1185)
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:328)
  • 在 ServerManager 日志中收到以下错误
ERROR [main] com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file
java.security.KeyStoreException: Could not load keystore file.
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:352)
at com.ptc.windchill.keystore.KeyStoreProxy.load(KeyStoreProxy.java:325)
at com.ptc.windchill.keystore.KeyStoreProxy.getEntry(KeyStoreProxy.java:157)
at com.ptc.windchill.keystore.WTKeyStore.get(WTKeyStore.java:120)
at wt.dataservice.DSPropertiesServer.getKeyStoreValue(DSPropertiesServer.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at wt.dataservice.DSProperties.getPasswordProperty(DSProperties.java:240)
at wt.dataservice.DSProperties.<clinit>(DSProperties.java:175)
at wt.dataservice.DataServiceFactory.<init>(DataServiceFactory.java:63)
at wt.dataservice.DataServiceFactory.getDefault(DataServiceFactory.java:37)
这是文章 110492 的 PDF 版本,可能已过期。最新版本 CS110492