When Starting Confluence, ConfluenceTrackbackStore Errors are Thrown in Logs
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
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.
*Except Fisheye and Crucible
Summary
When Starting Confluence, ConfluenceTrackbackStore Errors are thrown in Logs
Environment
Confluence 7.0 and newer
Diagnosis
The following error is found in atlassian-confluence.log during startup.
2020-09-02 23:51:27,698 ERROR [Catalina-utility-2] [com.atlassian.trackback.TrackbackListenerServlet] init Could not find or create class: com.atlassian.confluence.links.persistence.ConfluenceTrackbackStore from init-param named trackbackStore
java.lang.ClassNotFoundException: com.atlassian.confluence.links.persistence.ConfluenceTrackbackStore
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.atlassian.trackback.TrackbackListenerServlet.init(TrackbackListenerServlet.java:82)
Cause
The Trackback feature has been removed starting with Confluence 7.0, per Confluence 7.0 Release Notes.
There is a customization in <confluence-install>/confluence/confluence-WEB-INF/web.xml that is attempting to load Trackback.
<servlet>
<servlet-name>trackback</servlet-name>
<servlet-class>com.atlassian.trackback.TrackbackListenerServlet</servlet-class>
<init-param>
<param-name>trackbackStore</param-name>
<param-value>com.atlassian.confluence.links.persistence.ConfluenceTrackbackStore</param-value>
</init-param>
<load-on-startup>7</load-on-startup>
</servlet>
...
<servlet-mapping>
<servlet-name>trackback</servlet-name>
<url-pattern>/rpc/trackback/*</url-pattern>
</servlet-mapping>
Solution
Remove the trackback lines above from <confluence-install>/confluence/confluence-WEB-INF/web.xml and restart Confluence