技术文章 - CS197660
在 Windchill PDMLink 中应用关键补丁集后,方法服务器日志中出现错误“违反主键约束‘PK_WtUpgInst_Installation’”
已修改: 22-Nov-2022
适用于
- 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