Context: Migrating a single service using the migrateOut command using -service <ID>
The process started then returned the following error :
WARNING: Error executing commandjavax.ws.rs.WebApplicationException: 500 Internal Server Error at com.ca.gateway.rest.api.GatewayManagementGatewayClient$IP10Bundle.getAsItemReferenceType(Unknown Source) at com.ca.gateway.rest.api.resource.impl.BundleResource.getBundle(Unknown Source) at com.ca.gateway.rest.commandline.command.MigrateOutCommand.a(Unknown Source) at com.ca.gateway.rest.commandline.command.MigrateOutCommand.run(Unknown Source) at com.ca.gateway.rest.commandline.command.GatewayCommand.run(Unknown Source) at com.ca.gateway.rest.commandline.command.Command.runCommand(Unknown Source) at com.ca.gateway.rest.commandline.Main.main(Unknown Source)
I have ran the the command using -service <ID> before with no issues... just all of a sudden it happened.
When running the migrateOut command using the -serviceName <name> it worked just fine.
Any help is appreciated... Thanks!
The ability to migrate out the service using the ID should work as long as the ID is correct.
Export service by id
$ ./GatewayMigrationUtility.sh migrateOut --argFile commonarguments.properties --dest svcById.xml --service 5ecae07f6e194aae459f7f37022158b4
Please look in the ssg logs for output as to why it may be failing.
Director, CA Support
An additional note, I've reviewed with the team and found that if any of the dependencies (LDAP) on the gateway are not working as expected then the migrate based on the name of the service will fail.