After upgrading, Confluence Data Center service does not start anymore

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

 

要約

After upgrading your Confluence installation to Confluence 7.15.0 or higher, Confluence service does not start anymore

環境

Confluence 7.15.0 or higher. 

診断

The below error is observed in the atlassian-confluence.log

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Standalone].StandardHost[localhost].StandardContext[]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter name [AccessLogFilter]
        at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:3067)
        at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:3029)
        at org.apache.catalina.startup.ContextConfig.configureContext(ContextConfig.java:1453)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1335)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:986)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:303)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) 

原因

This error implies that there is a custom logging for an "AccessLogFilter" entry enabled in either CONFLUENCE_INSTALL/confluence/WEB-INF/classes/log4j.properties or CONFLUENCE_INSTALL/confluence/WEB-INF/web.xml files.

From Confluence 7.15 onwards the filter name for the AccessLogFilter was removed from the web.xml  file. This filter name and filter mapping are now being passed on the server.xml  file. Hence, the AccessLogFilter in the web.xml that was copied from a previous installation causes this issue. 

ソリューション

Follow the steps below to resolve the situation: 

  1. Confluence を停止します。
  2. Search by the AccessLogFilter entry in the CONFLUENCE_INSTALL/confluence/WEB-INF/classes/log4j.properties or CONFLUENCE_INSTALL/confluence/WEB-INF/web.xml files.
  3. Edit the file and comment out the AccessLogFilter entry. 
  4. Confluence を起動します。


最終更新日 2024 年 9 月 18 日

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

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