技术文章 - CS59225

在 Windchill PDMLink 升级过程中,“填充 WTUser 表中的前缀、名字、中间名、姓氏和后缀”字段时返回“LDAP 错误”

已修改: 22-Apr-2025   


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

适用于

  • Windchill PDMLink 9.1 to 12.0

说明

  • 由于用户连接断开,升级到 Windchill 10.x 时在“在 WTUser 表中填充前缀、名字、中间名、姓氏和后缀字段”步骤中失败:
    • 用户持有 EnterpriseLdap 的 LDAP 路径
    • 用户已断开连接(= 在 EnterpriseLdap 中不存在)
  • 可能会报告以下几种类型的错误:
    •  INFO [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Migrator EXECUTING: Populate the fields Prefix, First, Middle, Last and Suffix in the WTUser table.:919772423-1197561275280-14600371-207-10-253-132 (0.0%) - Populate the fields Prefix, First, Middle, Last and Suffix in the WTUser table. started
    •  INFO [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Message: PopulateUserFullNameFields START:1333609499523 ERROR [main] wt.method.client - RemoteMethodServer.invoke() called on default method server from within method server! Bad loopback code! Caused by: wt.util.WTException: Error in finding mapping key for "<WTUser.name>" in adapter : <EnterpriseLdap>.jndiAdapter Verschachtelte Ausnahme ist: com.infoengine.exception.adapter.IEAdapterException; verschachtelte Ausnahme ist: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of: '<Search path for users in EnterpriseLdap>' ]; remaining name '<User path in EnterpriseLdap>' at wt.org.PopulateUserFullNameFields.readPrincipal(PopulateUserFullNameFields.java:335) at wt.org.PopulateUserFullNameFields.populateAdditionalFieldsAndUpdate(PopulateUserFullNameFields.java:158) at wt.org.PopulateUserFullNameFields.runMigration(PopulateUserFullNameFields.java:98) ... 23 more
    •  Caused by: wt.util.WTException: Error in finding mapping key for "user.cn" in adapter : com.ptc.vmwindchill10x.ldap-pending Nested exception is: com.infoengine.exception.adapter.IEAdapterException; nested exception is: javax.naming.NameNotFoundException: [LDAP: error code 32 - The search base entry 'uid=user_name_?,ou=pendingUsers,dc=team-ind,dc=com,cn=configuration,cn=Windchill_10.0,o=ptc' does not exist
  • PopulateUserFullNameFields迁移器失败,原因如下:
     javax.naming.NamingException: [LDAP: error code 1 - The provided value "xxxxx" could not be parsed as a valid distinguished name because it contained an RDN containing an empty attribute name] at com.infoengine.jndi.JNDIAdapterImpl.processRequest(JNDIAdapterImpl.java:254) at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:391) at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:262) at com.infoengine.compiledTasks.file.C$3a$5cptc$5cWindchill_10$2e1$5cWindchill$5ctasks.wt.federation.queryprincipals$2exml.invoke(queryprincipals$2exml.java:100) at com.infoengine.SAK.Task.invoke(Task.java:1806) at com.infoengine.SAK.Task.invoke(Task.java:1714) at wt.org.PopulateUserFullNameFields.readPrincipal(PopulateUserFullNameFields.java:310)
这是文章 59225 的 PDF 版本,可能已过期。最新版本 CS59225