You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2013/09/24 17:17:02 UTC

svn commit: r879710 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/request-analysis.html

Author: buildbot
Date: Tue Sep 24 15:17:02 2013
New Revision: 879710

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/request-analysis.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Sep 24 15:17:02 2013
@@ -1 +1 @@
-1525215
+1525921

Modified: websites/staging/sling/trunk/content/documentation/bundles/request-analysis.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/request-analysis.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/request-analysis.html Tue Sep 24 15:17:02 2013
@@ -88,6 +88,7 @@
       <div class="toc">
 <ul>
 <li><a href="#introduction">Introduction</a></li>
+<li><a href="#web-console-integration">Web Console Integration</a></li>
 <li><a href="#analyzing-the-requesttrackertxt-file">Analyzing the requesttracker.txt file</a></li>
 </ul>
 </div>
@@ -107,6 +108,15 @@ being processed: The <a href="http://sli
 <li>Response Status</li>
 </ul>
 <p>After that first line the complete data from the requests <code>RequestProgressTracker</code> is dumped.</p>
+<h2 id="web-console-integration">Web Console Integration</h2>
+<p>The Request Processing Analyzer is available through the Web Console in the <em>Sling</em> category to</p>
+<ul>
+<li>Download the <code>requesttracker.txt</code> file as a plain text or ZIP-ed file</li>
+<li>Launch the Swing-based GUI to analyze the file</li>
+</ul>
+<p>The option to launch the Swing-based GUI is only available if the Sling application
+is not running in headless mode and if the Web Console is accessed on <em>localhost</em>,
+that is on the same host as the Sling instance is running.</p>
 <h2 id="analyzing-the-requesttrackertxt-file">Analyzing the <code>requesttracker.txt</code> file</h2>
 <p>To analyze the <code>requesttracker.txt</code> file the <em>Request Processing Analyzer</em> module can also be used as a standalone Java application. Just start the module using the <code>java</code> command:</p>
 <div class="codehilite"><pre>$ <span class="n">java</span> <span class="o">-</span><span class="n">jar</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">sling</span><span class="p">.</span><span class="n">reqanalyzer</span><span class="o">-</span>0<span class="p">.</span>0<span class="p">.</span>1<span class="o">-</span><span class="n">SNAPSHOT</span><span class="p">.</span><span class="n">jar</span> <span class="n">requesttracker</span><span class="p">.</span><span class="n">txt</span>
@@ -119,12 +129,12 @@ being processed: The <a href="http://sli
 <li>The number of requests to load and display from the file. This second option is optional and may be used to limit the request information loaded to the first requests in the file</li>
 </ol>
 <p>After starting and parsing the file, a window is opened showing the core request information in simple table. This table can be sorted by any of the columns by clicking on the column title.</p>
-<p><img alt="" src="requesttracker.png" /></p>
+<p><img alt="Recorded Requests" src="requesttracker.png" /></p>
 <p>Clicking on any row opens a second window displaying the detail request progress information as recorded before with the <code>RequestProgressTracker</code>.</p>
-<p><img alt="" src="requesttracker-details.png" /></p>
+<p><img alt="Details of a recorded Request" src="requesttracker-details.png" /></p>
 <p>The size, location, and the widths of the table columns are persisted with the Java Preferences API and thus when starting the application again, these settings are preserved.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1352785 by fmeschbe on Fri, 22 Jun 2012 07:17:59 +0000
+        Rev. 1525921 by fmeschbe on Tue, 24 Sep 2013 15:16:51 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project