Article - CS30249
Windchill MethodServer and BackgroundMethodServer cannot start with error: "Could not initialize Auditing service." in Windchill PDMLink
Modified: 10-Sep-2025
Applies To
- Windchill PDMLink 8.0 to 13.0
Description
- Windchill MethodServer cannot start.
- Users unable to connect to Windchill Method server shows error
ERROR [main] wt.method.server.startup.services - Failure to start manager wt.audit.StandardAuditService wt.services.ManagerException: Could not initialize Auditing service. Nested exception is: wt.org.OrganizationServicesIEException: javax.naming.CommunicationException: <host>:389 at wt.org.LdapServices.queryPrincipalsFromLdap(LdapServices.java:1185) at wt.org.LdapServices.queryPrincipals(LdapServices.java:2647) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) at jdk.proxy2/jdk.proxy2.$Proxy77.queryPrincipals(Unknown Source) at wt.adapter.delegate.LdapServiceDelegate.queryPrincipals(LdapServiceDelegate.java:188) at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:12468) at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:12421) at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:12406) at wt.org.StandardOrganizationServicesManager._queryPrincipal(StandardOrganizationServicesManager.java:12298) at wt.org.StandardOrganizationServicesManager.getAuthenticatedUser(StandardOrganizationServicesManager.java:3757) at wt.org.StandardOrganizationServicesManager.getUser(StandardOrganizationServicesManager.java:3982) at wt.org.StandardOrganizationServicesManager.getUser(StandardOrganizationServicesManager.java:3920) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) - Method Server error: Could not initialize Auditing service
- Full Stack Trace of MethodServer error:
FATAL : wt.method.server - MethodServerMain abort
wt.services.ManagerException: Unable to start all managers.
Nested exception is: (wt.services.servicesResource/21) wt.services.ManagerException: Unable to start manager: "wt.audit.AuditService" with implementation class: "wt.audit.StandardAuditService"
Nested exception is: wt.services.ManagerException: Could not initialize Auditing service.
at wt.audit.StandardAuditService.performStartupProcess(StandardAuditService.java:359)
at wt.services.StandardManager.startup(StandardManager.java:631)
at wt.services.ManagerImplementation.startup(ManagerImplementation.java:479)
at wt.services.DefaultStartupHandler.startup(DefaultStartupHandler.java:206)
at wt.services.StandardManagerService.performStartupProcess(StandardManagerService.java:216)
at wt.services.StandardManager.startup(StandardManager.java:631)
at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:43)
at wt.method.MethodServerMain.run(MethodServerMain.java:375)
at wt.method.MethodServerMain.start(MethodServerMain.java:263)
at wt.method.MethodServerMain.main(MethodServerMain.java:207)
FATAL : wt.method.server.shutdown - Stopping services...
INFO : wt.method.server.shutdown.services - All managers shut down.
FATAL : wt.method.server.shutdown - MethodServer stopped
Method server fails with error:
ERROR [main] wt.method.server.startup.services - Failure to start manager wt.audit.StandardAuditService wt.services.ManagerException: Could not initialize Auditing service
This is a printer-friendly version of Article 30249 and may be out of date. For the latest version click CS30249