Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
ConfluencePage.jpgt

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:

https://confluence.atlassian.com/adminjiraserver/setting-properties-and-options-on-startup-938847831.html#Settingpropertiesandoptionsonstartup-startup_params

egregor x I'm New Here Jan 02, 2021

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?:

 

logs:

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1423)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1413)at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)at java.base/java.lang.Thread.run(Thread.java:834)Caused by: org.apache.catalina.LifecycleException: A child container failed during startat org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953)at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:882)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)... 6 moreCaused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)... 8 moreCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)... 6 moreCaused by: java.lang.ExceptionInInitializerErrorat org.apache.log4j.Logger.getLogger(Logger.java:104)at com.atlassian.logging.log4j.juli.JuliToLog4jHandler.publish(JuliToLog4jHandler.java:51)at java.logging/java.util.logging.Logger.log(Logger.java:979)at java.logging/java.util.logging.Logger.doLog(Logger.java:1006)at java.logging/java.util.logging.Logger.logp(Logger.java:1172)at org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:180)at org.apache.juli.logging.DirectJDKLog.info(DirectJDKLog.java:123)at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:264)at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104)at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:101)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5225)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)... 6 moreCaused by: java.nio.charset.IllegalCharsetNameException: utf-8 -Dsun.jnu.encoding=UTF-8at java.base/java.nio.charset.Charset.checkName(Charset.java:308)at java.base/java.nio.charset.Charset.lookup2(Charset.java:482)at java.base/java.nio.charset.Charset.lookup(Charset.java:462)at java.base/java.nio.charset.Charset.defaultCharset(Charset.java:608)at java.base/sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:56)at java.base/java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:110)at org.apache.log4j.WriterAppender.createWriter(WriterAppender.java:251)at org.apache.log4j.ConsoleAppender.activateOptions(ConsoleAppender.java:141)at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:672)at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)... 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 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
Iñtërnâtiônàlizætiøn
Тест 2: Отправка формы
Эта тестовая строка, вставленная вами в веб-форму и отправленная обратно Confluence
Iñtërnâtiônàlizætiøn
Тест 3: Прогон через базу данных (выбран нижний регистр)
Это строка из Теста 2 после того, как она была сохранена в базе данных, а затем извлечена в
нижнем регистре
iñtërnâtiônàlizætiøn
Ожидаемый результат (конвертация Java- строки в нижний регистр)
iñtërnâtiônàlizætiøn
Тест 4: Прогон через базу данных (выбран верхний регистр)
Это строка из Теста 2 после того как она была сохранена в базе данных, а затем извлечена в
верхнем регистре
IÑTËRNÂTIÔNÀLIZÆTIØN
Ожидаемый результат (конвертация строки Java в верхний регистр)
IÑTËRNÂTIÔNÀLIZÆTIØN
Тест 5: Поддержка международных имен файлов
Попробуйте записать файл в корневой каталог Сonfluence с тестовой строкой в качестве
имени файла
Файл успешно записан
Тест 6: Определение искажения международных имен файлов
Определите, исказила ли файловая система имя файла при сохранении
Имя файла было сохранено

Suggest an answer

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

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

170 views 0 4
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