I've installed Confluence to the same host as Jira and made an application link between them.
Now I want to add a Confluence gadget to Jira workspace, but it fails to add gadget to directory, saying that it is not able to parse xml with errors logged in catalina.out:
Unable to retrieve gadget xml. HTTP error 504