Bug 793028 (JBEPP-110)

Summary: Failure on concurrent access to "portlet instances" with different user sessions while instance of some WSRP portlet exists
Product: [JBoss] JBoss Enterprise Portal Platform 4 Reporter: mposolda
Component: PortalAssignee: Default User <jbpapp-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3.0.GA_CP2CC: epp-bugs
Target Milestone: ---   
Target Release: 4.3.0.GA_CP7   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-110
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Ubuntu linux EPP 4.3 CP02 Sun Java 1.5
Last Closed: 2011-12-13 17:05:57 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:
Attachments:
Description Flags
wsrp-parallel-session.png
none
wsrp-parallel-session-exception.txt none

Description mposolda 2009-08-11 13:04:47 UTC
Date of First Response: 2009-08-11 10:52:16
project_key: JBEPP

There is an issue which happens during parallel request with different user sessions, while both sessions try to access bar with portlet instances. Instance of some WSRP portlet (for example Bea:Hello world portlet) should be created to reproduce this issue. The whole description of steps:

1) Login as "Admin" and go to http://localhost:8080/portal/auth/portal/admin/WSRP

2) Click to create a consumer and fill some name like "MyBea".

3) Fill http://wsrp.bea.com:7001/producer/producer?WSDL as URL. Cache expiration remains empty.

4) Click to "Refresh & Save" button and fill "public" for comsumerRole parameter. Than another click to "Refresh & Save".

5) Go to http://localhost:8080/portal/auth/portal/admin/default and go to "Portlet definitions". Change the perspective to "bea portlets" and create an instance of "Bea: Hello world" portlet.

6) Click to "Portlet instances".

7) Open different browser and begin a new session. Login as "user", click to "Dashboard" and then click to "Configure dashboard". 

8) It's important that request to "Configure dashboard" with "user" is triggered before processing of "Portlet instances" request in session "admin" ends. So the progress of requests is parallel.

9) You can see that the part with portlet instances, which should be on Dashboard configuring page of user is not here. (See screenshot wsrp-parallel-session.png). You can see the exception in server log (wsrp-parallel-session-exception.txt)

10) When "Portlet instances" request from admin session ends, you are able to click to "Configure dasboard" page in user session and you can see the portlet instances as usual. The issue happens only with parallel progress of both requests.

Comment 1 mposolda 2009-08-11 13:05:17 UTC
Attachment: Added: wsrp-parallel-session.png


Comment 2 mposolda 2009-08-11 13:05:36 UTC
Attachment: Added: wsrp-parallel-session-exception.txt


Comment 3 mposolda 2009-08-11 13:08:12 UTC
Link: Added: This issue is incorporated by JBEPP-104


Comment 4 Thomas Heute 2009-08-11 14:52:16 UTC
Won't fix in CP02

Comment 5 mposolda 2009-08-18 13:20:15 UTC
Link: Added: This issue is a dependency of JBPORTAL-2450


Comment 6 mark yarborough 2011-11-09 22:34:05 UTC
Moved to 43 CP7 for triage after 5.2 ships.

Comment 7 Jared MORGAN 2012-01-03 23:02:22 UTC
Release Notes Docs Status: Added: Not Required