Return to Jive Software

Skip navigation
1,103 Views 4 Replies Last post: Feb 13, 2009 11:36 AM by todd.west RSS
rrutan Intermediate 753 posts since
Jun 5, 2007
Currently Being Moderated

Feb 13, 2009 7:41 AM

Apparent issue with Coherence User Cache with SSO implementation...

Ran across this in our log files (not Clearspace, but our Application Server log files).

 

Looks like the MultiProviderUserManager.createApplicationUser method is bombing out on some of it's requests intermittently.  From the stack-trace, it looks like the updateCaches method is probably throwing the error.

 

This doesn't appear to be end-user impacting, but thought it was worth noting in case its something a simple configuration to the coherence-cache-config can fix.

 

Here is the stacktrace:

java.lang.RuntimeException: Failed to create application user User: 11443 [xxx] [xxx@xxx.com]
 at com.jivesoftware.base.profile.MultiProviderUserManager.__AW_createApplicationUser(MultiProviderUserManager.java:211)
 at com.jivesoftware.base.profile.MultiProviderUserManager.createApplicationUser(MultiProviderUserManager.java)
 at com.jivesoftware.base.profile.MultiProviderUserManager.__AW_createUser(MultiProviderUserManager.java:244)
 at com.jivesoftware.base.profile.MultiProviderUserManager.createUser(MultiProviderUserManager.java)
 at com.ni.apps.nijive.plugins.user.NiupSSORememberMeServices.createOrUpdateJiveUser(NiupSSORememberMeServices.java:250)
 at com.ni.apps.nijive.plugins.user.NiupSSORememberMeServices.initJiveSession(NiupSSORememberMeServices.java:211)
 at com.ni.apps.nijive.plugins.user.NiupSSORememberMeServices.autoLogin(NiupSSORememberMeServices.java:100)
 at com.ni.apps.nijive.plugins.user.NiupSSOProcessingFilter.doFilter(NiupSSOProcessingFilter.java:37)
 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
 at org.acegisecurity.context.HttpSessionContextIntegrationFilter.__AW_doFilter(HttpSessionContextIntegrationFilter.java:249)
 at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java)
 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
 at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
 at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
 at com.jivesoftware.community.web.filter.ApplicationStateFilter.__AW_doFilter(ApplicationStateFilter.java:145)
 at com.jivesoftware.community.web.filter.ApplicationStateFilter.doFilter(ApplicationStateFilter.java)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.handleNotFound(HttpRequestHandler.java:1041)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.AJPRequestHandler.__AW_run(AJPRequestHandler.java:302)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
 at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
 at java.lang.Thread.run(Thread.java:595)
Caused by: (Wrapped) java.io.EOFException
 at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:209)
 at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$ConverterFromBinary.convert(DistributedCache.CDB:4)
 at com.tangosol.util.ConverterEnumerator.next(ConverterEnumerator.java:99)
 at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
 at com.jivesoftware.community.impl.EntitlementManagerImpl.removeCacheEntries(EntitlementManagerImpl.java:410)
 at com.jivesoftware.community.impl.EntitlementManagerImpl.__AW_addEntitlement(EntitlementManagerImpl.java:115)
 at com.jivesoftware.community.impl.EntitlementManagerImpl.addEntitlement(EntitlementManagerImpl.java)
 at com.jivesoftware.community.impl.UserContainerManagerImpl.createUserContainer(UserContainerManagerImpl.java:102)
 at com.jivesoftware.base.profile.MultiProviderUserManager.__AW_createApplicationUser(MultiProviderUserManager.java:202)
 ... 27 more
todd.west Jive Employee 15,926 posts since
Jul 14, 2008
Currently Being Moderated
Feb 13, 2009 10:29 AM in response to: Ryan Rutan
Re: Apparent issue with Coherence User Cache with SSO implementation...

Hey Ryan,

 

This is a known issue affecting only Clearspace 2.5.4. There was in issue with one of the coherence cache types getting changed that causes this error to get thrown. There is a fix you can make if you absolutely have to be on 2.5.4, otherwise I would suggest patching to 2.5.7 as all of these issues have been resolved (Officially fixed in 2.5.6 by the way). Let me know if you have any questions. Thanks!

 

-Todd

todd.west Jive Employee 15,926 posts since
Jul 14, 2008
Currently Being Moderated
Feb 13, 2009 11:35 AM in response to: Ryan Rutan
Re: Apparent issue with Coherence User Cache with SSO implementation...

Hey Ryan,

 

Sure, it shouldn't be too difficult. All you need to change is the following entry:

 

<cache-mapping>
    <cache-name>Entitlement Cache</cache-name>

        <scheme-name>default-near</scheme-name>

 

From default-near to:

 

        <scheme-name>default-backing-map</scheme-name>

 

 

You'll need to do this on both nodes after they have been brought down. Let me know if this works. Thanks!

 

-Todd

todd.west Jive Employee 15,926 posts since
Jul 14, 2008
Currently Being Moderated
Feb 13, 2009 11:36 AM in response to: Todd West
Re: Apparent issue with Coherence User Cache with SSO implementation...

Oh yeah, thats in coherence-cache-config.xml by the way.

 

-Todd

More Like This

  • Retrieving data ...

Bookmarked By (0)

Case Product Issues

Loading Jira issues

Loading related product issues for this case
To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.