Bug 1046095 - KModules get added twice
Summary: KModules get added twice
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR1
: 6.0.0
Assignee: Mario Fusco
QA Contact: Tomas Schlosser
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-23 16:18 UTC by Mario Fusco
Modified: 2014-08-06 20:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:16:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-385 0 Major Resolved KModules get added twice 2014-01-24 13:22:01 UTC

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


Note You need to log in before you can comment on or make changes to this bug.