Cannot Insert JIRA Gadget into Confluence when Running JIRA and Confluence on the Same Domain
Symptoms
When a user inserts a JIRA gadget into Confluence, the gadget shows in the macro browser preview pane but does not appear in the rich text editor once the insert button is clicked. The following error is seen in the Confluence server logs:
2010-07-21 12:06:24,699 WARN [http-8080-5] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.atlassian.confluence.pages.actions.WysiwygConverterAction and result input
-- referer: ... | url: /json/convertwikimarkuptoxhtmlwithoutpagewithspacekey.action | userName: user | action: convertwikimarkuptoxhtmlwithoutpagewithspacekey
Cause
This is caused by a clash of the JSESSIONID cookie and happens when JIRA and Confluence are running on the same domain or hostname as well as the same context path. For instance, http://example.com:8080
and http://example.com:8888
are both running on the adomain.com domain at the root (/) context path.
Resolution
There are several resolutions:
- Run JIRA and Confluence on different domains or subdomains. For example, jira.example.com and confluence.example.com.
- Use the same domain, and different context paths. i.e.,
http://example.com:8088/jira/
andhttp://example.com:8080/confluence/
After configuring Tomcat to use the new domain or context path, follow the steps at Configuring the Server Base URL.