Description of problem: I created a kie-api module for EAP6 but during the module starting kie-api library tries to instantiate KieServices. I'm going to attach the server log and module.xml with dependencies described here http://grepcode.com/snapshot/repo1.maven.org/maven2/org.kie/kie-api/6.0.0.Beta4 How reproducible: Steps to Reproduce: 1. create new module org.kie.api 2. put there kie-api-6.0.0.CR1.jar and the attached module.xml 3. remove kie-api-6.0.0.CR1.jar from business central 4. add dependency on module org.kie.api into jboss-deployment-structure.xml Actual results: Expected results: Additional info:
Created attachment 780708 [details] Server log with ClassNotFoundException and RuntimeException: Unable to instance KieServices
Created attachment 780709 [details] module.xml for KIE API
Modularization is far more complex than that and requires a whole set of modules and dependencies to be set to make use of the API. KIE-API does not only contain the interfaces, but also implementation and initialization code, therefore it can't be deployed without any other dependency. It simply can't be deployed in isolation of the rest of the product. For tracking the status of the modularized deployment, please see https://bugzilla.redhat.com/show_bug.cgi?id=993126