Bug 1025875

Summary: Only one drools plugin is installed
Product: [Retired] JBoss BRMS Platform 6 Reporter: Tomas Schlosser <tschloss>
Component: JON PluginAssignee: Edson Tirelli <etirelli>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Schlosser <tschloss>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rrajasek
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:17:38 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
List of plugins in JON none

Description Tomas Schlosser 2013-11-01 19:22:00 UTC
Created attachment 818441 [details]
List of plugins in JON

Description of problem:
When you install jon-plugin-pack-brms-bpms into JON, only one of BRMS plugins gets to the list.

Version-Release number of selected component (if applicable):
JON 3.2.ER4

Additional info:
This is probably because the plugins are actually the same (copy paste really). That means that JON sees one and the same plugin and accepts only one (whichever comes last).

Comment 1 Rajesh Rajasekaran 2013-11-19 15:08:02 UTC
Tomas, can you clarify on what you mean by only one of BRMS plugins gets to the list? What is the expected behavior?

Comment 2 Tomas Schlosser 2013-11-20 20:11:18 UTC
Hi Rajesh,
1) There are two BRMS plugins in the package (brms-p-5.3.1.GA-rhq-plugin.jar, drools-rhq-plugin-6.0.0-redhat-3.jar), but only one is on the list of installed plugins.
2) The plugins will have different capabilities (at least because of the other bug reported for BRMS JON plugin) and then whichever is loaded last will be available. Meaning that you would have eithe 5.x capabilities or 6.x capabilities.

If you look at the screenshot, there are multiple EAP (JBossAS) plugins for just these reasons (mainly because of the second one).

Comment 3 Rajesh Rajasekaran 2013-11-20 21:57:53 UTC
Ok. Now I see what you are saying. I'm thinking since we just made a copy of the previous version of the plugin, the plugin metadata hasn't been changed to reflect the different versions.

Comment 4 Edson Tirelli 2013-12-02 20:04:35 UTC
Renamed the plugin to see if it stops clashing with the old plugin. 

(master)
http://github.com/droolsjbpm/droolsjbpm-integration/commit/fad261b51

(6.0.x)
http://github.com/droolsjbpm/droolsjbpm-integration/commit/b36fc43ef

Comment 5 Tomas Schlosser 2014-01-28 06:50:36 UTC
Verified with JON plugin packaged with BRMS 6.0.0 CR2