<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi all,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>I am able to run the sample in Eclipse. But when I try to run it in my server, I get classloader issues.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Basically, I am trying to use Drools inside HBase coprocessor code. The coprocessor code is loaded from a jar on hdfs.&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>But the rules engine does not seem to be able to use its
 parent classloader to load the classes it needs.Instead&nbsp;</span><span style="background-color: transparent;">&nbsp;if I put my code on &nbsp;a jar file and put it in the server classpath it works "ok" but still not good, &nbsp;as the class Drools wants is loaded by two different classloaders (one from hdfs) and the other one is using the jar files in the classpath of Hbase. Do I have add any other dir name so that the generated code classes can be picked up as well.&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="background-color: transparent;">I am using .5.5 final.</span></div><div><br></div><div>Regards,<br>- kiru</div><div><br><br></div><div>Kiru Pakkirisamy | webcloudtech.wordpress.com</div></div></body></html>