WSO2 Governance Registry - Error Creating registry extension file (RXT)

StackOverflow https://stackoverflow.com/questions/13655050

  •  03-12-2021
  •  | 
  •  

Question

When I am trying to upload the registry extension file (RXT) as Add resource - Create text content, I am getting the following error

Failed to add resource with text based content to path /_system/governance/repository/components/org.w so2.carbon.governance/types/myuri.rxt. An exception occurred while executing han dler chain. java.lang.String cannot be cast to [B

I even tried to copy the same contents from an exisitng RXT for API or URI and tried to upload it and got the same error

I also referred to the Issue Tracker sample around creating extensions, still got the same error
Était-ce utile?

La solution

Do you get this error when trying to upload the RXT file via the management console? If so, please try adding the RXT file to the following location: G-Reg_home/repository/resources/rxts

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top