Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 879258

Summary: Failed to Retrieve Registration Information Exception during Load Testing
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: bkramer <bkramer>
Component: PortalAssignee: Thomas Heute <theute>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.2.1.GACC: epp-bugs, mvecera, theute, tkonishi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 879341 (view as bug list) Environment:
Last Closed: 2014-09-26 07:53:27 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
Patched gatein-wsrp-integration.ear from branch EPP_5_2_1_GA_BZ879258 none

Description bkramer 2012-11-22 13:11:21 UTC
Description of problem:
During a load test we experience exception relating to the application failing to retrieve registration information associated with a nonregistered consumer. This error does not occur when running with a single user.

Version-Release number of selected component (if applicable):
EPP 5.2.1

How reproducible:
Reproducible when running load test with a big number of users;

Steps to Reproduce:
1. Start EPP;
2. Log in to EPP -> Group -> WSRP -> Producer Configuration and uncheck the following two boxes:

   2a) Access to full service description requires consumers to be registered;
   2b) Requires registration. Modifying this information will trigger invalidation of consumer registrations

3. Start the jmeter and run performance_tests.jmx (attached)

So, the test starts ok but after few requests the following Exception is logged:


...
07:57:24,501 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
org.oasis.wsrp.v1.V1OperationFailed: Failed to retrieve registration information associated with the nonregistered consumer Cause: org.gatein.registration.RegistrationException: javax.jcr.RepositoryException: corresponding session has been closed
...


  
Actual results:
Above Exception is thrown

Expected results:
Test is successfully finished without any Exception.

Additional info:

Comment 2 Michal Vanco 2012-11-22 15:31:18 UTC
Hi Chris & Biljana, 
I've just reproduced this issue at our QE environment with EPP 5.2.2 - I've setup automated the scenario and I'm hitting the error around 30-40 users.
Chris, can you share a patch with me so that I can verify if error is gone?
Thanks

Comment 3 Michal Vanco 2012-11-22 17:39:20 UTC
Created attachment 649950 [details]
Patched gatein-wsrp-integration.ear from branch EPP_5_2_1_GA_BZ879258

md5sum:
c2c7829dc96ee649490c03307bbc2806  gatein-wsrp-integration.ear

Comment 4 Michal Vanco 2012-11-22 19:10:45 UTC
Hi, I've just tried with 5.2.2 and patched gatein-wsrp-integration.ear from 5.2 branch and the issue with low users isn't present anymore.
I've tried with initial 50 users + increasing 50 users in each iteration, I stopped it around 450 users with no error in log.
Now I'm trying with initial 300 users + 300 users increase. (I'll share result tomorrow - currently it's on 900 users)
I had prepared 5.2.2 version for this, but I'll verify 879341 patch on 5.2.1 with patch from BZ branch.

Comment 5 Michal Vanco 2012-11-23 08:24:08 UTC
Good morning, so the result from yesterday on EPP 5.2.2 is that load testing was done up to 2400 concurrent users with no error. All requests and rendering of wsrp portlet were handled properly.