Unable to insert any macros through the macro browser due to JAVA errors

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

問題

When inserting macros in the page editor from Menu -> Insert -> Other Macros, the available macros do not load.

The following appears in the atlassian-confluence.log just after Confluence startup:

2015-07-27 13:34:41,373 ERROR [localhost-startStop-1] [atlassian.confluence.security.DefaultCaptchaManager] afterPropertiesSet Could not initialise CAPTCHA service. The most likely reason for thisis that Java's graphics subsystem is not properly configured. Try startingConfluence's JVM with the -Djava.awt.headless=true option. /opt/jdk1.8.0_51/jre/lib/amd64/libfontmanager.so: ld.so.1: java: fatal: libXext.so.0: open failed: No such file or directory
java.lang.UnsatisfiedLinkError: /opt/jdk1.8.0_51/jre/lib/amd64/libfontmanager.so: ld.so.1: java: fatal: libXext.so.0: open failed: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)

原因

  1. Confluence is running on OpenJDK which is unsupported
  2.  libfontmanager.so and libXext.so.0 from the JAVA lib could not be located

ソリューション 1

  1. Install a supported JDK. OpenJDK is not supported by Confluence.  A number of problems can occur when using OpenJDK, as Confluence's internal code as well as third party plugins assume you are using a supported JDK.

ソリューション 2

  1. Re-install Oracle JDK in the system, or import the JAVA lib into the location specified by the error log

 

 

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.