Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-3030

SAXException occurs while parsing old topology on the descriptor handle path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.1.0
    • Server
    • None

    Description

      In highly concurrent environments  Knox may fail to parse the generated topology from descriptors/shared providers thus topology deployment fails with the following error:

      2024-01-26 10:35:25,173 ERROR topology.simple (SimpleDescriptorHandler.java:shouldPersistGeneratedTopology(682)) - Error comparing the generated cdp-proxy topology with the existing version: org.xml.sax.SAXParseException; lineNumber: 35; columnNumber: 20; Error at line 35 char 20: class org.apache.knox.gateway.topology.Provider cannot be cast to class org.apache.knox.gateway.topology.Param (org.apache.knox.gateway.topology.Provider and org.apache.knox.gateway.topology.Param are in unnamed module of loader java.net.URLClassLoader @668bc3d5)
      2024-01-26 10:35:25,173 INFO  topology.simple (SimpleDescriptorHandler.java:generateTopology(622)) - Skipping redeployment of the cdp-proxy topology because it already exists and has not changed. 

       This will lead to unreachable end-user endpoints.

      Attachments

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              smolnar Sandor Molnar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m