技术文章 - CS148507
MethodServer 无法启动,Windchill PDMLink 中出现错误“无法初始化审计服务”
已修改: 08-Mar-2023
适用于
- Windchill PDMLink 9.1 to 12.1
说明
- 方法服务器启动失败
- 重新托管 Windchill 后 MethodServer 关闭并出现以下错误
- MethodServer Log4j 日志有以下异常
wt.services.ManagerException: Could not initialize Auditing service. Nested exception is: wt.util.WTException: java.lang.NullPointerException Nested exception is: java.lang.NullPointerException at wt.federation.PrincipalManager.DirContext.getPrimaryName(DirContext.java:618) at wt.org.StandardOrganizationServicesManager.getDirectoryService(StandardOrganizationServicesManager.java:4237) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) at $Proxy18.getDirectoryService(Unknown Source) at wt.org.GenericDirectoryContextProvider.<init>(GenericDirectoryContextProvider.java:206) at wt.org.StandardOrganizationServicesManager.newDirectoryContextProvider(StandardOrganizationServicesManager.java:5759) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) at $Proxy18.newDirectoryContextProvider(Unknown Source) at wt.session.StandardSessionManager.getExchangeContext(StandardSessionManager.java:431) at wt.session.StandardSessionManager.getUser(StandardSessionManager.java:390) at wt.session.StandardSessionManager.getAdministrator(StandardSessionManager.java:272) at wt.session.StandardSessionManager.setAdministrator(StandardSessionManager.java:250) OR ERROR [ajp-nio-127.0.0.1-8011-exec-34] wt.session.StandardSessionManager WCADMIN - Exception in getAuthenticatedUser wt.org.OrganizationServicesIEException: javax.naming.CommunicationException: LDAP.PTC.com:389 at wt.org.LdapServices.queryPrincipalsFromLdap(LdapServices.java:1140)
这是文章 148507 的 PDF 版本,可能已过期。最新版本 CS148507