Cannot Insert Jira Gadget into Confluence
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Cannot insert JIRA issues or other JIRA issues in Confluence
The following appears in the atlassian-confluence.log
:
1
2
ERROR [http-8090-3] [[Standalone].[localhost].[/confluence].[servlet-module-container-servlet]] log Servlet.service() for servlet servlet-module-container-servlet threw exception
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
Cause
X11 forwarding enabled on ssh session with server containing JIRA or Confluence instance.
Resolution
Stop Confluence and JIRA.
Open a non X11 forwarding shell on server containing JIRA and Confluence.
Restart Confluence and JIRA from the new shell.
Was this helpful?