Bug 958888

Summary: Portal not expiring portlet application sessions at logout
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Martin Weiler <mweiler>
Component: PortalAssignee: Default User <jbpapp-maint>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: bdawidow, epp-bugs, tkyjovsk
Target Milestone: ER01   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1033556 (view as bug list) Environment:
Last Closed: 2013-11-07 14:22:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Byteman script to debug session expiration none

Description Martin Weiler 2013-05-02 15:24:01 UTC
Description of problem:
At user logout, the main portal session gets invalidated. The sessions of the individual portlet sessions, however, are not expired.

In EPP 5.2.x, the WCI layer took care of expiring all portlet sessions.

How reproducible:
Always


Steps to Reproduce:
1. Start JPP 6.0.0, install the attached byteman rule
2. Log in as root, access the admin portlets, and log out again
  
Actual results:
Session for /portal context is expired:
16:53:36,755 INFO  [stdout] (http-/127.0.0.1:8080-3) byteman >>> *** INVALIDATE SESSION nAS4OIgoBq6xOD4m8JOH0Lcm, context: /portal
16:53:36,755 INFO  [stdout] (http-/127.0.0.1:8080-3) byteman >>> *** EXPIRE SESSION nAS4OIgoBq6xOD4m8JOH0Lcm, context: /portal


Expected results:
Session for other contexts getting expired, too:
16:51:51,499 INFO  [STDOUT] byteman >>> *** INVALIDATE SESSION 45A33D6AC0D443B65E9D39DAE66571B0, context: /portal
16:51:51,500 INFO  [STDOUT] byteman >>> *** EXPIRE SESSION 45A33D6AC0D443B65E9D39DAE66571B0, context: /portal
16:51:51,556 INFO  [STDOUT] byteman >>> *** EXPIRE SESSION 45A33D6AC0D443B65E9D39DAE66571B0, context: /exoadmin
16:51:51,558 INFO  [STDOUT] byteman >>> *** EXPIRE SESSION 45A33D6AC0D443B65E9D39DAE66571B0, context: /web


Additional info:

Comment 1 Martin Weiler 2013-05-02 15:24:39 UTC
Created attachment 742759 [details]
Byteman script to debug session expiration

Comment 3 Tomas Kyjovsky 2013-08-14 14:32:07 UTC
Verified with 6.1.0.ER01.1 and 6.1.0.ER04. (Setting ER01 as target milestone)

JPP 6.0.0.GA
16:21:21,526 INFO  [stdout] (http-localhost/127.0.0.1:8080-2) byteman >>> *** INVALIDATE SESSION 4cb8wAMpmR9112O7qb6hmqgR, context: /portal
16:21:21,528 INFO  [stdout] (http-localhost/127.0.0.1:8080-2) byteman >>> *** INVALIDATE SESSION 4cb8wAMpmR9112O7qb6hmqgR, context: /portal
16:21:21,529 INFO  [stdout] (http-localhost/127.0.0.1:8080-2) byteman >>> *** EXPIRE SESSION 4cb8wAMpmR9112O7qb6hmqgR, context: /portal
16:21:21,530 INFO  [stdout] (http-localhost/127.0.0.1:8080-2) byteman >>> *** EXPIRE SESSION 4cb8wAMpmR9112O7qb6hmqgR, context: /portal

JPP 6.1.0.ER01.1
16:30:32,992 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** INVALIDATE SESSION GZIRoTIYufHUcNYNE6p-WJJC, context: /portal
16:30:32,994 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** INVALIDATE SESSION GZIRoTIYufHUcNYNE6p-WJJC, context: /portal
16:30:32,995 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION GZIRoTIYufHUcNYNE6p-WJJC, context: /portal
16:30:33,027 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION GZIRoTIYufHUcNYNE6p-WJJC, context: /exoadmin
16:30:33,027 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION GZIRoTIYufHUcNYNE6p-WJJC, context: /exoadmin
16:30:33,028 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION GZIRoTIYufHUcNYNE6p-WJJC, context: /redirect-portlet
16:30:33,029 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION GZIRoTIYufHUcNYNE6p-WJJC, context: /redirect-portlet
16:30:33,029 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION GZIRoTIYufHUcNYNE6p-WJJC, context: /web
16:30:33,029 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION GZIRoTIYufHUcNYNE6p-WJJC, context: /web


JPP 6.1.0.ER04
16:25:42,261 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** INVALIDATE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /portal
16:25:42,262 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** INVALIDATE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /portal
16:25:42,263 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /portal
16:25:42,264 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /portal
16:25:42,294 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /exoadmin
16:25:42,294 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /exoadmin
16:25:42,295 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /redirect-portlet
16:25:42,295 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /redirect-portlet
16:25:42,295 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /web
16:25:42,295 INFO  [stdout] (http-localhost/127.0.0.1:8080-4) byteman >>> *** EXPIRE SESSION kaz31wq8+xzeKDZV7l0w9rpr, context: /web