一看必会系列:confluence 不显示验证码的解决方案

真正的解决方案

Cause

This is caused because of missing fonts, due to which the application cannot perform graphics rendering. Although we support OpenJDK it’s likely that this issue was caused because, the package manager used to install Java didn’t install "Java fonts".

Resolution

  1. Install the JDK Fonts package on top of the Oracle JDK by running:

    sudo apt-get install deja*

 

 

 

下面的都没毛用,不用看

 

https://confluence.atlassian.com/confkb/captcha-image-does-not-display-when-confluence-is-hosted-on-a-non-english-system-310379212.html

Resolution

  • ------中间广告---------

    Add the following system property to Confluence, using the instructions at Configuring System Properties:

     -Dfile.encoding=UTF-8
  • Restart Confluence

o configure System Properties in Linux installations:

  1. Edit the <installation-directory>/bin/setenv.sh file. 
  2. Find the section CATALINA_OPTS=

    (this is JAVA_OPTS= in Confluence 5.5 and earlier)

  3. Refer to the list of parameters in Recognized System Properties.

(info) Add all parameters in a space-separated list, inside the quotations.

 

 

Windows (starting from .bat file)

To Configure System Properties in Windows Installations When Starting from the .bat File:

  1. Edit the <installation-directory>/bin/setenv.bat file. 
  2. Find the section set CATALINA_OPTS=%CATALINA_OPTS%

    (this is JAVA_OPTS=%JAVA_OPTS% in Confluence 5.5 and earlier)
  3. Refer to the list of parameters in Recognized System Properties.

(info) Add all parameters in a space-separated list. Make sure to keep the string %CATALINA_OPTS% in place.

发表评论