AFAIK (waiting to be told otherwise) Guvnor builds its classpath from the assets that are within it&#39;s repository.<br><br>Normally, for instance, if you want additional classes you&#39;d upload them as a POJO model. It could be worth trying this first; i.e. upload your JAR containing the accumulate function as a POJO model.<br>
<br>It&#39;s also quite possible however that there&#39;s another issue ;)<br><br><div class="gmail_quote">2011/7/25 Melton, Michael P CTR SPAWARSYSCEN-ATLANTIC, 01200 <span dir="ltr">&lt;<a href="mailto:michael.melton.ctr@navy.mil">michael.melton.ctr@navy.mil</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div dir="ltr">
<div dir="ltr"><font color="#000000" face="Arial" size="2">Is there a different way to get my jar into Guvnor&#39;s classloader?  I&#39;ve been putting it in the JBoss lib directory.  It would be great if this was just user error.</font></div>
<font face="Arial" size="2"></font></div>
<div dir="ltr"> </div>
<div dir="ltr"><font face="Arial" size="2">Thanks.</font></div>
<div dir="ltr"><font face="Arial" size="2">Mike</font></div>
<div dir="ltr"><br></div>
<div dir="ltr">
<hr>
</div>
<div dir="ltr"><font face="Tahoma" size="2"><b>From:</b> Edson Tirelli<br><b>Sent:</b> Mon 7/25/2011 13:19<br><b>To:</b> Rules Users List<br><b>Subject:</b> Re: [rules-users] Guvnor - AccumulateFunction ClassCastException<br>
</font><br></div><div class="im">
<div>
<div><br></div>   This is looking like a classloader issue. I assume your function is correctly implementing the <span style="font-family: Arial;">org.drools.runtime.rule.AccumulateFunction, as you mention that it works outside of guvnor. So my guess is that your function jar is being loaded by a classloader in a different hierarchy and that is raising the CCE?</span> 
<div><font face="Arial"><br></font></div>
<div><font face="Arial">   Edson<br></font></div></div></div></div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>