<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bernhard.hensler.net &#187; WebSphere</title>
	<atom:link href="http://bernhard.hensler.net/blog/tag/websphere/feed/" rel="self" type="application/rss+xml" />
	<link>http://bernhard.hensler.net/blog</link>
	<description></description>
	<lastBuildDate>Mon, 28 Jun 2010 13:52:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Athens</title>
		<link>http://bernhard.hensler.net/blog/athens/</link>
		<comments>http://bernhard.hensler.net/blog/athens/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 10:52:48 +0000</pubDate>
		<dc:creator>bernhard</dc:creator>
				<category><![CDATA[container]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://bernhard.hensler.net/blog/?p=1701</guid>
		<description><![CDATA[
joining a critsit in a large bank in Athens &#8211; WebSphere Portal 5.1, WCM, TAM ,TDS, TDI, ESB, db2, etc. Massive performance issues caused by inadequately tuning the environment, lack of system resources &#8211; basically returned to default values following tuning guides. Primary intention was to stabilize environment, as well as providing mid- to long [...]]]></description>
			<content:encoded><![CDATA[<div  style="text-align: left;"  class="xmlgmdiv" id="xmlgmdiv_41"><iframe class="xmlgm" id="xmlgm_41"src="http://bernhard.hensler.net/blog/wp-content/plugins/xml-google-maps/xmlgooglemaps_show.php?myid=41" style="border: 0px; width: 360px; height: 500px;" name="My_XML_Google_Maps" frameborder="0"></iframe></div>
<p>joining a critsit in a large bank in Athens &#8211; WebSphere Portal 5.1, WCM, TAM ,TDS, TDI, ESB, db2, etc. Massive performance issues caused by inadequately tuning the environment, lack of system resources &#8211; basically returned to default values following tuning guides. Primary intention was to stabilize environment, as well as providing mid- to long term recommendations about how to manage the infrastructure and systems / applications.<span id="more-1701"></span></p>
<p>Athens is a beast with traffic collapsing &#8211; would go mad living here. Akropolis area (Plaka) very touristic (what did I expect), but nice to switch off from a busy day (apart from all the little gangsters trying to get hold of your money).</p>

<div class="ngg-galleryoverview" id="ngg-gallery-73-1701">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-3490" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://bernhard.hensler.net/blog/wp-content/gallery/athens/img_0165.jpg" title=" " rel="wp-prettyPhoto[set_73]">
								<img title="img_0165" alt="img_0165" src="http://bernhard.hensler.net/blog/wp-content/gallery/athens/thumbs/thumbs_img_0165.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3491" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://bernhard.hensler.net/blog/wp-content/gallery/athens/img_0167.jpg" title=" " rel="wp-prettyPhoto[set_73]">
								<img title="img_0167" alt="img_0167" src="http://bernhard.hensler.net/blog/wp-content/gallery/athens/thumbs/thumbs_img_0167.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3492" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://bernhard.hensler.net/blog/wp-content/gallery/athens/img_0168.jpg" title=" " rel="wp-prettyPhoto[set_73]">
								<img title="img_0168" alt="img_0168" src="http://bernhard.hensler.net/blog/wp-content/gallery/athens/thumbs/thumbs_img_0168.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3493" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://bernhard.hensler.net/blog/wp-content/gallery/athens/img_0173.jpg" title=" " rel="wp-prettyPhoto[set_73]">
								<img title="img_0173" alt="img_0173" src="http://bernhard.hensler.net/blog/wp-content/gallery/athens/thumbs/thumbs_img_0173.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3494" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://bernhard.hensler.net/blog/wp-content/gallery/athens/img_0175.jpg" title=" " rel="wp-prettyPhoto[set_73]">
								<img title="img_0175" alt="img_0175" src="http://bernhard.hensler.net/blog/wp-content/gallery/athens/thumbs/thumbs_img_0175.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3495" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://bernhard.hensler.net/blog/wp-content/gallery/athens/img_0176.jpg" title=" " rel="wp-prettyPhoto[set_73]">
								<img title="img_0176" alt="img_0176" src="http://bernhard.hensler.net/blog/wp-content/gallery/athens/thumbs/thumbs_img_0176.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3496" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://bernhard.hensler.net/blog/wp-content/gallery/athens/img_0179.jpg" title=" " rel="wp-prettyPhoto[set_73]">
								<img title="img_0179" alt="img_0179" src="http://bernhard.hensler.net/blog/wp-content/gallery/athens/thumbs/thumbs_img_0179.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3497" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://bernhard.hensler.net/blog/wp-content/gallery/athens/img_0182.jpg" title=" " rel="wp-prettyPhoto[set_73]">
								<img title="img_0182" alt="img_0182" src="http://bernhard.hensler.net/blog/wp-content/gallery/athens/thumbs/thumbs_img_0182.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3498" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://bernhard.hensler.net/blog/wp-content/gallery/athens/img_0185.jpg" title=" " rel="wp-prettyPhoto[set_73]">
								<img title="img_0185" alt="img_0185" src="http://bernhard.hensler.net/blog/wp-content/gallery/athens/thumbs/thumbs_img_0185.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://bernhard.hensler.net/blog/athens/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>steps to visualize HTTP server logging &#8211; part I</title>
		<link>http://bernhard.hensler.net/blog/steps-to-visualize-http-server-logging-part-i/</link>
		<comments>http://bernhard.hensler.net/blog/steps-to-visualize-http-server-logging-part-i/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 11:23:20 +0000</pubDate>
		<dc:creator>bernhard</dc:creator>
				<category><![CDATA[container]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[WebSphere]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WWW]]></category>

		<guid isPermaLink="false">http://bernhard.hensler.net/blog/?p=1405</guid>
		<description><![CDATA[apache
check Apache server version by creating a simple e.g. serverinfo.php file with following statement: &#60;?php phpinfo(); ?&#62;
and open in your browser: http://your host/serverinfo.php. Find the version info in the Apache Version section:
Apache Version &#8211; Apache/2.0.53 (Linux/SUSE)
or run from the command line:
/usr/sbin # apache2ctl -v
Server version: Apache/2.0.53
Server built:   Aug 30 2006 13:14:23
h969344:/usr/sbin #
Next add [...]]]></description>
			<content:encoded><![CDATA[<h2>apache</h2>
<p>check Apache server version by creating a simple e.g. <em>serverinfo.php</em> file with following statement: <em>&lt;?php phpinfo(); ?&gt;</em></p>
<p>and open in your browser: http://your host/serverinfo.php. Find the version info in the Apache Version section:</p>
<blockquote><p><span style="color: #ff0000;">Apache Version</span> &#8211; Apache/2.0.53 (Linux/SUSE)</p></blockquote>
<p>or run from the command line:</p>
<blockquote><p>/usr/sbin # apache2ctl -v</p>
<p>Server version: Apache/2.0.53</p>
<p>Server built:   Aug 30 2006 13:14:23</p>
<p>h969344:/usr/sbin #</p></blockquote>
<p>Next add <em>mod_status</em> to your APACHE_MODULES by editing /etc/sysconfig/apache2 configuration &#8211; the Status module allows a server administrator to find out how well a server is performing. A HTML page is presented that gives the current server statistics in an easily readable form:</p>
<blockquote><p>APACHE_MODULES=</p>
<p>&#8220;access actions alias auth auth_dbm autoindex cgi</p>
<p>dir env expires headers include log_config mime</p>
<p><span style="color: #ff0000;">mod_status</span> negotiation setenvif</p>
<p>ssl suexec userdir php4 rewrite&#8221;</p></blockquote>
<p><span id="more-1405"></span></p>
<p>In the same file and if extended logging is needed, set APACHE_EXTENDED_STATUS=&#8221;<span style="color: #ff0000;">on</span>&#8221; &#8211; be careful here, this will degrade performance.</p>
<p>Edit httpd.conf and add a Location section to your virtualhost section (remove <em>Include /etc/apache2/mod_status.conf</em>):</p>
<blockquote><p>&lt;VirtualHost *:80&gt;</p>
<p>&#8230;.</p>
<p>&lt;Location /<span style="color: #ff0000;">server-status</span>&gt;</p>
<p>SetHandler server-status</p>
<p># Order deny,allow</p>
<p># Deny from all</p>
<p>Allow from .yourdomain</p>
<p>&lt;/Location&gt;</p>
<p>&#8230;.</p>
<p>&lt;/VirtualHost&gt;</p></blockquote>
<p>restart the HTTP server: /usr/sbin/rcapache2 <span style="color: #ff0000;">restart</span></p>
<p>You should see your Apache server status now by issuing this URL: http://yourHost/<span style="color: #ff0000;">server-status<span style="color: #000000;"> </span></span> providing the following information:</p>
<ul style="margin-bottom: 1em; list-style-type: disc;">
<li style="line-height: 1.3em;">The number of worker serving requests</li>
<li style="line-height: 1.3em;">The number of idle worker</li>
<li style="line-height: 1.3em;">The status of each worker, the number of requests that worker has performed and the total number of bytes served by the worker (*)</li>
<li style="line-height: 1.3em;">A total number of accesses and byte count served (*)</li>
<li style="line-height: 1.3em;">The time the server was started/restarted and the time it has been running for</li>
<li style="line-height: 1.3em;">Averages giving the number of requests per second, the number of bytes served per second and the average number of bytes per request (*)</li>
<li style="line-height: 1.3em;">The current percentage CPU used by each worker and in total by Apache (*)</li>
<li style="line-height: 1.3em;">The current hosts and requests being processed (*)</li>
</ul>
<p>The lines marked &#8220;(*)&#8221; are only available if ExtendedStatus is On</p>
<h2>awstats</h2>
<p><span style="color: #ff0000;"><span style="color: #000000;">To display HTTP server log information in a graphical form, install <a href="http://awstats.sourceforge.net/" title="awstats" target="_blank" class="liexternal"><strong>awstats</strong></a>:</span></span></p>
<blockquote><p>AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically.</p></blockquote>
<p>Copy awstats to a directory of your choice, installation defaults to /usr/local/awstats. Then run the awstats configuration process: <em>perl awstats_configure.pl</em>, which will add directives to your httpd.conf and create a configuration file (default location: /etc/awstats)</p>
<blockquote><p>&lt;Directory &#8220;/usr/local/awstats/wwwroot&#8221;&gt;</p>
<p>Options all</p>
<p>AllowOverride None</p>
<p>Order allow,deny</p>
<p>Allow from all</p>
<p>&lt;/Directory&gt;</p>
<p>Alias /awstatsclasses &#8220;/usr/local/awstats/wwwroot/classes/&#8221;</p>
<p>Alias /awstatscss &#8220;/usr/local/awstats/wwwroot/css/&#8221;</p>
<p>Alias /awstatsicons &#8220;/usr/local/awstats/wwwroot/icon/&#8221;</p>
<p>ScriptAlias /awstats/ &#8220;/usr/local/awstats/wwwroot/cgi-bin/&#8221;</p></blockquote>
[SinglePic not found]
<p>Once done run the data import process from the cgi-bin folder of your awstats installation (you can automate this in the config file): perl awstats.pl config=yourdomain. See results of your site: http://yourdomain/awstats/awstats.pl or at this <a href="http://www.nltechno.com/awstats/awstats.pl?config=destailleur.fr" class="liexternal">demo site</a></p>
<p>This <a href="http://bernhard.hensler.net/blog/steps-to-visualize-http-server-logging-part-ii/" title="HTT PServer logging part II" class="liinternal">link</a> to part II of the tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://bernhard.hensler.net/blog/steps-to-visualize-http-server-logging-part-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>how to enable and analyze verbose garbage collection</title>
		<link>http://bernhard.hensler.net/blog/how-to-enable-and-analyze-verbose-garbage-collection/</link>
		<comments>http://bernhard.hensler.net/blog/how-to-enable-and-analyze-verbose-garbage-collection/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 08:16:11 +0000</pubDate>
		<dc:creator>bernhard</dc:creator>
				<category><![CDATA[container]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://bernhard.hensler.net/blog/?p=1474</guid>
		<description><![CDATA[In Web applications, memory utilization can impact system performance significantly. One of the most common memory problems is memory leak, which causes severe performance degradation. In theory, memory leaks should not happen in Java™ because it has Garbage Collection (GC). However, GC only cleans up unused objects that are not referenced anymore. Therefore, if an [...]]]></description>
			<content:encoded><![CDATA[<p>In Web applications, memory utilization can impact system performance significantly. One of the most common memory problems is memory leak, which causes severe performance degradation. In theory, memory leaks should not happen in Java™ because it has Garbage Collection (GC). However, GC only cleans up unused objects that are not referenced anymore. Therefore, if an object is not used, but is still referenced, GC does not remove it, which leads to memory leaks. Beside memory leaks, other memory problems that you might encounter are memory fragmentation, large objects, and tuning problems. In many cases, these memory problems can cause the application server to crash. Many users first notice that application server performance gradually declines, and eventually crashes with OutOfMemory exceptions.<br />
<span id="more-1474"></span></p>
[SinglePic not found] Enabling verbose Garbage Collection for WebSphere based Application servers, is simple (see image). After a restart garbage collection is logged in<em> native_stderr.log</em>:</p>
<p>[SinglePic not found]
<p>There are many tools for verbose GC log analysis, these tools can abstract useful information, and illustrate the trend of JVM heap size usage over time as the following. [SinglePic not found]</p>
<p>IBM Pattern Modeling and Analysis Tool for Java Garbage Collector (PMAT) parses the IBM verbose GC trace and provides a comprehensive analysis of the Java heap usage. It then recommends key configurations by first executing a diagnosis engine and then employing a pattern modeling algorithm in order to make recommendations to optimize the Java heap usage for a given JVM cycle.</p>
<p><a href="http://www.ibm.com/developerworks/websphere/library/techarticles/0706_sun/0706_sun.html" title="source" class="liexternal">source for this article</a><br />
<a href="http://www.alphaworks.ibm.com/tech/pmat" title="PMAT" class="liexternal">PMAT</a><br />
<a href="http://download.boulder.ibm.com/ibmdl/pub/software/dw/jdk/diagnosis/diag142.pdf" title="JDK Diagnosis" class="lipdf">JDK Diagnosis</a></p>
<p>see also <a href="http://bernhard.hensler.net/blog/how-to-generate-and-analyze-heapdump-with-websphere-application-server/" title="analyze heapdump" class="liinternal">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bernhard.hensler.net/blog/how-to-enable-and-analyze-verbose-garbage-collection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>how to generate and analyze a WebSphere heapdump</title>
		<link>http://bernhard.hensler.net/blog/how-to-generate-and-analyze-a-websphere-heapdump/</link>
		<comments>http://bernhard.hensler.net/blog/how-to-generate-and-analyze-a-websphere-heapdump/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 18:32:59 +0000</pubDate>
		<dc:creator>bernhard</dc:creator>
				<category><![CDATA[container]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://bernhard.hensler.net/blog/?p=1298</guid>
		<description><![CDATA[./was_profile/bin/wsadmin.sh -conntype SOAP -host wcl.private.lan -port 10033 -user wasadmin -password passw0rd
WASX7209I: Connected to process &#8220;WebSphere_Portal&#8221; on node wcl using SOAP connector; the type of process is: unManagedProcess; WASX7029I: For help, enter: &#8220;$Help help&#8221;
wsadmin&#62; set jvm [$AdminControl completeObjectName type=JVM,process=WebSphere_Portal,*]
WebSphere:name=JVM,process=WebSphere_Portal,
platform=dynamicproxy,node=wcl,j2eeType=JVM,
J2EEServer=WebSphere_Portal,version=6.0.2.17,
type=JVM,mbeanIdentifier=JVM,cell=wcl
wsadmin&#62;$AdminControl invoke $jvm generateHeapDump
wsadmin&#62;$AdminControl invoke $jvm dumpThreads
IBM&#8217;s support assistant (ISA) is an Eclipse based tool with quite a [...]]]></description>
			<content:encoded><![CDATA[<p>./was_profile/bin/wsadmin.sh -conntype SOAP -host wcl.private.lan -port 10033 -user wasadmin -password passw0rd</p>
<blockquote><p>WASX7209I: Connected to process &#8220;WebSphere_Portal&#8221; on node wcl using SOAP connector; the type of process is: unManagedProcess; WASX7029I: For help, enter: &#8220;$Help help&#8221;</p></blockquote>
<p>wsadmin&gt; set jvm [$AdminControl completeObjectName type=JVM,process=WebSphere_Portal,*]</p>
<blockquote><p>WebSphere:name=JVM,process=WebSphere_Portal,<br />
platform=dynamicproxy,node=wcl,j2eeType=JVM,<br />
J2EEServer=WebSphere_Portal,version=6.0.2.17,<br />
type=JVM,mbeanIdentifier=JVM,cell=wcl</p></blockquote>
<p>wsadmin&gt;$AdminControl invoke $jvm generateHeapDump<br />
wsadmin&gt;$AdminControl invoke $jvm dumpThreads</p>
<p>IBM&#8217;s support assistant (<a href="http://www-01.ibm.com/software/support/isa/" title="ISA" target="_blank" class="liexternal">ISA</a>) is an Eclipse based tool with quite a number of plugins to analyze heapdumps &#8211; a good developerworks article can be found <a href="http://www.ibm.com/developerworks/java/library/j-ibmtools1/" title="Java diagnostics, IBM style, Part 1: Garbage collection with the IBM Monitoring and Diagnostic Tools for Java - Garbage Collection and Memory Visualizer" target="_blank" class="liexternal">here (part I)</a> and <a href="http://www.ibm.com/developerworks/java/library/j-ibmtools2/" title="Java diagnostics, IBM style, Part 2: Garbage collection with the IBM Monitoring and Diagnostic Tools for Java - Garbage Collection and Memory Visualizer" target="_blank" class="liexternal">here (part II)</a>.<br />
<span id="more-1298"></span><br />
To analyze WebSphere Portal performance issues, although this document is applicable to isolate performance problems around Java based application servers in general , see <a href="http://www-01.ibm.com/support/docview.wss?uid=swg27007059" target="_blank" class="liexternal">here</a>.</p>
<p>see also <a href="http://bernhard.hensler.net/blog/how-to-enable-and-analyze-verbose-garbage-collection/" title="analyze GC" class="liinternal">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bernhard.hensler.net/blog/how-to-generate-and-analyze-a-websphere-heapdump/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
