Bug 958888 - Portal not expiring portlet application sessions at logout
Summary: Portal not expiring portlet application sessions at logout
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER01
: 6.1.0
Assignee: Default User
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-02 15:24 UTC by Martin Weiler
Modified: 2018-12-02 15:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
: 1033556 (view as bug list)
Environment:
Last Closed: 2013-11-07 14:22:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Byteman script to debug session expiration (471 bytes, application/octet-stream)
2013-05-02 15:24 UTC, Martin Weiler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GTNPORTAL-2829 0 Major Resolved Null Session in WCI for cross context logout 2018-02-14 10:50:03 UTC

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


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