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

来源:本站原创 网络技术 超过47 views围观 0条评论

真正的解决方案

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.

文章出自:CCIE那点事 http://www.jdccie.com/ 版权所有。本站文章除注明出处外,皆为作者原创文章,可自由引用,但请注明来源。 禁止全文转载。
本文链接:http://www.jdccie.com/?p=3946转载请注明转自CCIE那点事
如果喜欢:点此订阅本站
  • 相关文章
  • 为您推荐
  • 各种观点

暂时还木有人评论,坐等沙发!
发表评论

快捷键:Ctrl+Enter