Hi Maxim,<div><br></div><div>We too use drools from within a web container. &nbsp;The way that I&#39;ve debugged my runtime issues (and this may not be the most efficient way at all) is simply through jUnit tests that replicate error conditions during build time. &nbsp;Depending on what you&#39;re up to, you can often insert the same data into working memory that you are explicitly inserting on the server-side. &nbsp;Of course, this is a pretty obvious solution, but I&#39;ve found it to be a help with debugging my rules. &nbsp;If you upgrade to the new Drools 5.0 plugin for eclipse, stepping through the rules code is pretty easy, and, I believe, also possible with 4.0.7 setups. &nbsp;Of course, this may not help with an error condition triggered on large groups of data, or something specific to the container. &nbsp;With regards to the container, we also run a set of integration tests that manipulate our rules through local handles to the EJBs that I use to work with Drools. &nbsp;Both approaches have helped us out a great deal, but we are activating Drools statelessly.</div>
<div><br></div><div>best wishes,</div><div><br></div><div>Andrew</div><div><br></div><div><br></div><div><div class="gmail_quote">On Sat, Nov 15, 2008 at 12:57 PM, Maxim Veksler <span dir="ltr">&lt;<a href="mailto:maxim.veksler@gmail.com">maxim.veksler@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Hello <br><br>We are using MyEclipse extension to launch a webapp that contains Drools.<br>I would like to debug the WorkingMemory state of this webapp.<br>
<br>From reading the user guide I see that suggested method of debugging a drools application is launching the Main class, as my application is a webapp the concept of a Main class does not exists.<br>
<br>How should I debug Drools from in this case?<br>Can I maybe remote connect or instruct Drools to simply treat the running JVM as a &quot;Drools Application&quot; when in fact it was launched by Apache Tomcat servlet ?<br>

<br><br>Thank you,<br>Maxim.<br clear="all"><br>-- <br>Cheers, <br>Maxim Veksler<br><br>&quot;Free as in Freedom&quot; - Do u GNU ?<br>
</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><br clear="all"><br>-- <br>+1 510 342 5693<br><br>PO Box 7775 #8750<br>San Francisco, California &nbsp; 94120-7775<br><br>&quot;Warning: &nbsp;following standard input indefinitely is ineffective&quot;<br>
 - /bin/tail error message<br><br>&quot;Against logic there is no armor like ignorance.&quot;<br> &nbsp;- Laurence J. Pete<br>
</div>