Article - CS361032

After rehosting, the MethodServer logs throws an error: "LDAP: error code 53 - Rejecting the requested operation because the connection has not been authenticated" after restart in Windchill PDMLink

Modified: 15-Sep-2025   


Applies To

  • Windchill PDMLink 11.0 to 12.1

Description

  • Method server logs show below error message while starting Windchill after rehost
2022-01-05 10:24:43,611 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.util.WTException: com.infoengine.exception.adapter.IEAdapterException; nested exception is: 
javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Rejecting the requested operation because the connection has not been authenticated]; remaining name 'cn=configuration,cn=Windchill_11.2,o=ptc'
Nested exception is: com.infoengine.exception.adapter.IEAdapterException; nested exception is: 
javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Rejecting the requested operation because the connection has not been authenticated]; remaining name 'cn=configuration,cn=Windchill_11.2,o=ptc'
	at com.infoengine.jndi.JNDIAdapterImpl.processRequest(JNDIAdapterImpl.java:254)
	at com.infoengine.au.DirectoryService.queryObjects(DirectoryService.java:159)
	at wt.federation.PrincipalManager.DirContext.getAdapterInfoMaps(DirContext.java:425)
	at wt.federation.PrincipalManager.DirContext.initMapsForDefaultAdapters(DirContext.java:332)
	at wt.federation.PrincipalManager.DirContext.init(DirContext.java:302)
	at wt.federation.PrincipalManager.DirContext.getPrimaryName(DirContext.java:725)
	at wt.org.LdapServices.getAllServices(LdapServices.java:319)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
	at com.sun.proxy.$Proxy51.getAllServices(Unknown Source)
	at wt.org.StandardOrganizationServicesManager.getDirectoryServiceNames(StandardOrganizationServicesManager.java:5451)
	at wt.org.StandardOrganizationServicesManager.getDirectoryServiceNames(StandardOrganizationServicesManager.java:5387)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
	at com.sun.proxy.$Proxy50.getDirectoryServiceNames(Unknown Source)
	at wt.org.GenericDirectoryContextProvider.<init>(GenericDirectoryContextProvider.java:199)
	at wt.org.StandardOrganizationServicesManager.newDirectoryContextProvider(StandardOrganizationServicesManager.java:7941)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
	at com.sun.proxy.$Proxy50.newDirectoryContextProvider(Unknown Source)
	at wt.session.StandardSessionManager.getExchangeContext(StandardSessionManager.java:478)
	at wt.session.StandardSessionManager.getUser(StandardSessionManager.java:449)
	at wt.session.StandardSessionManager.getAdministrator(StandardSessionManager.java:321)
	at wt.session.StandardSessionManager.setAdministrator(StandardSessionManager.java:284)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
	at com.sun.proxy.$Proxy39.setAdministrator(Unknown Source)
	at wt.audit.StandardAuditService.performStartupProcess(StandardAuditService.java:297)
	at wt.services.StandardManager.startup(StandardManager.java:459)
	at wt.services.ManagerImplementation.startup(ManagerImplementation.java:363)
	at wt.services.DefaultStartupHandler.startup(DefaultStartupHandler.java:112)
	at wt.services.StandardManagerService.performStartupProcess(StandardManagerService.java:167)
	at wt.services.StandardManager.startup(StandardManager.java:459)
	at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:44)
	at wt.method.MethodServerMain.run(MethodServerMain.java:606)
	at wt.method.MethodServerMain.main(MethodServerMain.java:373)
Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Rejecting the requested operation because the connection has not been authenticated]; remaining name 'cn=configuration,cn=Windchill_11.2,o=ptc'
	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3227)
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100)
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2891)
	at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1846)
	at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769)
	at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:392)
	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:358)
	at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:276)
	at com.infoengine.jndi.DirContextWrapper.search(DirContextWrapper.java:300)
	at com.infoengine.jndi.QueryObjects.run(QueryObjects.java:266)
	at com.infoengine.jndi.JNDIAdapterImpl.processRequest(JNDIAdapterImpl.java:211)
	... 47 more
2022-01-05 10:24:43,658 INFO  [main] wt.method.server.shutdown.services  - All managers shut down.
2022-01-05 10:24:43,658 ERROR [main] wt.method.server.startup.services  - Unable to start all managers
This is a printer-friendly version of Article 361032 and may be out of date. For the latest version click CS361032