アーティクル - CS148507

Windchill PDMLink で MethodServer が「監査サービスを初期化できませんでした」というエラーで起動に失敗する

修正日: 08-Mar-2023   


注記:ここに記載されている情報は、お客様の利便性向上のため機械翻訳ソフトを使用しています。PTCは、ここに記載されている情報の翻訳の正確性について、一切の責任を負いませんので、ご了承ください。英語の原文を参照するには、こちら。この機械翻訳に関する詳細は、こちら。
お知らせいただき、ありがとうございます。この機械翻訳をレビューします。

適用対象

  • Windchill PDMLink 9.1 to 12.1

説明

  • MethodServer が起動しない
  • 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)
最新バージョンはこちらを参照ください CS148507