<div>&nbsp;</div>
<div>Hi there...</div>
<div>&nbsp;</div>
<div>I post something that I just wrote in the irc channel...I hope u can help me.</div>
<div>I use JBoss 4.2.2 and drools 4.0.4 (IDE and jbrms).</div>
<div>&nbsp;</div>
<div>I deployed my rule assets into the jbrms (technical rules, business rules, decision tables, ruleflows, object model, DSLs).</div>
<div>&nbsp;</div>
<div>Then i deployed my J2EE application into the same JBoss.</div>
<div>&nbsp;</div>
<div>My J2ee module is an .ear file which contains a Web-app, some EJBs, the</div>
<div>Drools fundamental libs and a class which invokes the RuleAgent.</div>
<div>&nbsp;</div>
<div>The&nbsp; .ear file contains the object model as well.</div>
<div>&nbsp;</div>
<div>So I have got the object model duplicated. One instance in the jbrms</div>
<div><font color="#000080" size="1"><font color="#000000" size="2">and the other one in the .ear file.</font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2"></font></font>&nbsp;</div>
<div><font color="#000080" size="1"><font color="#000000" size="2">For this reason I get back an &quot;InvalidClassException&quot; from the RuleAgent</font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2">each time&nbsp; I&nbsp; call the ruleagent itself.</font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2"></font></font>&nbsp;</div>
<div><font color="#000080" size="1"><font color="#000000" size="2">So...</font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2"></font></font>&nbsp;</div>
<div><font color="#000080" size="1"><font color="#000000" size="2">If I would be able to avoid deployin&#39; the Obj Model into the brms </font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2">I would have just one instance of the Obj model... I would have</font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2">just the .ear object model.</font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2"></font></font>&nbsp;</div>
<div><font color="#000080" size="1"><font color="#000000" size="2">Do u know how Could I do it?</font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2"></font></font>&nbsp;</div>
<div><font color="#000080" size="1"><font color="#000000" size="2">Thank You anyway.</font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2"></font></font>&nbsp;</div>
<div><font color="#000080" size="1"><font color="#000000" size="2">Bye bye.</font></font></div>
<div><font color="#000080" size="1"><font color="#000000" size="2"></font></font>&nbsp;</div>
<div><font color="#000080" size="1"><font color="#000000" size="2">Massi</font></font></div>