技术文章 - CS391624
“Windchill 身份验证失败。”出现 RepositoryObjectNotFoundException:在 Windchill PDMLink 中给定 LDAP URL 的目录中找不到“ptcRepositoryDefinition”条目
已修改: 22-Jan-2024
适用于
- Windchill PDMLink 12.0 to 13.0
说明
- 方法 Serverlog 文件中抛出以下错误:
ERROR [ajp-nio-127.0.0.1-8010-exec-4] wt.servlet.ServletRequestMonitor.request u296954 - 2023-04-05 09:25:15.998 -0500, 4eihxszq;lg3r47df;34032;9xm6lu;2689, u296954, 10.2.162.28, /Windchill/servlet/SimpleTaskDispatcher, CLASS=com.ptc.windchill.uwgm, POST, 500, 0.015625, 0.0279846 ERROR [ajp-nio-127.0.0.1-8010-exec-3] com.infoengine.log.error u296954 - com.infoengine.au.delegateprovider.DirectoryBasedCmdDelegateProviderService.getCommandDelegateEntry() caught an exception while searching the Directory for the Command Delegate specified by commandName: <getServerVersionInfo>, wcTypeId: <com.ptc.windchill.uwgm>, targetRepository: <test.company.com>. Exception: (com.infoengine.au.delegateprovider.delegateproviderResource/3) com.infoengine.au.delegateprovider.RepositoryObjectNotFoundException: No "ptcRepositoryDefinition" entry was found in the Directory for the given LDAP URL: "ldap://localhost/dc=test,dc=company,dc=com,cn=configuration,cn=windchill,o=ptc??base".
- 在 Windchill 12.x 中调用 SimpleTaskDispatcher 方法 (/Windchill/servlet/SimpleTaskDispatcher) 并在 HttpServer 访问日志中获取 500,在方法服务器日志文件中获取以下错误
wt.servlet.ServletRequestMonitor.request wcadmin - 2023-05-30 12:46:18.834 +0000, 44e5uqan5;lia0jxky;788;b2faas;11144, wcadmin, <IP Address>, /Windchill/servlet/SimpleTaskDispatcher/, CLASS=com.ptc.windchill.ws&STYLE=document&VERSION=1.1http://WindchillHOSTName/Windchill/servlet/SimpleTaskDispatcher/?CLASS=com.ptc.windchill.ws&STYLE=document&VERSION=1.1, GET, -1, 0.015625, 0.0111199 java.io.IOException: No "ptcRepositoryDefinition" entry was found in the Directory for the given LDAP URL: "ldap://localhost/dc=xxx,dc=xxx,dc=xxx,dc=net,cn=configuration,cn=windchill,o=ptc??base".
at com.infoengine.soap.SOAPServlet.doGet(SOAPServlet.java:253)
at com.ptc.core.adapter.server.impl.SimpleTaskDispatcherTunnel.doGet(SimpleTaskDispatcherTunnel.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:655)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
这是文章 391624 的 PDF 版本,可能已过期。最新版本 CS391624