Upgrading Confluence Causes 'java.lang.ClassNotFoundException - com.atlassian.confluence.user.ConfluenceLoginInterceptor'

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Server fails to start with the following error:

2010-07-08 07:10:29,839 ERROR [Spring executor 1] [plugin.osgi.factory.OsgiPlugin] onSpringContextFailed Unable to start the Spring context for plugin com.atlassian.confluence.plugins.confluence-sal-plugin
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://29.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exc
eption is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.RuntimeException: C
ould not load security config 'seraph-config.xml': Exception configuring from 'seraph-config.xml : com.atlassian.seraph.config.ConfigurationException: Could not getRequest service: com.atlassian.confluence.user.ConfluenceLoginInterceptor
: java.lang.ClassNotFoundException: com.atlassian.confluence.user.ConfluenceLoginInterceptor
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
...

Causes

The 'login-logger' interceptor provided logging facilities for the Confluence login process. This included logging the last and previous login dates for a particular user as they log in to Confluence. The ConfluenceLoginInterceptor has been removed in Confluence and it's functionality migrated to the LoginManager. In some upgrade situations, the seraph-config.xml configuration file would have been migrated from an earlier version which has this 'login-logger' interceptor declared.

Resolution

Modify the seraph-config.xml file and remove the following entry:

<interceptor name="login-logger" class="com.atlassian.confluence.user.ConfluenceLoginInterceptor"/>




























Last modified on Aug 12, 2019

Was this helpful?

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