GMU failing with The declaration for the entity "HTML.Version" must end with '>'.

book

Article ID: 142595

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

The GMU is failing to export out gateway data. 

Command Line Output Shows:

C:\GMU>GatewayMigrationUtility.bat migrateOut -z sourceSSGS01.properties --encryptionPassphrase 2r6Oa4N_9tQ.jazogu01YNdTqpgrWkyW65A -dest TEST-EXP.xml --serviceName "/b2b/ctrs" -trustHostname --trustCertificate

Warning: TLS hostname verification has been disabled

Warning: TLS server certificate check has been disabled

Running...[Fatal Error] loose.dtd:31:3: The declaration for the entity "HTML.Version" must end with '>'.

Execution failed. Reason: Internal Server Error"

The gmu.log file Shows:

Jan 02, 2020 11:51:10 AM com.ca.gateway.rest.commandline.command.GatewayCommand setClientConfig
WARNING: TLS hostname verification has been disabled
Jan 02, 2020 11:51:10 AM com.ca.gateway.rest.commandline.command.GatewayCommand setClientConfig
WARNING: TLS server certificate check has been disabled
Jan 02, 2020 11:51:10 AM com.ca.gateway.rest.commandline.command.Command runCommand
INFO: Running Command: migrateOut
Jan 02, 2020 11:51:11 AM com.ca.gateway.rest.commandline.command.Command runCommand
WARNING: Error executing command
javax.ws.rs.WebApplicationException: 500 Internal Server Error
    at com.ca.gateway.rest.api.GatewayManagementGatewayClient$IP10Folders$IdDependencies.getAsItemReferenceType(Unknown Source)
    at com.ca.gateway.rest.api.resource.impl.FolderEntityResource.getDependencies(Unknown Source)
    at com.ca.gateway.rest.api.resource.impl.FolderEntityResource.getPaletteTree(Unknown Source)
    at com.ca.gateway.rest.commandline.command.MigrateOutCommand.b(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)

 

Cause

Message Processing was not permitted on the port where the GMU was attempting to communicate.

Environment

Release : 9.4

Component : API GTW ENTERPRISE MANAGER

Resolution

1. Confirm if the listen port attempting to be used did not have the Published Service Message checked 
     which is required for the GMU to function as it calls the /restman service. It must to be Enabled.
2. If for security need to limited on the port being used then create a new port.
3. Check the Published Service Message, and from the Advanced Tab -> Service Resolution -> 
   Associate Port with published service -> Pick the Restman service. 

Notes :

- The port that is hard coded in the GMU is port 8443 as that is the standard port in the Gateway product.

- The port being used can be changed by adding -p in the command.

Additional Information

https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=769967