When Starting Confluence, ConfluenceTrackbackStore Errors are Thrown in Logs

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

    

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.

atlassian-confluence.log
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.

web.xml
  <servlet>
        <servlet-name>trackback</servlet-name>
        <servlet-class&gt;com.atlassian.trackback.TrackbackListenerServlet</servlet-class&gt;
        <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

Last modified on Sep 15, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.