Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8341

J2EE uninstall needs more detailed error reporting if invalid xml is found in tomcat configuration

    XMLWordPrintable

    Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Expired
    • JEEAgents-3.5.0
    • None
    • j2ee agents
    • Rank:
      1|hzqzm7:
    • 2019.11 - Agents

      Description

      If during agentadmin --uninstall an invalid character is found in apache's web.xml, such as:

      # <!-- comment --> 
      

      The error reported is:

      [02/10/2016 16:17:55:332 CET] ConfigDirValidator.isConfigDirValid(): Global Web XML file path is: /tomcat/apache-
      
      tomcat/conf/web.xml 
      [02/10/2016 16:17:55:339 CET] ConfigDirValidator.getDefaultValue(): Encountered exception: First token not bounded: [unbounded(=>
      
      #):41]:
      
      # 
      java.lang.Exception: First token not bounded: [unbounded(=> #):41]:
      
      #
      

      It would be helpful if more explanation accompanied the exception.

        Attachments

          Activity

            People

            tony.bamford Tony Bamford
            andrew.dunn Andrew Dunn [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: