[ 
https://issues.apache.org/jira/browse/KNOX-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandor Molnar updated KNOX-3030:
--------------------------------
    Description: 
In highly concurrent environments  Knox may fail to parse degenrated 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.

  was:
In highly concurrent environments  Knox may fail to parse 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.


> 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: 10m
>  Remaining Estimate: 0h
>
> In highly concurrent environments  Knox may fail to parse degenrated 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)

Reply via email to