Jira does not start after modifying the web.xml files

お困りですか?

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

コミュニティに質問

問題

JIRA is not starting even after displaying the following messages in the application and catalina.out log

catalina.out
17-Apr-2019 13:18:17.236 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 131668 ms

診断

Diagnostic Steps

After verifying the application log, we can notice that the web.xml file is modified with the message Modified Files: WEB-INF/web.xml. While we know that the file has been modified, to troubleshoot further we can add the following logging to gather additional information

Modify the logging.properties file in <jira_home>/atlassian-jira/WEB-INF/classes/ and add the following. This would enable catalina to log additional information while parsing the web.xml file

org.apache.catalina.core.ContainerBase.[Catalina].level = TRACE
org.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler

原因

We noticed after enabling the above logging that web.xml file had some additional filters from older JIRA version added which did not have the corresponding class files in the newer version. An error message similar to below would be seen. Then those filters identified by the log can be removed from the web.xml file.

17-Apr-2019 13:17:53.129 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [prevent-ie-accept-css-vulnerability]
 java.lang.ClassNotFoundException: 

ソリューション

Do not modify the web.xml file under <jira_installation>/atlassian-jira/WEB-INF/ unless there is a need for it or replace it from a different version of JIRA.



最終更新日 2021 年 11 月 18 日

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

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