技术文章 - CS197660

在 Windchill PDMLink 中应用关键补丁集后,方法服务器日志中出现错误“违反主键约束‘PK_WtUpgInst_Installation’”

已修改: 22-Nov-2022   


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

适用于

  • Windchill PDMLink 10.2 M020 to 12.0.2.4

说明

  • 当 Windchill 配置有多个方法服务器时,成功安装关键补丁集后方法服务器日志中出现错误
  • 使用多个方法服务器成功安装关键补丁集后,方法服务器显示以下错误:
ERROR [main] com.ptc.windchill.upgrade.instupghistory.service.StandardDatabaseVersioningService  - Error while verifying instupghistory
wt.services.ManagerException: com.ptc.windchill.upgrade.instupghistory.IUHException: Unable to create a new Installation
Nested exception is: com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_WtUpgInst_Installation'. Cannot insert duplicate key in object 'windchill.WtUpgInst_Installation'. The duplicate key value is (5).
Nested exception is: com.ptc.windchill.upgrade.instupghistory.IUHException: Unable to create a new Installation
Nested exception is: com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_WtUpgInst_Installation'. Cannot insert duplicate key in object 'windchill.WtUpgInst_Installation'. The duplicate key value is (5).
或者
Nested exception is: com.ptc.windchill.upgrade.instupghistory.IUHException: Unable to create a new Installation
Nested exception is: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (PLM.PK_WTUPGINST_INSTALLATION) violated
  • Windchill 重新启动会消除错误。
  • Windchill 功能不受影响。
  • 当 Windchill 配置有单一方法服务器时,问题无法重现。
  • Windchill 在关键补丁集安装后无法启动。
这是文章 197660 的 PDF 版本,可能已过期。最新版本 CS197660