Article - CS375968

Load BAC Groups and BAC Policy Access Control Rules failed at upgrade LoadNewData phase in Windchill PDMLink

Modified: 21-Dec-2023   


Applies To

  • Windchill PDMLink 12.0 to 12.1

Description

  • Upgrade Manager failed at LoadNewData Phase
image.png
  • Related error logs:
Processing data file: D:\ptc\Windchill_12.0\Windchill\loadFiles\bac/BACAccessRules.xml
Getting container path= '/'
Using container with path= '/'
Create Rule </Default,com.ptc.windchill.bac.BACDeliveryRecord,Participant: Business Administrative Change Package Creator,+,0/10/1/11/2,null>
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
    at java.naming/com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3259)
    at java.naming/com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3205)
    at java.naming/com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2991)
    at java.naming/com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2905)
    at java.naming/com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:348)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxFromUrl(LdapCtxFactory.java:262)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:226)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:280)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:185)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:115)
    ...
    at com.infoengine.jndi.DirContextWrapper.<init>(DirContextWrapper.java:89)
    at com.infoengine.jndi.JNDIAdapterImpl.getDirContext(JNDIAdapterImpl.java:310)
    at com.infoengine.jndi.JNDIAdapterImpl.processRequest(JNDIAdapterImpl.java:206)
    at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:199)
    at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:319)
    at com.infoengine.compiledTasks.file.D$3a$5cptc$5cWindchill_12$2e0$5cWindchill$5ctasks.wt.federation.queryprincipals$2exml.invoke(queryprincipals$2exml.java:100)
    at com.infoengine.SAK.Task.invoke(Task.java:1806)
    at com.infoengine.SAK.Task.invoke(Task.java:1714)
    at wt.org.LdapServices.queryPrincipalsTask(LdapServices.java:1367)
    at wt.org.LdapServices.queryPrincipalsFromLdap(LdapServices.java:1170)
    ...
    at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:12366)
    at wt.org.StandardOrganizationServicesManager.queryPrincipals(StandardOrganizationServicesManager.java:2060)
    at wt.org.StandardOrganizationServicesManager.queryPrincipals(StandardOrganizationServicesManager.java:1991)
    at wt.org.StandardOrganizationServicesManager.queryPrincipals(StandardOrganizationServicesManager.java:2150)
    ...
    at wt.ixb.handlers.netmarkets.CsvIxHandler.invokeLoad(CsvIxHandler.java:545)
    at wt.ixb.handlers.netmarkets.CsvIxHandler.createObject(CsvIxHandler.java:241)
    at wt.ixb.actor.PickingExistingObjectActorForPersistable.createObject(PickingExistingObjectActorForPersistable.java:34)
    at wt.ixb.actor.ActorTemplateForPersistable._createObject(ActorTemplateForPersistable.java:340)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.createObjects(ClassExporterImporterTemplate.java:784)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElementsBatchDefault(ClassExporterImporterTemplate.java:672)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElement(ClassExporterImporterTemplate.java:472)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElements(ClassExporterImporterTemplate.java:514)
    at wt.ixb.publicforapps.Importer.importElements(Importer.java:1608)
    at wt.ixb.publicforapps.Importer.importElement(Importer.java:1554)
    at wt.ixb.publicforapps.Importer.doRealImport(Importer.java:1353)
    at wt.ixb.publicforapps.Importer.finalizeImport(Importer.java:572)
    at wt.load.StandardLoadService.importData(StandardLoadService.java:817)
    at wt.load.StandardLoadService.doLoadFileSet(StandardLoadService.java:867)
    ...
    at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
    at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
    ...
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
wt.org.OrganizationServicesIEException: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
    at wt.org.LdapServices.queryPrincipalsFromLdap(LdapServices.java:1193)
    ...
    at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:12366)
    at wt.org.StandardOrganizationServicesManager.queryPrincipals(StandardOrganizationServicesManager.java:2060)
    at wt.org.StandardOrganizationServicesManager.queryPrincipals(StandardOrganizationServicesManager.java:1991)
    at wt.org.StandardOrganizationServicesManager.queryPrincipals(StandardOrganizationServicesManager.java:2150)
    ...
    at wt.access.LoadAccessControlRules.createAccessControlRule(LoadAccessControlRules.java:212)
    at wt.load.LoadUser.createAccessRule(LoadUser.java:221)
    ...
    at wt.ixb.handlers.netmarkets.CsvIxHandler.invokeLoad(CsvIxHandler.java:545)
    at wt.ixb.handlers.netmarkets.CsvIxHandler.createObject(CsvIxHandler.java:241)
    at wt.ixb.actor.PickingExistingObjectActorForPersistable.createObject(PickingExistingObjectActorForPersistable.java:34)
    at wt.ixb.actor.ActorTemplateForPersistable._createObject(ActorTemplateForPersistable.java:340)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.createObjects(ClassExporterImporterTemplate.java:784)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElementsBatchDefault(ClassExporterImporterTemplate.java:672)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElement(ClassExporterImporterTemplate.java:472)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElements(ClassExporterImporterTemplate.java:514)
    at wt.ixb.publicforapps.Importer.importElements(Importer.java:1608)
    at wt.ixb.publicforapps.Importer.importElement(Importer.java:1554)
    at wt.ixb.publicforapps.Importer.doRealImport(Importer.java:1353)
    at wt.ixb.publicforapps.Importer.finalizeImport(Importer.java:572)
    at wt.load.StandardLoadService.importData(StandardLoadService.java:817)
    at wt.load.StandardLoadService.doLoadFileSet(StandardLoadService.java:867)
    ...
    at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
    at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
    ...
ローダーメソッド wt.load.LoadUser。createAccessRule が失敗を報告しました。
(wt.ixb.handlers.netmarkets.NMIxResources/108) wt.util.WTException: ローダーメソッド wt.load.LoadUser。createAccessRule が失敗を報告しました。
    at wt.ixb.handlers.netmarkets.CsvIxHandler.handleError(CsvIxHandler.java:131)
    at wt.ixb.handlers.netmarkets.CsvIxHandler.createObject(CsvIxHandler.java:246)
    at wt.ixb.actor.PickingExistingObjectActorForPersistable.createObject(PickingExistingObjectActorForPersistable.java:34)
    at wt.ixb.actor.ActorTemplateForPersistable._createObject(ActorTemplateForPersistable.java:340)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.createObjects(ClassExporterImporterTemplate.java:784)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElementsBatchDefault(ClassExporterImporterTemplate.java:672)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElement(ClassExporterImporterTemplate.java:472)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElements(ClassExporterImporterTemplate.java:514)
    at wt.ixb.publicforapps.Importer.importElements(Importer.java:1608)
    at wt.ixb.publicforapps.Importer.importElement(Importer.java:1554)
    at wt.ixb.publicforapps.Importer.doRealImport(Importer.java:1353)
    at wt.ixb.publicforapps.Importer.finalizeImport(Importer.java:572)
    at wt.load.StandardLoadService.importData(StandardLoadService.java:817)
    at wt.load.StandardLoadService.doLoadFileSet(StandardLoadService.java:867)
    ...
    at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
    at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
    ... 
Failed:  Load BAC Groups and BAC Policy Access Control Rules
2022-09-02 01:01:49,304 ERROR [RMI TCP Connection(6)-172.31.48.84] wt.ixb.publicforapps.Importer wcadmin - Import failed for batch. actionName=PickExistingObject, tag=NmLoader, docs=[null]
2022-09-02 01:01:49,333 ERROR [RMI TCP Connection(6)-172.31.48.84] wt.method.MethodContextMonitor.contexts.rmi wcadmin - 2022-09-02 01:01:41.941 +0000, 5scqbbcl7;l7jrkwz1;9128;cvnxcs;8, -, -, -, wcadmin, 172.31.48.84, com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server, invokeLightWeightServiceApi, , 0, 16, 0.012885558, 11, 0.007497288, 1.96875, 7.390989081 wt.util.WTException: java.lang.reflect.InvocationTargetException
ネステッド例外: java.lang.reflect.InvocationTargetException
...
    at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
    at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
...
Caused by: wt.util.WTException: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: エクスポート/インポート処理中に問題が発生しました。
ネステッド例外: (wt.ixb.handlers.netmarkets.NMIxResources/108) wt.util.WTException: ローダーメソッド wt.load.LoadUser。createAccessRule が失敗を報告しました。
ネステッド例外: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: エクスポート/インポート処理中に問題が発生しました。
ネステッド例外: (wt.ixb.handlers.netmarkets.NMIxResources/108) wt.util.WTException: ローダーメソッド wt.load.LoadUser。createAccessRule が失敗を報告しました。
    at wt.load.StandardLoadService.doLoadFileSet(StandardLoadService.java:870)
    ... 30 more
Caused by: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: エクスポート/インポート処理中に問題が発生しました。
ネステッド例外: (wt.ixb.handlers.netmarkets.NMIxResources/108) wt.util.WTException: ローダーメソッド wt.load.LoadUser。createAccessRule が失敗を報告しました。
    at wt.ixb.handlers.netmarkets.CsvIxHandler.handleError(CsvIxHandler.java:131)
    at wt.ixb.handlers.netmarkets.CsvIxHandler.createObject(CsvIxHandler.java:246)
    at wt.ixb.actor.PickingExistingObjectActorForPersistable.createObject(PickingExistingObjectActorForPersistable.java:34)
    at wt.ixb.actor.ActorTemplateForPersistable._createObject(ActorTemplateForPersistable.java:340)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.createObjects(ClassExporterImporterTemplate.java:784)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElementsBatchDefault(ClassExporterImporterTemplate.java:672)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElement(ClassExporterImporterTemplate.java:472)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElements(ClassExporterImporterTemplate.java:514)
    at wt.ixb.publicforapps.Importer.importElements(Importer.java:1608)
    at wt.ixb.publicforapps.Importer.importElement(Importer.java:1554)
    at wt.ixb.publicforapps.Importer.doRealImport(Importer.java:1353)
    at wt.ixb.publicforapps.Importer.finalizeImport(Importer.java:572)
    at wt.load.StandardLoadService.importData(StandardLoadService.java:817)
    at wt.load.StandardLoadService.doLoadFileSet(StandardLoadService.java:867)
    ... 30 more
Caused by: (wt.ixb.handlers.netmarkets.NMIxResources/108) wt.util.WTException: ローダーメソッド wt.load.LoadUser。createAccessRule が失敗を報告しました。
    ... 44 more
 
LoadService: Initializing to user = wcadmin
LoadService: User set to wcadmin
Processing data file: D:\ptc\Windchill_12.1\Windchill\loadFiles\bac/BACGroups.xml
Getting container path= '/'
Using container with path= '/'
Create group <Business Administrative Change Package Creator>
Done creating group <Business Administrative Change Package Creator> 

Create group <Business Administrative Change Package Importer>
Done creating group <Business Administrative Change Package Importer> 

All objects were imported successfully.
LoadService: Initializing to user = wcadmin
LoadService: User set to wcadmin
Processing data file: D:\ptc\Windchill_12.1\Windchill\loadFiles\bac/BACAccessRules.xml
Getting container path= '/'
Using container with path= '/'
Create Rule </Default,com.ptc.windchill.bac.BACDeliveryRecord,Participant: Business Administrative Change Package Creator,+,0/10/1/11/2,null>
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e, v2580 ]
    at java.naming/com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3259)
    at java.naming/com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3205)
    at java.naming/com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2991)
    at java.naming/com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2905)
    at java.naming/com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:348)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxFromUrl(LdapCtxFactory.java:266)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:226)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:284)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:185)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:115) 
This is a printer-friendly version of Article 375968 and may be out of date. For the latest version click CS375968