API Gateway Naming Exception Error During MigrateOut Command

book

Article ID: 194310

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

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

Cause

If your system contains any broken LDAP references in any policies you can get this fault

Environment

Release : 9.3

Component : API GATEWAY

Resolution

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.