Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 920367 - ClusteredSingleSignOn ClassCastException with non-distributable apps
ClusteredSingleSignOn ClassCastException with non-distributable apps
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering (Show other bugs)
6.0.1
Unspecified Unspecified
unspecified Severity unspecified
: ER5
: EAP 6.1.0
Assigned To: dereed
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-11 18:12 EDT by dereed
Modified: 2013-07-23 14:40 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-23 14:38:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
test for BZ920367 (7.56 KB, patch)
2013-03-21 18:15 EDT, dereed
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker AS7-6681 Major Resolved ClusteredSingleSignOn ClassCastException with non-distributable apps 2016-02-19 07:09 EST

  None (edit)
Description dereed 2013-03-11 18:12:49 EDT
https://issues.jboss.org/browse/AS7-6681

When ClusteredSingleSignOn is enabled, and a user has an active session in a non-distributable web application, invalidating any session in the same SSO from a different AS instance in the cluster causes the following exception (logged numerous times in various ways):

ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (OOB-20,null) ISPN000136: Execution error: org.infinispan.CacheException: Caught exception [java.lang.ClassCastException] while invoking method [public void org.jboss.as.clustering.web.sso.infinispan.SSOClusterManager.cacheEntryRemoved(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent)] on listener instance: org.jboss.as.clustering.web.sso.infinispan.SSOClusterManager@28e13c84
...
Caused by: java.lang.ClassCastException: org.apache.catalina.session.StandardSession cannot be cast to org.jboss.as.web.session.ClusteredSession
at org.jboss.as.web.sso.ClusteredSingleSignOn.deregisterLocal(ClusteredSingleSignOn.java:523) [jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
...
Comment 3 dereed 2013-03-21 18:15:54 EDT
Created attachment 714125 [details]
test for BZ920367

Attaching AS7 test case as a patch.

Does not detect the bug in EAP 6.1+ due to unrelated changes.
Comment 8 Jitka Kozana 2013-04-29 09:04:26 EDT
Verified.

Note You need to log in before you can comment on or make changes to this bug.