<HTML dir=ltr><HEAD></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText95628>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>Is there a different way to get my jar into Guvnor's classloader?&nbsp; I've been putting it in the JBoss lib directory.&nbsp; It would be great if this was just user error.</FONT></DIV><FONT size=2 face=Arial></FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Thanks.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Mike</FONT></DIV>
<DIV dir=ltr><BR></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma><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>
<DIV><BR></DIV>&nbsp;&nbsp; This is looking like a classloader issue. I assume your function is correctly implementing the&nbsp;<SPAN style="FONT-FAMILY: Arial" class=Apple-style-span>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 class=Apple-style-span face=Arial><BR></FONT></DIV>
<DIV><FONT class=Apple-style-span face=Arial>&nbsp;&nbsp; Edson<BR></FONT></DIV></DIV></BODY></HTML>