Questions Tagged With debugginghttps://answers.axonivy.com/tags/debugging/?type=rss&user=Reto%20Weissquestions tagged <span class="tag">debugging</span>enTue, 03 Jun 2014 12:15:48 -0400How can I take a thread dump of Xpert.ivy Server?https://answers.axonivy.com/questions/733/how-can-i-take-a-thread-dump-of-xpert-ivy-server<p>To analyze deadlocks in my code (and in Xpert.ivy) or endless loops it is useful to get a thread dump.</p> <p>The thread dump contains information about each thread, the locks it owns, the locks it is waiting for and the whole java callstack of the thread. A thread dumps looks like this:</p> <pre><code>"http-8081-8" daemon prio=6 tid=0x000000001cd71000 nid=0x1124 in Object.wait() [0x000000001e24f000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on &lt;0x00000004d208fae8&gt; (a org.apache.tomcat.util.net.JIoEndpoint$Worker) at java.lang.Object.wait(Object.java:485) at org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458) - locked &lt;0x00000004d208fae8&gt; (a org.apache.tomcat.util.net.JIoEndpoint$Worker) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484) at java.lang.Thread.run(Unknown Source) "http-8081-7" daemon prio=6 tid=0x000000001cd70800 nid=0x1238 in Object.wait() [0x000000001e1cf000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on &lt;0x00000004d2097900&gt; (a org.apache.tomcat.util.net.JIoEndpoint$Worker) at java.lang.Object.wait(Object.java:485) at org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458) - locked &lt;0x00000004d2097900&gt; (a org.apache.tomcat.util.net.JIoEndpoint$Worker) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484) at java.lang.Thread.run(Unknown Source) </code></pre> <p>How can I take a thread dump of Xpert.ivy Server?</p>Reto WeissTue, 03 Jun 2014 12:15:48 -0400https://answers.axonivy.com/questions/733/how-can-i-take-a-thread-dump-of-xpert-ivy-serverdebugging