Bug 1330228

Summary: Rules validation in business-central is very slow
Product: [Retired] JBoss BRMS Platform 6 Reporter: Oscar Molina <omolinab>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Jiri Locker <jlocker>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:04:53 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:

Description Oscar Molina 2016-04-25 16:43:25 UTC
Description of problem:

In the business-central component, when I click on the "Validate" button to confirm a rule (any), several minutes pass before you see the failure or success notification on the screen. We expect to have the same processing time when I click "Save" that takes only a few seconds.

The customer is using a repository of around 3300 files containing 1 rule each with a dsl of 1000 lines. When they click on any dsrl file of the project and click on the "Validate" button, they need to wait for more than a minute to get the message: "Element validated successfully.".

On an identical BRMS 5 server, the validation is done in a few seconds.

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

Red Hat 7, JBOSS EAP 6.4, JBOSS BRMS 6.2,  jdk1.6.0

How reproducible:

In the business-central component, when I click on the "Validate" button to confirm a rule (any), several minutes pass before you see the failure or success notification on the screen.

Steps to Reproduce:
1. Login to business-central
2. Going to Project Authoring
3. Open a DSRL file
4. Click on the "Validate" button

Actual results:

Wait for more than a minute to get the message: "Element validated successfully."

Expected results:

Validation run in a few seconds.

Additional info:

We have attach the brms-worbench.zip file with a log file and some threaddumps (4 thread dumps (1 before, 1 after, 2 during) and the GC logging). The validation took 1 Minute, from approximately 15h42 till 15h43.

They have applied the latest "roll up patch" for JBOSS EAP 6.4 and JBOSS BRMS 6.2 but the slowness problem of the validation of rules stays the same.