Can't find ${seraph.version) placeholder
Asked by kgrabow:

After upgrading confluence server from 8.0.3 to 8.5.2, I'm getting the following error message trying to start the confluence server. I assume something didn't get set in a properties file somewhere but I can't seem to find it.

2023-10-14 18:37:45,669 WARN \[Catalina-utility-1\] \[confluence.plugin.spring.PackageScannerConfigurationFactory\] lambda$filterPackageVersions$0 Invalid package to version mapping for 'com.atlassian.seraph.filter'. Configured version: '${seraph.version}'.  
2023-10-14 18:37:45,676 WARN \[Catalina-utility-1\] \[confluence.plugin.spring.PackageScannerConfigurationFactory\] lambda$filterPackageVersions$0 Invalid package to version mapping for 'com.atlassian.seraph.filter'. Configured version: '${seraph.version}'.  
2023-10-14 18:37:48,445 Catalina-utility-1 ERROR Unable to create Filter com.atlassian.confluence.impl.logging.filter.BurstFilter due to ClassNotFoundException:com.atlassian.confluence.impl.logging.filter.BurstFilter java.lang.ClassNotFoundException: com.atlassian.confluence.impl.logging.filter.BurstFilter  
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412)  
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)  
at java.base/java.lang.Class.forName0(Native Method)  
at java.base/java.lang.Class.forName(Unknown Source)  
at org.apache.logging.log4j.util.LoaderUtil.loadClass(LoaderUtil.java:148)  
at org.apache.logging.log4j.util.LoaderUtil.newInstanceOf(LoaderUtil.java:186)  
at org.apache.log4j.config.PropertiesConfiguration.newInstanceOf(PropertiesConfiguration.java:604)  
at org.apache.log4j.config.PropertiesConfiguration.buildFilter(PropertiesConfiguration.java:583)  
at org.apache.log4j.config.PropertiesConfiguration.parseAppenderFilters(PropertiesConfiguration.java:574)  
at org.apache.log4j.builders.appender.RollingFileAppenderBuilder.parseAppender(RollingFileAppenderBuilder.java:128)  
at com.atlassian.confluence.impl.logging.log4j.appender.Log4j2ConfluenceHomeLogAppenderBuilder.lambda$parseAppender$0(Log4j2ConfluenceHomeLogAppenderBuilder.java:77)  
at com.atlassian.confluence.impl.logging.log4j.appender.Log4j2ConfluenceHomeLogAppenderBuilder.createFileAppender(Log4j2ConfluenceHomeLogAppenderBuilder.java:102)  
at com.atlassian.confluence.impl.logging.log4j.appender.Log4j2ConfluenceHomeLogAppenderBuilder.lambda$createDeferredFileAppender$1(Log4j2ConfluenceHomeLogAppenderBuilder.java:87)  
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Unknown Source)  
at com.atlassian.confluence.impl.util.Memoizer.lambda$doMemoize$0(Memoizer.java:25)  
at com.atlassian.confluence.impl.logging.log4j.appender.DeferredFileAppender.switchToFileAppender(DeferredFileAppender.java:96)  
at com.atlassian.confluence.impl.logging.log4j.appender.DeferredFileAppender.lambda$registerForLogDirectoryConfiguration$0(DeferredFileAppender.java:83)  
at com.atlassian.confluence.impl.logging.LogAppenderController.lambda$reconfigureAppendersWithLogDirectory$0(LogAppenderController.java:84)  
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(Unknown Source)  
at com.atlassian.confluence.impl.logging.LogAppenderController.reconfigureAppendersWithLogDirectory(LogAppenderController.java:82)  
at com.atlassian.confluence.impl.logging.LogAppenderController.reconfigureAppendersWithLogDirectory(LogAppenderController.java:66)  
at com.atlassian.confluence.impl.logging.LogAppenderController.reconfigureAppendersWithLogDirectory(LogAppenderController.java:61)  
at com.atlassian.confluence.logging.ConfluenceLoggingConfigurationListener.onApplicationEvent(ConfluenceLoggingConfigurationListener.java:68)  
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)  
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)  
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)  
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)  
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)  
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseBootstrapContext(ConfluenceConfigurationListener.java:153)  
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:72)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4492)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4946)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1328)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1318)  
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)


Answers:
author: Lebedyan
body: Hi, [@kgrabow](/t5/user/viewprofilepage/user-id/4982319) !  
I faced a similar problem, tell me please, did you manage to solve it? How did you fix this problem?


author: Matthew Davies
body: Can confirm I'm seeing these very same warnings at startup in version 8.5.2 as well

I can see that at the very beginning of startup that this event is logged to console

"INFO: Generating /opt/atlassian/confluence/confluence/WEB-INF/classes/seraph-config.xml from template seraph-config.xml.j2"  

So it would appear that a seraph-config file is present and correct prior to the WARNING events related to seraph are logged later during startup


author: Javier Ju?rez
body: I don't know about the WARNINGs (I got them too), but you can fix the ERRORs by commenting some lines on log4j.properties file.

Check this out: <https://confluence.atlassian.com/confkb/burstfilter-logging-with-classnotfoundexception-com-atlassian-confluence-impl-logging-filter-burstfilter-for-confluence-8-4-1-and-later-1283492364.html>


Tags: confluence-server

server