[jboss-jira] [JBoss JIRA] (DROOLS-1012) kie-ci-osgi Activator doesn't register the ClassLoaderResolver on the ServiceRegistry

Mario Fusco (JIRA) issues at jboss.org
Mon Dec 21 08:41:00 EST 2015


Mario Fusco created DROOLS-1012:
-----------------------------------

             Summary: kie-ci-osgi Activator doesn't register the ClassLoaderResolver on the ServiceRegistry
                 Key: DROOLS-1012
                 URL: https://issues.jboss.org/browse/DROOLS-1012
             Project: Drools
          Issue Type: Bug
            Reporter: Mario Fusco
            Assignee: Mario Fusco
         Attachments: brms-fuse-integration-master.tgz

kie-ci-osgi Activator doesn't register the ClassLoaderResolver on the ServiceRegistry. This implies that when the KieContainer is created in a OSGi environment it is not able to get an instance of the MavenClassLoaderResolver and then cannot create a ClassLoader including all the transitive dependencies of the kjar to be compiled.

The attached project reproduces this issue. In order to run it, it's enough to do a mvn clean install of the project and issue the following commands in fuse:

features:addurl mvn:com.redhat/brms-fuse-integration-features/0.0.1-SNAPSHOT/xml/features
features:install brms-integration-bundle



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list