Layer7 API Management

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

    Posted Jul 17, 2016 06:13 PM

    I am unable to run any GMU utility commands. I get below error:

     

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

     

    What does this mean?

     

    Note: We are running the Layer application on AWS.



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

    Broadcom Employee
    Posted Jul 19, 2016 03:47 PM

    What is the GMU command you are running?

    Also this seems like an XML problem. My guess would be there is a line at the top in the first couple that is wrapping or missing the > from the end.

     

    How was the XML generated? was it done using GMU?

    Have you tried using POSTMAN or SoapUI with the XML and bypassing GMU to see if theres an issue?



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

    Posted Jul 19, 2016 05:23 PM

    Command:

    ./GatewayMigrationUtility.sh migrateOut --argFile properties/qa.apipm.properties --dest exports/Testing.xml --encryptionPassphrase @file:properties/qa.encrypt.password -serviceName Testing

     

    Error:

    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

     

    It does work using RESTMAN.

     

    https://***/restman/1.0/services

     

    Thanks

    Ramana,



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

    Posted Jul 20, 2016 12:53 AM

    Not sure you need to use "@file" to reference the password file.

     

    Here is an example of referencing a file in GMU command:

    ./GatewayMigrationUtility.sh browse -z argFile.properties



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

    Posted Jul 20, 2016 12:55 PM

    Both these commands should work. We tried both, it results in same error.

     

    Thanks

    Ramana.



  • 6.  Re: [Fatal Error] loose.dtd:31:3: The declaration for the entity "HTML.Version" must end with '>'
    Best Answer

    Broadcom Employee
    Posted Aug 29, 2016 01:32 PM

    Based on the case that was created the issue was that 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 was discussed that if security wanted to be limited on the port being used then create a new port, check the Published Service Message, and on the Advanced tab -> Service Resolution -> Associate Port with published service -> Pick the restman service. 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.

     

    Sincerely,

     

    Stephen Hughes

    Director, CA Support