<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">There was a lot of OSGi fixes in 6.0.1, aimed at the karat container. However not all modules are migrated, as it’s a work in progress. I don’t know which currently are or are not, I’m cc’ing in the developer behind this to answer.<div><br></div><div>Mark<br><div><div>On 31 Mar 2014, at 16:49, Florian Pirchner &lt;<a href="mailto:florian.pirchner@gmail.com">florian.pirchner@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Hi,<br>
      <br>
      today i started to setup Drools 6 in my OSGi container. But it
      seems there are some issues that do not allow to run drools 6 (and
      jbpm) under OSGi properly.<br>
      <br>
      For instance:<br>
      JPAKnowledgeService<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; .newStatefulKnowledgeSession(kieBase, null, env);<br>
      will never find
      "org.drools.persistence.jpa.KnowledgeStoreServiceImpl" since it is
      not in the scope of the current ClassLoader.<br>
      <br>
      Tried to tie things up, but then there would be a cyclic
      dependency between kie-internal and jbpm-persistence-jpa.<br>
      <br>
      I also could see, that a ProjectClassLoader was added. I found a
      way to put my current BundleClassLoader as its parent into play.
      This solves a lot of class loading issues.<br>
      <br>
      <br>
      For me it seems, that Drools 6 was not designed to run in an OSGi
      container. Is there ongoing work to integrate Drools and JBPM V</font><font size="-1"><font size="-1">ersion 6.x</font> into OSGi environments
      properly?<br>
      <br>
    </font>
    <pre class="moz-signature" cols="72">-- 
Thanks for your answer
Florian Pirchner

</pre>
  </div>

_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users</blockquote></div><br></div></body></html>