<div dir="ltr"><div><div><div>Hi Ales<br></div><br></div>I managed to start the app with 3 nodes on my laptop, and it inserted a flight in about 26.7 seconds with TRACE enabled for org.infinispan. However, when I counted the number of cache commands being executed and I got 55000 (8700 of which went remote), which seems way too much for a single insert. (The log file grew by more than 100 MB.)<br>

<br></div>I think there may be a cycle whereas each operation on a cache generates a log message, which then triggers a change in the Lucene caches, which writes another log message, and so on. How does CapeDwarf capture the logs? I haven&#39;t seen any appender in the standard-capedwarf.xml configuration. How can I enable TRACE logging for org.infinispan without the logs being indexed by CapeDwarf?<br>

<div><div><div>
<br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 8, 2013 at 4:12 PM, Ales Justin <span dir="ltr">&lt;<a href="mailto:ales.justin@gmail.com" target="_blank">ales.justin@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 style="word-wrap:break-word">Steps to re-produce:<div><br></div><div>(1) checkout JBossAS 7.2.0.Final tag --&gt; JBOSS_HOME</div>

<div><br></div><div>(2) build CapeDwarf Shared</div><div><br></div><div><a href="https://github.com/capedwarf/capedwarf-shared" target="_blank">https://github.com/capedwarf/capedwarf-shared</a></div><div><br></div><div>(3) build CapeDwarf Blue</div>

<div><br></div><div><a href="https://github.com/capedwarf/capedwarf-" target="_blank">https://github.com/capedwarf/capedwarf-</a>blue</div><div><br></div><div>(4) build CapeDwarf AS</div><div><br></div><div><a href="https://github.com/capedwarf/capedwarf-jboss-as" target="_blank">https://github.com/capedwarf/capedwarf-jboss-as</a></div>

<div><br></div><div>mvn clean install -Djboss.dir=&lt;JBOSS_HOME&gt; -Pupdate-as</div><div><br></div><div>This will install CapeDwarf Subsystem into previous AS 7.2.0.Final</div><div><br></div><div>(5) grab GAE 1.7.6 SDK</div>

<div><br></div><div><a href="http://googleappengine.googlecode.com/files/appengine-java-sdk-1.7.6.zip" target="_blank">http://googleappengine.googlecode.com/files/appengine-java-sdk-1.7.6.zip</a></div><div><br></div><div>

(6) Build GAE demos/helloorm2</div><div><br></div><div>ant</div><div><br></div><div>cd war/</div><div><br></div><div>zip -r ROOT.war .</div><div><br></div><div>This will zip the demo app as ROOT.war,</div><div>which you then deploy to AS.</div>

<div><br></div><div>(7) start CapeDwarf</div><div><br></div><div>JBOSS_HOME/bin</div><div><br></div><div>./standalone.sh -c standalone-capedwarf.xml -b &lt;IP&gt; -<a href="http://Djboss.node.name" target="_blank">Djboss.node.name</a>=some_name</div>

<div><br></div><div>(8) deploy the app / ROOT.war</div><div><br></div><div>---</div><div><br></div><div>Deploy this on a few nodes, goto browser: http://&lt;IP:8080&gt;,</div><div>add a few flights and see how it works.</div>

<div><br></div><div>It now runs a bit better, where we changed mstruk&#39;s laptop with luksa&#39;s.</div><div>But we still get replication locks ...</div><div><br></div><div>Also, the problem is that query on indexing slave takes waaay tooo long.</div>

<div><br></div><div>Anyway, you&#39;ll see. ;-)</div><div><br></div><div>Ping me for any issues.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Ales</div><div><br></div></font></span></div><br>_______________________________________________<br>


infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br></blockquote></div><br></div>