Crowd users unable to access Confluence due to 'Not Permitted' error

Still need help?

The Atlassian Community is here for you.

Ask the community

This article only applies to Atlassian's server products. Learn more about the differences between cloud and server.

Problem

  • Users are (intermittently) denied access to Confluence with Not Permitted error. However, flushing the Confluence cache grants access to the users.
  • The error in the atlassian-confluence.log is:

    2009-09-23 13:58:59,180 http-8095-Processor24 ERROR [console.action.group.BrowseGroups] The com.atlassian.crowd.integration.directory.caching-identifier-usnchanged32770 Cache is not alive.
    java.lang.IllegalStateException: The com.atlassian.crowd.integration.directory.caching-identifier-usnchanged32770 Cache is not alive.
       at net.sf.ehcache.Cache.checkStatus(Cache.java:1204)
       at net.sf.ehcache.Cache.get(Cache.java:650)
       at net.sf.ehcache.Cache.get(Cache.java:631)
       at com.atlassian.crowd.integration.directory.cache.DefaultDirectoryCache.getFromCache(DefaultDirectoryCache.java:315)
    
  • Confluence version is 3.0.1 or higher and Crowd version is prior to 2.0.2.

Cause

Confluence 3.0.1 or higher uses Ehcache which conflicts with Crowd's cache (also Ehcache).

Resolution

Upgrade Crowd to version 2.0.2 which contains the fix.

Workaround

See comment in CWD-1707.

   

 

Last modified on Jul 31, 2015

Was this helpful?

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