<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Drools running in OSGi</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi all,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I am trying to run Drools as a bundle with Equinox, however I found an issue with Drools 5 with the classloader, apparently Drools 5 does not always uses the classloader that I pass in the configuration (PackageBuilderConfiguration). Then I decided to test it with Drools 4.0.7 and I do not have the classloader problem anymore but I got the following error (NoSuchMethodError) when I execute stateFulSession.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">fireAllRules</FONT><FONT SIZE=2 FACE="Arial">, below is the stack.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I am trying to run it with Equinox 3.4 and I reviewed that all the dependencies are ok. The .drl file is compiled successfully, see the code that I am using below.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I followed the sample publishe in: </FONT><A HREF="http://www.dynamicjava.org/articles/osgi-integration/drools-osgi"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://www.dynamicjava.org/articles/osgi-integration/drools-osgi</FONT></U></A>
</P>

<P><FONT SIZE=2 FACE="Arial">And I tried with the bundles published by spring and I also tried with my own sample but I get the same error. </FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Does anybody used successfully Drools 4.0.7 or 5 in OSGi successfully? What should I change to have my code running in OSGi?</FONT></P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Thanks in advance,</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">The Code:</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">InputStreamReader</FONT><FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">source</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> =</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">new</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">InputStreamReader</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">this</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">getClass</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">getResourceAsStream</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT> <FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">&quot;</FONT><FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">helloWorld</FONT><FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">.drl&quot;</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> ) );</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">OsgiEnvironmentClassLoader</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">classLoader</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> =&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">new</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">OsgiEnvironmentClassLoader</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(bundleContext,&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thread.currentThread().getContextClassLoader(),&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bundleContext.getBundle());&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#000000" SIZE=2 FACE="Courier New">P</FONT><FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">ackageBuilderConfig</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">packageBuilderConfig</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> =</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">new</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">PackageBuilderConfiguration</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT><FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">classLoader</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">,</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">null</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">);</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#000000" SIZE=2 FACE="Courier New">PackageBuilder</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">builder</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> =</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">new</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">PackageBuilder</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT><FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">packageBuilderConfig</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">);</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">//this wil parse and compile in one step</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">builder</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">addPackageFromDrl</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">source</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> );</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">// Check the builder for errors</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">if</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> (</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">builder</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">hasErrors</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">() ) {</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">System</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">out</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">println</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">builder</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">getErrors</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">().</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">toString</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">() );</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">throw</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">new</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">RuntimeException</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT> <FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">&quot;Unable to compile \&quot;</FONT><FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">helloWorld</FONT><FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">.drl\&quot;.&quot;</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">);</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">//get the compiled package (which is serializable)</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">Package</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">pkg</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> =</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">builder</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">getPackage</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">();</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">Package</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">ruleBaseConfig</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> =</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">new</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">RuleBaseConfiguration</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">()</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">ruleBaseConfig</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">setClassLoader</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT><FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">classLoader</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">);</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#FF5E5E" SIZE=2 FACE="Courier New">//add the package to a rulebase (deploy the rule package).</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#4C4C4C" SIZE=2 FACE="Courier New">RuleBase</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"></FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">ruleBase</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> =</FONT> <FONT COLOR="#8E3E00" SIZE=2 FACE="Courier New">RuleBaseFactory</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">newRuleBase</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT><FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">ruleBaseConfig</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">);</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">ruleBase</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">addPackage</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">(</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">pkg</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> );</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> 

<BR><FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT COLOR="#000000" SIZE=2 FACE="Courier New">S</FONT><FONT SIZE=2 FACE="Arial">tateFulSession</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">session</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> =</FONT> <FONT COLOR="#2300FB" SIZE=2 FACE="Courier New">ruleBase</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">newStatefulSession</FONT><FONT COLOR="#000000" SIZE=2 FACE="Courier New">();</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#000000" SIZE=2 FACE="Courier New">&nbsp;</FONT> 

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; session.</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">fireAllRules</FONT><FONT COLOR="#003E85" SIZE=2 FACE="Courier New">();</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">The Exception:</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">INFO: bundle changed: TopicMapEditorService</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv</FONT>

<BR><FONT SIZE=2 FACE="Arial">ator(BundleContextImpl.java:1028)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund</FONT>

<BR><FONT SIZE=2 FACE="Arial">leContextImpl.java:984)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl</FONT>

<BR><FONT SIZE=2 FACE="Arial">eHost.java:344)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac</FONT>

<BR><FONT SIZE=2 FACE="Arial">tBundle.java:267)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac</FONT>

<BR><FONT SIZE=2 FACE="Arial">tBundle.java:259)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._st</FONT>

<BR><FONT SIZE=2 FACE="Arial">art(FrameworkCommandProvider.java:254)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.</FONT>

<BR><FONT SIZE=2 FACE="Arial">execute(FrameworkCommandInterpreter.java:150)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(F</FONT>

<BR><FONT SIZE=2 FACE="Arial">rameworkConsole.java:302)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(Fra</FONT>

<BR><FONT SIZE=2 FACE="Arial">meworkConsole.java:287)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(Framewo</FONT>

<BR><FONT SIZE=2 FACE="Arial">rkConsole.java:223)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">Caused by: java.lang.NoSuchMethodError: org.drools.WorkingMemory.fireAllRules()I</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.topicology.security.TSecurity.initialize(TSecurity.scala:49)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.topicology.TMEditorService.Activator.start(Activator.scala:28)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Bund</FONT>

<BR><FONT SIZE=2 FACE="Arial">leContextImpl.java:1009)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.security.AccessController.doPrivileged(Native Method)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv</FONT>

<BR><FONT SIZE=2 FACE="Arial">ator(BundleContextImpl.java:1003)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 14 more</FONT>

<BR><FONT SIZE=2 FACE="Arial">Nested Exception:</FONT>

<BR><FONT SIZE=2 FACE="Arial">java.lang.NoSuchMethodError: org.drools.WorkingMemory.fireAllRules()I</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.topicology.security.TSecurity.initialize(TSecurity.scala:49)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.topicology.TMEditorService.Activator.start(Activator.scala:28)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Bund</FONT>

<BR><FONT SIZE=2 FACE="Arial">leContextImpl.java:1009)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.security.AccessController.doPrivileged(Native Method)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv</FONT>

<BR><FONT SIZE=2 FACE="Arial">ator(BundleContextImpl.java:1003)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund</FONT>

<BR><FONT SIZE=2 FACE="Arial">leContextImpl.java:984)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl</FONT>

<BR><FONT SIZE=2 FACE="Arial">eHost.java:344)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac</FONT>

<BR><FONT SIZE=2 FACE="Arial">tBundle.java:267)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac</FONT>

<BR><FONT SIZE=2 FACE="Arial">tBundle.java:259)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._st</FONT>

<BR><FONT SIZE=2 FACE="Arial">art(FrameworkCommandProvider.java:254)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.</FONT>

<BR><FONT SIZE=2 FACE="Arial">execute(FrameworkCommandInterpreter.java:150)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(F</FONT>

<BR><FONT SIZE=2 FACE="Arial">rameworkConsole.java:302)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(Fra</FONT>

<BR><FONT SIZE=2 FACE="Arial">meworkConsole.java:287)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(Framewo</FONT>

<BR><FONT SIZE=2 FACE="Arial">rkConsole.java:223)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">Nested Exception:</FONT>

<BR><FONT SIZE=2 FACE="Arial">java.lang.NoSuchMethodError: org.drools.WorkingMemory.fireAllRules()I</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.topicology.security.TSecurity.initialize(TSecurity.scala:49)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.topicology.TMEditorService.Activator.start(Activator.scala:28)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Bund</FONT>

<BR><FONT SIZE=2 FACE="Arial">leContextImpl.java:1009)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.security.AccessController.doPrivileged(Native Method)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv</FONT>

<BR><FONT SIZE=2 FACE="Arial">ator(BundleContextImpl.java:1003)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund</FONT>

<BR><FONT SIZE=2 FACE="Arial">leContextImpl.java:984)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl</FONT>

<BR><FONT SIZE=2 FACE="Arial">eHost.java:344)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac</FONT>

<BR><FONT SIZE=2 FACE="Arial">tBundle.java:267)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac</FONT>

<BR><FONT SIZE=2 FACE="Arial">tBundle.java:259)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._st</FONT>

<BR><FONT SIZE=2 FACE="Arial">art(FrameworkCommandProvider.java:254)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Unknown Source)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.</FONT>

<BR><FONT SIZE=2 FACE="Arial">execute(FrameworkCommandInterpreter.java:150)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(F</FONT>

<BR><FONT SIZE=2 FACE="Arial">rameworkConsole.java:302)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(Fra</FONT>

<BR><FONT SIZE=2 FACE="Arial">meworkConsole.java:287)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(Framewo</FONT>

<BR><FONT SIZE=2 FACE="Arial">rkConsole.java:223)</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Unknown Source)</FONT>
</P>

</BODY>
</HTML>