Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Garbled text appearing in link to Confluence page

I have the problem with cyrillic character encoding .
This problem is occured when i create an issue when viewing a Confluence page.
The issue is created with the GARBLED text link.
The same thing happens while adding link to a Confluence page from my Jira SD.
The heads of the Confluence pages to which points links consist of the Cyrillic characters.

Screenshot with the encoding problemProblemEncodingCyrCharacters.jpgm

Screenshot with the Confluence page to that Jira SD issue TT-3 links

2 answers

1 accepted

Need to add option:

-Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8

to JIRA and Confluence service parameter.

How to add options? Here:

specified these parameters-Dfile.encoding=utf-8-Sun. jnu.encoding=utf-8 in the setenv.bat file: 

set JVM_SUPPORT_RECOMMENDED_ARGS="-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8"


When starting start-here.bat, jira does not start, the tomcat window closes, the error in the logs below, how to fix it?:



Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]at org.apache.catalina.util.LifecycleBase.start( org.apache.catalina.core.ContainerBase$ org.apache.catalina.core.ContainerBase$ java.base/ java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( java.base/java.util.concurrent.ThreadPoolExecutor$ java.base/ by: org.apache.catalina.LifecycleException: A child container failed during startat org.apache.catalina.core.ContainerBase.startInternal( org.apache.catalina.core.StandardHost.startInternal( org.apache.catalina.util.LifecycleBase.start( 6 moreCaused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]at java.base/ java.base/java.util.concurrent.FutureTask.get( org.apache.catalina.core.ContainerBase.startInternal( 8 moreCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]at org.apache.catalina.util.LifecycleBase.start( 6 moreCaused by: java.lang.ExceptionInInitializerErrorat org.apache.log4j.Logger.getLogger( com.atlassian.logging.log4j.juli.JuliToLog4jHandler.publish( java.logging/java.util.logging.Logger.log( java.logging/java.util.logging.Logger.doLog( java.logging/java.util.logging.Logger.logp( org.apache.juli.logging.DirectJDKLog.log( org.apache.jasper.servlet.TldScanner.scanJars( org.apache.jasper.servlet.TldScanner.scan( org.apache.jasper.servlet.JasperInitializer.onStartup( org.apache.catalina.core.StandardContext.startInternal( org.apache.catalina.util.LifecycleBase.start( 6 moreCaused by: java.nio.charset.IllegalCharsetNameException: utf-8 -Dsun.jnu.encoding=UTF-8at java.base/java.nio.charset.Charset.checkName( java.base/java.nio.charset.Charset.lookup2( java.base/java.nio.charset.Charset.lookup( java.base/java.nio.charset.Charset.defaultCharset( java.base/sun.nio.cs.StreamEncoder.forOutputStreamWriter( java.base/<init>( org.apache.log4j.WriterAppender.createWriter( org.apache.log4j.ConsoleAppender.activateOptions( org.apache.log4j.config.PropertySetter.activate( org.apache.log4j.config.PropertySetter.setProperties( org.apache.log4j.config.PropertySetter.setProperties( org.apache.log4j.PropertyConfigurator.parseAppender( org.apache.log4j.PropertyConfigurator.parseCategory( org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers( org.apache.log4j.PropertyConfigurator.doConfigure( org.apache.log4j.PropertyConfigurator.doConfigure( org.apache.log4j.helpers.OptionConverter.selectAndConfigure( org.apache.log4j.LogManager.<clinit>( 18 more

02-Jan-2021 13:17:09.224 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8085"]

02-Jan-2021 13:17:09.224 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]

02-Jan-2021 13:17:09.224 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8085"]

0 votes
Jack Brickey Community Leader Mar 09, 2019

Have you checked other browsers?

In other browsers (Chrome, Opera) the same problem!

I did an Confluence encoding test. 

Тест 1: Строка текста
Эта тестовая строка, сгенерированная в Confluence
Тест 2: Отправка формы
Эта тестовая строка, вставленная вами в веб-форму и отправленная обратно Confluence
Тест 3: Прогон через базу данных (выбран нижний регистр)
Это строка из Теста 2 после того, как она была сохранена в базе данных, а затем извлечена в
нижнем регистре
Ожидаемый результат (конвертация Java- строки в нижний регистр)
Тест 4: Прогон через базу данных (выбран верхний регистр)
Это строка из Теста 2 после того как она была сохранена в базе данных, а затем извлечена в
верхнем регистре
Ожидаемый результат (конвертация строки Java в верхний регистр)
Тест 5: Поддержка международных имен файлов
Попробуйте записать файл в корневой каталог Сonfluence с тестовой строкой в качестве
имени файла
Файл успешно записан
Тест 6: Определение искажения международных имен файлов
Определите, исказила ли файловая система имя файла при сохранении
Имя файла было сохранено

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

632 views 5 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you