We started to get naming exception error when we try to migrateout a Layer7 service.
MigrateOut Command:
GatewayMigrationUtility.bat migrateOut --argFile dev_env1.args --serviceName "TestDeploy/TestDeployService" --dest testdeploy.xml
The output of the migrateOut command is:
Warning: TLS hostname verification has been disabled
Warning: TLS server certificate check has been disabled
Running......................................................................................
Execution failed. Reason: Internal Server Error. Detail: naming exception
In Gateway SSG log, you can see the messages for this exception:
WARNING 15913 com.l7tech.server.identity.ldap.LdapGroupManagerImpl: LDAP error, while building group
WARNING 15913 com.l7tech.external.assertions.gatewaymanagement.server.rest.exceptions.ExceptionMapper: Error processing management request: naming exception
INFO 15913 com.l7tech.external.assertions.gatewaymanagement.server.rest.exceptions.ExceptionMapper: Error processing management request:naming exception
Release : 9.3
Component : API GATEWAY
If your system contains any broken LDAP references in any policies you can get this fault
The problem could be caused by a service created by RESTMAN API, which includes the wrong identity provider ID in its request body.
If we identify and delete all the APIs that are recently created for test purposes, the problem disappears.