Bug 1046095

Summary: KModules get added twice
Product: [Retired] JBoss BRMS Platform 6 Reporter: Mario Fusco <mfusco>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Schlosser <tschloss>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: etirelli, rzhang
Target Milestone: CR1   
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:16:51 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 Mario Fusco 2013-12-23 16:18:01 UTC
In order to fix KieModule discovery when using the IBM JVM the method findResources(String) has been overridden in the ProjectClassLoader as it follows:

@Override
protected Enumeration<URL> findResources(String name) throws IOException{ 
    return getParent().getResources(name); 
} 

However this caused the same KieModule to be loaded twice when using the Oracle JVM.

Comment 3 JBoss JIRA Server 2014-01-20 14:00:02 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-385 to Resolved

Comment 4 Tomas Schlosser 2014-01-24 13:21:55 UTC
Verified in BRMS CR1