Error message after upgrade from 8.5.1 to 8.5.2 confluence
Asked by Francisco Ferrara:

Hi,

After upgrade from 8.5.1 to 8.5.2, Confluence does not start.

Error:

<br />

ERROR \[http-nio-8080-exec-2\] \[atlassian.confluence.util.AbstractBootstrapHotSwappingFilter\] doFilter Could not get swap target filter

<br />

Log:

Oct 11 14:57:18 confluence-service-439s start-confluence.sh\[2439\]: \[11.952s\]\[info \]\[gc,cpu \] GC(8) User=0.01s Sys=0.00s Real=0.02s  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: 2023-10-11 14:57:19,917 Catalina-utility-1 ERROR Unable to create Filter com.atlassian.confluence.impl.logging.filter.BurstFilter due to ClassNotFoundException:com.atlassian\>  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at java.base/java.lang.Class.forName0(Native Method)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at java.base/java.lang.Class.forName(Unknown Source)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.util.LoaderUtil.loadClass(LoaderUtil.java:148)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.util.LoaderUtil.newInstanceOf(LoaderUtil.java:186)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.config.PropertiesConfiguration.newInstanceOf(PropertiesConfiguration.java:604)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.config.PropertiesConfiguration.buildFilter(PropertiesConfiguration.java:583)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.config.PropertiesConfiguration.parseAppenderFilters(PropertiesConfiguration.java:574)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.builders.appender.ConsoleAppenderBuilder.parseAppender(ConsoleAppenderBuilder.java:123)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at com.atlassian.confluence.impl.logging.log4j.appender.Log4j2ConfluenceHomeLogAppenderBuilder.lambda$parseAppender$0(Log4j2ConfluenceHomeLogAppenderBuilder.java:77)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at com.atlassian.confluence.impl.logging.log4j.appender.Log4j2ConfluenceHomeLogAppenderBuilder.createDeferredFileAppender(Log4j2ConfluenceHomeLogAppenderBuilder.java\>  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at com.atlassian.confluence.impl.logging.log4j.appender.Log4j2ConfluenceHomeLogAppenderBuilder.parseAppender(Log4j2ConfluenceHomeLogAppenderBuilder.java:79)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at com.atlassian.confluence.impl.logging.log4j.appender.Log4j2ConfluenceHomeLogAppenderBuilder.parseAppender(Log4j2ConfluenceHomeLogAppenderBuilder.java:30)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.builders.BuilderManager.parseAppender(BuilderManager.java:144)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.config.PropertiesConfiguration.parseAppender(PropertiesConfiguration.java:456)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.config.PropertiesConfiguration.parseLogger(PropertiesConfiguration.java:431)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.config.PropertiesConfiguration.parseLoggers(PropertiesConfiguration.java:376)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.config.PropertiesConfiguration.doConfigure(PropertiesConfiguration.java:329)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.config.PropertiesConfiguration.doConfigure(PropertiesConfiguration.java:129)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.log4j.config.Log4j1Configuration.initialize(Log4j1Configuration.java:66)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:304)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:621)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:694)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:711)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:253)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:137)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:61)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at com.atlassian.confluence.web.filter.DebugFilter.\<clinit\>(DebugFilter.java:27)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at com.atlassian.confluence.impl.webapp.ServletFilters.\<clinit\>(ServletFilters.java:108)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at com.atlassian.confluence.impl.webapp.ServletsInitializer.onStartup(ServletsInitializer.java:18)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:174)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4936)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1328)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1318)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at java.base/java.util.concurrent.FutureTask.run(Unknown Source)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)  
Oct 11 14:57:19 confluence-service-439s start-confluence.sh\[2439\]: at java.base/java.lang.Thread.run(Unknown Source)

**ERROR** \[http-nio-8080-exec-2\] \[atlassian.confluence.util.AbstractBootstrapHotSwappingFilter\] doFilter Could not get swap target filter

Any id?as what could be wrong?

Thanks.


Answers:
author: Francisco Ferrara
body: I solved it by adding the following line to the configuration file "confluence.cfg.xml"

\<property name="confluence.cluster.interface"\>ens4\</property\>

Thanks you


Tags: confluence-server

server