[ https://issues.apache.org/jira/browse/KNOX-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839807#comment-17839807 ]
ASF subversion and git services commented on KNOX-3030: ------------------------------------------------------- Commit 1018a3b29ca716b9fbdc5870b132238a9dcc7e91 in knox's branch refs/heads/master from Sandor Molnar [ https://gitbox.apache.org/repos/asf?p=knox.git;h=1018a3b29 ] KNOX-3030 - Make TopologyUtils.parse thread safe (#901) Besides this, Knox logs the faulty generated content when it's about to be peristed on the disk. > SAXException occurs while parsing old topology on the descriptor handle path > ---------------------------------------------------------------------------- > > Key: KNOX-3030 > URL: https://issues.apache.org/jira/browse/KNOX-3030 > Project: Apache Knox > Issue Type: Bug > Components: Server > Reporter: Sandor Molnar > Assignee: Sandor Molnar > Priority: Critical > Fix For: 2.1.0 > > Time Spent: 20m > Remaining Estimate: 0h > > In highly concurrent environments Knox may fail to parse the generated > topology from descriptors/shared providers thus topology deployment fails > with the following error: > {noformat} > 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. > {noformat} > This will lead to unreachable end-user endpoints. -- This message was sent by Atlassian Jira (v8.20.10#820010)