<?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>聚沙成塔-小哈的记事薄 &#187; websphere</title>
	<atom:link href="http://www.hashei.me/tag/websphere/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hashei.me</link>
	<description>一个系统工程师的絮叨</description>
	<lastBuildDate>Tue, 10 Jan 2012 18:03:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://hashei.me/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
jQuery.ajax({type:'GET',url:'http://hashei.me/wp-content/plugins/wp-postviews-plus/postviews_plus.php',data:'todowppvp=add&type=tag&id=4_1',cache:false,dataType:'script'});
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>软硬兼施 优化 WebSphere Application Server</title>
		<link>http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=tunning-websphere-application-server-was</link>
		<comments>http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html#comments</comments>
		<pubDate>Sun, 21 Feb 2010 15:46:00 +0000</pubDate>
		<dc:creator>hashei</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[每周精华]]></category>
		<category><![CDATA[lpar]]></category>
		<category><![CDATA[websphere]]></category>
		<category><![CDATA[性能优化]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html</guid>
		<description><![CDATA[之前看的很多was优化案例，包括自己实施过程中都只从WebSphere的角度来考虑问题，虽然WAS的优化中包括了操作系统层面的优化，比如对AIX、HPUX的系统参数做出调整，对于网络tcp的参数做出改动，但并没有更进一步，在进行LPAR分区前就做出完整的规划。
WebSphere管理员和硬件与操作系统管理员往往交流不多，且是串行的实施顺序。虽说也就那么做下来了，但是是否充分发挥了硬件的资源，是否达到了最好的性能，最稳定的运行，还是可以有改进的余地？都值得探讨。IBM网站上这三篇文章可谓打通了两种管理员之间的任督二脉，看懂了总有好处。
本书提供了整体系统观点，重点关注在 Power System 和 AIX 上运行 WebSphere Application Server 负载的环境的端到端系统部署、调优和管理方法。因而，本书为两类截然不同的技术读者架起了一座桥梁，也就是硬件和操作系统管理员与 WebSphere Application Server 应用软件工程师。我们都了解，在典型的企业环境中，这两类技术读者需要密切合作，但仍然有着不同的视角和职责。然而，对于企业来说，在度量 Power System 和 AIX 上运行的 WebSphere Application Server 投资的成败时，最终要取决于所有系统架构师能否很好地理解如何同心协力地利用每种产品的特有优势。因而，我们首先要做的是澄清各种观点。

在 Power System 上优化 WebSphere Application Server，第 1 部分: 入门以及优化策略
在 Power System 上优化 WebSphere Application Server，第 2 部分: 设置 Power System 硬件和分区（上）
在 Power System 上优化 WebSphere Application Server，第 3 部分: 设置 Power System [...]]]></description>
			<content:encoded><![CDATA[<p>之前看的很多was优化案例，包括自己实施过程中都只从WebSphere的角度来考虑问题，虽然WAS的优化中包括了操作系统层面的优化，比如对AIX、HPUX的系统参数做出调整，对于网络tcp的参数做出改动，但并没有更进一步，在进行LPAR分区前就做出完整的规划。</p>
<p>WebSphere管理员和硬件与操作系统管理员往往交流不多，且是串行的实施顺序。虽说也就那么做下来了，但是是否充分发挥了硬件的资源，是否达到了最好的性能，最稳定的运行，还是可以有改进的余地？都值得探讨。IBM网站上这三篇文章可谓打通了两种管理员之间的任督二脉，看懂了总有好处。</p>
<blockquote><p>本书提供了整体系统观点，重点关注在 Power System 和 AIX 上运行 WebSphere Application Server 负载的环境的端到端系统部署、调优和管理方法。因而，本书为两类截然不同的技术读者架起了一座桥梁，也就是硬件和操作系统管理员与 WebSphere Application Server 应用软件工程师。我们都了解，在典型的企业环境中，这两类技术读者需要密切合作，但仍然有着不同的视角和职责。然而，对于企业来说，在度量 Power System 和 AIX 上运行的 WebSphere Application Server 投资的成败时，最终要取决于所有系统架构师能否很好地理解如何同心协力地利用每种产品的特有优势。因而，我们首先要做的是澄清各种观点。</p>
</blockquote>
<p><a href="http://www.ibm.com/developerworks/cn/aix/redbooks/wasonpower/1/?ca=drs-tp4608" target="_blank">在 Power System 上优化 WebSphere Application Server，第 1 部分: 入门以及优化策略</a></p>
<p><a href="http://www.ibm.com/developerworks/cn/aix/redbooks/wasonpower/2/index.html?ca=drs-cn-0928" target="_blank">在 Power System 上优化 WebSphere Application Server，第 2 部分: 设置 Power System 硬件和分区（上）</a></p>
<p><a href="http://www.ibm.com/developerworks/cn/aix/redbooks/wasonpower/3/index.html?ca=drs-cn-0928" target="_blank">在 Power System 上优化 WebSphere Application Server，第 3 部分: 设置 Power System 硬件和分区（下）</a></p>
<p>有空么可以再看看《WebSphere Application Server V6.1 Planning and Design WebSphere Handbook Series》</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/05/websphere-topology-terminology.html" rel="bookmark" title="Permanent Link: Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上">Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上</a></li><li><a href="http://www.hashei.me/2009/11/%ef%bc%88%e8%bd%ac%ef%bc%89websphere-application-server-6-0%e9%85%8d%e7%bd%ae%e4%b8%8e%e7%ae%a1%e7%90%86.html" rel="bookmark" title="Permanent Link: （转）Websphere Application Server 6.0配置与管理">（转）Websphere Application Server 6.0配置与管理</a></li><li><a href="http://www.hashei.me/2009/05/websphere-cluster.html" rel="bookmark" title="Permanent Link: WebSphere入门篇（四）-安装集群">WebSphere入门篇（四）-安装集群</a></li><li><a href="http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html" rel="bookmark" title="Permanent Link: IBM WebSphere Recent Supports">IBM WebSphere Recent Supports</a></li><li><a href="http://www.hashei.me/2009/05/introduce-was-community-edition.html" rel="bookmark" title="Permanent Link: 应用服务器WAS CE21介绍">应用服务器WAS CE21介绍</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM WebSphere最新技术支持信息</title>
		<link>http://www.hashei.me/2009/12/ibm_support_newsletter_for_websphere_application_server_1219.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ibm_support_newsletter_for_websphere_application_server_1219</link>
		<comments>http://www.hashei.me/2009/12/ibm_support_newsletter_for_websphere_application_server_1219.html#comments</comments>
		<pubDate>Sun, 20 Dec 2009 09:11:00 +0000</pubDate>
		<dc:creator>hashei</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[每周精华]]></category>
		<category><![CDATA[technical support]]></category>
		<category><![CDATA[was]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/12/ibm_support_newsletter_for_websphere_application_server_1219.html</guid>
		<description><![CDATA[IBM最新技术支持邮件，包括WebSphere Application迁移工具介绍、WAS安全相关、WAS最新诊断工具、如何监测WAS、MDD4J工具等等有用信息。]]></description>
			<content:encoded><![CDATA[<p>如果你想订阅这个邮件列表，发送邮件到<a href="mailto:wsehelp@us.ibm.com">wsehelp@us.ibm.com</a>即可，邮件名称标注“subscribe WebSphere Application Server”</p>
<p>WebSphere Application Server Customer,<br />
As a valued WebSphere Application Server customer who has contacted technical support, we are hoping you will find this information useful.<br />
This note contains links to WebSphere Application Server technical support documents and information that can help you obtain value from your software. It is intended to help you to be proactive in your support and administration of WebSphere Application Server.</p>
<ul>
<li>
<ul>
<li>
<ul>
<li><a href="http://www-01.ibm.com/support/electronicsupport/portal.html">Learn more </a>about the portal</li>
<li>View the <a href="https://www-951.ibm.com/blogs/SPNA/entry/the_ibm_support_portal_videos">demo videos</a></li>
<li>Access the <a href="http://www.ibm.com/support/entry/portal">IBM Support Portal</a> and sign in with your IBM ID and password</li>
</ul>
</li>
<p><strong>1. Don&#8217;t be caught by surprise &#8211; try the IBM Support Portal today</strong><br />
On January 6 the new <a href="http://www.ibm.com/support/entry/portal">IBM Support Portal</a>, a unified, centralized view of all technical support tools and information for all IBM software, replaces the existing software product support pages. You can tailor the Support Portal to suit your needs, focusing on the software and hardware products you care about and organizing the pages to reflect the way you work. The portal makes it fast and easy to find the information or tools you need to prevent and resolve problems.We hope you can take a few minutes to fill out a short <a href="https://www.ibm.com/survey/oid/wsb.dll/s/ag26a">questionnaire</a> that evaluates the IBM Support Portal in comparison to the existing IBM support website pages. We appreciate your feedback!<br />
<strong>2. IBM WebSphere Application Server Migration Toolkit</strong><br />
The IBM WebSphere Application Server Migration Toolkit helps organizations migrate applications from other application servers to IBM WebSphere Application Server. WebSphere Application Server, a Java EE 5 certified, EJB 3.0 supported technology-based application platform, is a key part of the IBM Smart SOA Application Foundation that delivers the innovation and performance essential to cost-effectively build, deploy and manage robust SOA applications.<br />
<a href="http://www.ibm.com/developerworks/websphere/downloads/migration_toolkit.html">http://www.ibm.com/developerworks/websphere/downloads/migration_toolkit.html</a><br />
<strong>3. developerWorks: WebSphere Application Server security</strong><br />
This page of essential resources contains hints, tips, and valuable guidance to help you configure and use WebSphere Application Server security more effectively, and to design and develop your WebSphere Application Server solutions in ways that will make them more secure. Also included is information on the security environment in which WebSphere Application Server resides.<br />
<a href="http://www.ibm.com/developerworks/websphere/zones/was/security/">http://www.ibm.com/developerworks/websphere/zones/was/security/</a><br />
<strong>4. Follow WebSphere Support on Twitter</strong><br />
A list of available Twitter accounts for WebSphere Support.<br />
<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg21410956">http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg21410956</a><br />
<strong>5. WebSphere Application Server Feature Pack for XML</strong><br />
The IBM WebSphere Application Server V7 Feature Pack for XML delivers updated XML programming model standards to help improve developer productivity and address new application development scenarios.<br />
<a href="http://www.ibm.com/software/webservers/appserv/was/featurepacks/xml/">http://www.ibm.com/software/webservers/appserv/was/featurepacks/xml/</a><br />
<strong>6. IBM Support Assistant &#8211; helping you simplify support </strong><br />
If you haven&#8217;t tried the IBM Support Assistant yet, use the <a href="http://ibm.com/support/docview.wss?uid=swg21410608">Quick Start Guide</a> to find out what you&#8217;re missing! Save time with automated collectors and over 20 robust problem determination tools. IBM Support Assistant can be customized for over 350 IBM software products. The ISA Lite offering lets you quickly use the accurate, automated data collection capability. <a href="http://ibm.com/software/support/isa/download.html">Download</a> the workbench or ISA Lite to simplify support and save time. Not sure which one you need? Use the handy chart on the page to help you decide.<br />
<strong>7. The Support Authority: Know what your Web application is really doing</strong><br />
The IBM Monitoring and Diagnostic Tools for Java &#8211; Health Center is a lightweight tool that monitors IBM virtual machines for Java with minimal performance overhead. It provides live information and recommendations about classes being loaded, the virtual machine environment, garbage collection, locking, and profiling. This article introduces you to the Health Center and shows an example of how it can be used to check the impact of a source code change in a Web application.<br />
<a href="http://www.ibm.com/developerworks/websphere/techjournal/0911_supauth/0911_supauth.html">http://www.ibm.com/developerworks/websphere/techjournal/0911_supauth/0911_supauth.html</a><br />
<strong>8. The Support Authority: Analyze memory management problems with the Memory Dump Diagnostic for Java (MDD4J)</strong><br />
The Memory Dump Diagnostic for Java (MDD4J) tool helps you diagnose memory leaks and other excessive memory consumption problems in applications running in IBM Java Virtual Machines (JVMs). This article introduces you to MDD4J and shows you how to use its sophisticated analysis engine and user interface to peer into the Java heap so you can see which objects are consuming the most amount of memory.<br />
<a href="http://www.ibm.com/developerworks/websphere/techjournal/0909_supauth/0909_supauth.html">http://www.ibm.com/developerworks/websphere/techjournal/0909_supauth/0909_supauth.html</a><br />
<strong>9. One plug-in config to handle multiple Portal Applications in multiple Portal Clusters</strong><br />
I have different Portal applications running in 2 different Portal Clusters. I want to use only 1 IBM HTTP Server Web server to route requests correctly for both applications in both clusters. How can I configure the Web server plug-in to accomplish this?<br />
<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg21397408">http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg21397408</a><br />
<strong>10. Web server plug-in routing to SAME application in DIFFERENT clusters</strong><br />
If I install the same Web application into more than one WebSphere Application Server cluster, is it possible to configure the Web server plug-in to properly route requests to the application in both clusters?<br />
<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg21331062">http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg21331062</a><br />
<strong>11. IBM Service Integration Bus Destination Handler, Version 1.1</strong><br />
A tool to view, move, copy, delete, save and restore messages in the default messaging provider for IBM WebSphere Application Server versions 7.0, 6.1, and 6.0.<br />
<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg24021439">http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg24021439</a><br />
<strong>12. Solution for installing 32-bit Java SDK fix packs on IBM HTTP Server V7.0 using Update Installer 7.0.0.5 and earlier</strong><br />
For most operating systems and architectures, you should install the 32-bit Java SDK fix packs for IBM HTTP Server V7.0, even if that IBM HTTP Server was installed from the 64-bit Supplemental installation image. However, due to a defect in the process, Update Installer V7.0.0.5 and earlier will not allow you to install the 32-bit Java SDK fix pack, and will erroneously allow you to install the 64-bit Java SDK fix pack instead. This technote explains how to address this problem.<br />
<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg21395882">http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg21395882</a></ul>
<ul><strong>1. End of Support &#8211; WebSphere Application Server V5.1</strong><br />
WebSphere Application Server V5.1 content has been &#8220;EOSed&#8221;. IBM ended the support for IBM WebSphere Application Server version 5.1 products in September 2008. WebSphere Application Server V5.1 content, including product documentation, technotes, Fix Packs and Interim Fixes, is now available from the WebSphere End of Support Products Web site.<br />
<a href="http://www.ibm.com/support/docview.wss?rs=3680&amp;uid=swg21410048">http://www.ibm.com/support/docview.wss?rs=3680&amp;uid=swg21410048</a><br />
<strong>2. Recommended fixes for WebSphere Application server</strong><br />
A comprehensive list of recommended, generally available (GA) fixes for IBM WebSphere Application Server releases.<br />
<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg27004980">http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg27004980</a><br />
<strong>3. Fixes by version for WebSphere Application Server</strong><br />
A comprehensive list of generally available (GA) fixes for WebSphere Application Server releases.<br />
<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg27006899">http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg27006899</a><br />
<strong>4. Feature packs by version for WebSphere Application Server</strong><br />
A comprehensive list of generally available (GA) feature packs for WebSphere Application Server<br />
<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg27008534">http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg27008534</a><br />
<strong>5. Detailed system requirements for WebSphere Application Server</strong><br />
Identifies the supported software options by operating system for the WebSphere Application Server product.<br />
<a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg27006921">http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg27006921</a></ul>
<ul><strong>1. WebSphere Application Server Administration Using Jython</strong><br />
Utilizing Jython scripting, you can dramatically reduce the effort, resources, and expense associated with managing WebSphere Application Server. WebSphere Application Server Administration Using Jython will show you how. The first start-to-finish guide to Jython scripting for WebSphere administration, this book’s practical techniques and downloadable scripts can help you improve efficiency, repeatability, and automation in any WebSphere environment.<br />
*Using coupon code IBM9527 provides you a 35% discount AND Free Shipping!<br />
<a href="http://www.ibmpressbooks.com/bookstore/product.asp?isbn=0137009526">http://www.ibmpressbooks.com/bookstore/product.asp?isbn=0137009526</a><br />
<strong>2. Join us for these Electronic Support webcasts</strong><br />
During the month of January, the <a href="http://websphere.org">Global WebSphere Community</a> will offer a series of four electronic support webcasts. Check the web site for details on joining the webcasts:<br />
January 7 webcast &#8211; &#8220;It&#8217;s official &#8211; the IBM Support Portal is here!&#8221;<br />
January 14 webcast &#8211; &#8220;Quick guide to electronic support and a close look at the Service Request tool&#8221;<br />
January 21 webcast &#8211; &#8220;Discover IBM Support Assistant &#8211; ready to help when you need it&#8221;<br />
January 28 webcast &#8211; &#8220;IBM portfolio of troubleshooting tools: helping you solve problems faster&#8221;<br />
<strong>3. IBM WebSphere Application Server V7.0 Web Services Guide</strong><br />
This IBM Redbooks publication describes how to implement Web services in IBM WebSphere Application Server V7. It starts by describing the concepts of the major building blocks on which Web services rely and leading practices for Web services applications.<br />
<a href="http://www.redbooks.ibm.com/abstracts/SG247758.html">http://www.redbooks.ibm.com/abstracts/SG247758.html</a><br />
<strong>4. Technical Exchange Webcasts</strong><br />
Take full advantage of your product. Join us as technical experts share their knowledge and then answer your questions. Visit this site often to see upcoming topics.<br />
<a href="http://www.ibm.com/software/websphere/support/supp_tech.html">http://www.ibm.com/software/websphere/support/supp_tech.html</a><br />
<strong>5. Self-Assist Resources and Tools</strong><br />
Find out how online software support tools and resources can save you time, keep you informed, provide training, and help streamline your support experience!<br />
<a href="http://www.ibm.com/software/websphere/support/d2w.html">http://www.ibm.com/software/websphere/support/d2w.html</a><br />
<strong>6. developerWorks WebSphere Application Server zone</strong><br />
Access the developerWorks page for downloads, learning resources and more.<br />
<a href="http://www.ibm.com/developerworks/websphere/zones/was/">http://www.ibm.com/developerworks/websphere/zones/was/</a></ul>
</li>
<p>In the spotlightPlan</p>
<p>Education</ul>
<p>Kind regards,<br />
The WebSphere Application Server team.</p>
<hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/12/ibm_support_newsletter_for_websphere_application_server_1219.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WebSphere为应用程序设置访问认证</title>
		<link>http://www.hashei.me/2009/11/websphere_was_ssl_config.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=websphere_was_ssl_config</link>
		<comments>http://www.hashei.me/2009/11/websphere_was_ssl_config.html#comments</comments>
		<pubDate>Tue, 24 Nov 2009 13:58:00 +0000</pubDate>
		<dc:creator>hashei</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[安全]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[was]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/11/websphere_was_ssl_config.html</guid>
		<description><![CDATA[在《WAS启用IHS的SSL》一文中，我给出了两个PDF，详细描述了如何在IBM Http Server上启用SSL，为用户提供安全的传输通道。但有些应用不仅要实现加密传输，还需要认证功能，比如使用数字证书，或者实体的USB Key。本文就是讲述在这种环境下如何配置，为单独的WAS服务器，没有结合IHS。参考文档《IBM WebSphere Application Server V6.1 Security Handbook》（sg246316）
&#160;
步骤一：配置“密钥库和证书”
注意：配置前请先将密钥文件放置在对应profile的etc目录下
    在管理控制台的“安全性”——“SSL证书和密钥管理”里，点击最右边的“密钥库和证书”。
会看到已经有三个默认的密钥库存在，点击新建：
 


“名称”随便填
“路径”填写密钥文件文件名（必须事先放在对应profile的etc目录下，不支持绝对路径）
类型选择JKS，根据情况勾选是否“只读”
保存完毕后，就会看到新添加的那个密钥库和证书，如下图：   
注意路径
步骤二：新建SSL配置
在管理控制台的“安全性”——“SSL证书和密钥管理”里，点击最右边的“SSL配置”，选择新建
    “名称”随便填写
信任库和密钥库名选择上一步骤新建的那个密钥库，然后点击“获取证书别名”，下面的“缺省服务器证书别名”和“缺省客户机证书别名”就会自动创建。
点击右边的“保护设置（QoP）设置”，在常规属性的“客户机认证”中，选择“必需”，其它都默认，然后保存。详见下图：

步骤三：设置“Web容器传输链”
在“应用程序服务器”——“server1”中，点击“Web容器设置”下的“Web容器传输链”
    点击“WCInboundDefaultSecure”，进入设置页面

在“常规属性”中可以看到“ssl入站通道（SSL 2），默认为“集中管理”，点击进入修改页面。
    在“SSL配置”中选择“特定于此端点”，选择我们之前设置的SSL配置“for test”
第四步：重启服务器
测试
从WC_defaulthost_secure对应的端口（一般为9443，可以在“应用程序服务器 &#62; server1 &#62; 端口”中查看）访问应用，测试是否成功。

经测试：SSL证书和密钥管理下的“管理端点安全配置”在当前环境下不用设置。
附录：WebLogic下的相应配置
在weblogic中配置就简单很多，只要在服务器的“Key Store&#38;SSL”选项卡这一页配置即可，具体见图：
 
 

  Copyright &#169; 2008 This feed is for personal, non-commercial use only
聚沙成塔-小哈的记事薄 by hashei 
如果喜欢，欢迎订阅feed.hashei.com
Digital Fingerprint:
 [...]]]></description>
			<content:encoded><![CDATA[<p>在<a title="配置IBM HTTP Server的SSL" href="http://www.hashei.me/2009/07/enable-ssl-for-ihs.html" target="_blank">《WAS启用IHS的SSL》</a>一文中，我给出了两个PDF，详细描述了如何在IBM Http Server上启用SSL，为用户提供安全的传输通道。但有些应用不仅要实现加密传输，还需要认证功能，比如使用数字证书，或者实体的USB Key。本文就是讲述在这种环境下如何配置，为单独的WAS服务器，没有结合IHS。参考文档《IBM WebSphere Application Server V6.1 Security Handbook》（sg246316）</p>
<p>&#160;</p>
<h4>步骤一：配置“密钥库和证书”</h4>
<p>注意：配置前请先将密钥文件放置在对应profile的etc目录下</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/clip_image002.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="95" alt="websphere ssl key management" src="http://hashei.me/wp-content/uploads/2009/11/clip_image002_thumb.jpg" width="244" border="0" /></a>    <br />在管理控制台的“安全性”——“SSL证书和密钥管理”里，点击最右边的“密钥库和证书”。</p>
<p>会看到已经有三个默认的密钥库存在，点击新建：</p>
<p> <span id="more-819"></span>
</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/clip_image003.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="244" alt="websphere ssl key config" src="http://hashei.me/wp-content/uploads/2009/11/clip_image003_thumb.jpg" width="222" border="0" /></a></p>
<p>“名称”随便填</p>
<p>“路径”填写密钥文件文件名（必须事先放在对应profile的etc目录下，不支持绝对路径）</p>
<p>类型选择JKS，根据情况勾选是否“只读”</p>
<p>保存完毕后，就会看到新添加的那个密钥库和证书，如下图：   <br /><a href="http://hashei.me/wp-content/uploads/2009/11/clip_image005.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="121" alt="websphere ssl key management2" src="http://hashei.me/wp-content/uploads/2009/11/clip_image005_thumb.jpg" width="244" border="0" /></a></p>
<p>注意路径</p>
<h4>步骤二：新建SSL配置</h4>
<p>在管理控制台的“安全性”——“SSL证书和密钥管理”里，点击最右边的“SSL配置”，选择新建</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/clip_image006.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="226" alt="websphere ssl config" src="http://hashei.me/wp-content/uploads/2009/11/clip_image006_thumb.jpg" width="244" border="0" /></a>    <br />“名称”随便填写</p>
<p>信任库和密钥库名选择上一步骤新建的那个密钥库，然后点击“获取证书别名”，下面的“缺省服务器证书别名”和“缺省客户机证书别名”就会自动创建。</p>
<p>点击右边的“保护设置（QoP）设置”，在常规属性的“客户机认证”中，选择“必需”，其它都默认，然后保存。详见下图：</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/clip_image007.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="190" alt="websphere ssl QoP" src="http://hashei.me/wp-content/uploads/2009/11/clip_image007_thumb.jpg" width="244" border="0" /></a></p>
<h4>步骤三：设置“Web容器传输链”</h4>
<p>在“应用程序服务器”——“server1”中，点击“Web容器设置”下的“Web容器传输链”</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/clip_image009.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="122" alt="websphere WCInboundDefaultSecure" src="http://hashei.me/wp-content/uploads/2009/11/clip_image009_thumb.jpg" width="244" border="0" /></a>    <br />点击“WCInboundDefaultSecure”，进入设置页面</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/clip_image010.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="244" alt="websphere WCInbound SSL_2" src="http://hashei.me/wp-content/uploads/2009/11/clip_image010_thumb.jpg" width="176" border="0" /></a></p>
<p>在“常规属性”中可以看到“ssl入站通道（SSL 2），默认为“集中管理”，点击进入修改页面。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/clip_image011.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="244" alt="websphere ssl_2 config" src="http://hashei.me/wp-content/uploads/2009/11/clip_image011_thumb.jpg" width="203" border="0" /></a>    <br />在“SSL配置”中选择“特定于此端点”，选择我们之前设置的SSL配置“for test”</p>
<h4>第四步：重启服务器</h4>
<h4>测试</h4>
<p>从WC_defaulthost_secure对应的端口（一般为9443，可以在“应用程序服务器 &gt; server1 &gt; 端口”中查看）访问应用，测试是否成功。</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/clip_image012.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="147" alt="websphere point to point secure" src="http://hashei.me/wp-content/uploads/2009/11/clip_image012_thumb.jpg" width="244" border="0" /></a></p>
<p>经测试：SSL证书和密钥管理下的“管理端点安全配置”在当前环境下不用设置。</p>
<h4>附录：WebLogic下的相应配置</h4>
<p>在weblogic中配置就简单很多，只要在服务器的“Key Store&amp;SSL”选项卡这一页配置即可，具体见图：</p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/weblogicssl3.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="184" alt="weblogic ssl配置3" src="http://hashei.me/wp-content/uploads/2009/11/weblogicssl3_thumb.jpg" width="244" border="0" /></a> </p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/weblogicssl1.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="196" alt="weblogic ssl配置1" src="http://hashei.me/wp-content/uploads/2009/11/weblogicssl1_thumb.jpg" width="244" border="0" /></a> </p>
<p><a href="http://hashei.me/wp-content/uploads/2009/11/weblogicssl2.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="196" alt="weblogic ssl配置2" src="http://hashei.me/wp-content/uploads/2009/11/weblogicssl2_thumb.jpg" width="244" border="0" /></a></p>
<hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/11/websphere_was_ssl_config.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM WebSphere Recent Supports</title>
		<link>http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ibm_websphere_support_tips1</link>
		<comments>http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html#comments</comments>
		<pubDate>Fri, 18 Sep 2009 00:42:00 +0000</pubDate>
		<dc:creator>hashei</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html</guid>
		<description><![CDATA[This note contains links to WebSphere Application Server technical support documents and information that can help you obtain value from your software. It is intended to help you to be proactive in your support and administration of WebSphere Application Server. 
In the spotlight
1. Possible security exposure with XML digital signature with IBM WebSphere Application Server [...]]]></description>
			<content:encoded><![CDATA[<p>This note contains links to WebSphere Application Server technical support documents and information that can help you obtain value from your software. It is intended to help you to be proactive in your support and administration of WebSphere Application Server. </p>
<ul>In the spotlight
<ul><b>1. Possible security exposure with XML digital signature with IBM WebSphere Application Server (PK80596 and PK80627)</b>      <br />Possible security exposure with XML digital signature       <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21384925">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21384925</a>      <br /><b>2. Security Exposure: WebSphere Application Server with JAX-RPC WS-Security may improperly validate UsernameTokens (PK75992)</b>      <br />JAX-RPC WS-Security may improperly validate UsernameTokens (PK75992)       <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21367223">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21367223</a>      <br /><b>3. Researching Known Vulnerabilities Resulting from a Scan for IBM HTTP Server       <br /></b>Concerns over security vulnerabilities for web servers. The concern may be the result of a recent security scan or PCI scan.       <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21358695">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21358695</a>      <br /><b>4. Webcast replay: Response Time Analysis for Databases and Web Services in WebSphere Application Server</b>      <br />Through experience working with customer performance problems with databases and web services, this WebSphere Support Technical Exchange session provides a method of analysis of the response times for database statement execution and for web services calls from the consumer to the provider.      <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27016472">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27016472</a>      <br /><b>5. Webcast replay: Introduction to the Java Consumability Tools and Java Guided Troubleshooting</b>      <br />Over the last 18 months a number of tools and capabilities have been released to simplify the process of monitoring and debugging Java applications. This WebSphere Support Technical Exchange is designed to introduce the tools, as well as the Java Guided Troubleshooting information which tells the users when and how to use them.      <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27016328">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27016328</a>      <br /><b>6. The Support Authority: Introducing the new IBM Support Portal</b>      <br />The IBM® Support Portal is the latest addition to the portfolio of self-help tools for IBM software. With its new look and feel, you get an unprecedented and consistent support interface for all IBM products &#8212; which you can customize to suit your specific support needs. This article introduces you to all its new features, plus gives you the latest IBM Support news.      <br /><a href="http://www.ibm.com/developerworks/websphere/techjournal/0907_supauth/0907_supauth.html?acss=was091709">http://www.ibm.com/developerworks/websphere/techjournal/0907_supauth/0907_supauth.html?acss=was091709</a>      <br /><b>7. The Support Authority: What’s new in IBM Support Assistant V4.1</b>      <br />IBM Support Assistant is a free serviceability workbench provided by IBM to facilitate self-help diagnostics for software problems. This article provides an overview of the newest features included in the IBM Support Assistant Workbench and Agent V4.1 software offerings.      <br /><a href="http://www.ibm.com/developerworks/websphere/techjournal/0906_supauth/0906_supauth.html?acss=was091709">http://www.ibm.com/developerworks/websphere/techjournal/0906_supauth/0906_supauth.html?acss=was091709</a>      <br /><b>8. Common questions about the web server Plug-in       <br /></b>In the web server Plug-in, what do the following options mean and what are the recommended settings for these options? LoadBalanceWeight; MaxConnections; ConnectTimeout; ServerIOTimeout      <br />What affect does Session Affinity have?      <br />How are connections handled during Plug-in Fail-over?      <br />Are more than one instance of the plugin loaded by the web server? If so, do the plugin instances share information with each other?       <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21318463">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21318463</a>      <br /><b>9. Configuring the WebSphere Application Server Web server plug-in for multiple Web sites</b>      <br />Internet Information Services 6.0 (IIS), which ships with Microsoft Windows 2003, allows multiple Web sites to be run within a single IIS server. Given this ability, can the WebSphere Application Server Web server plug-in be used with multiple IIS Web sites? <b>       <br /></b><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21328944">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg21328944</a>      <br /><b>10. PK90452: Session affinity fails when using URL rewrite and HTTP plug-in</b>      <br />Session affinity using URL rewrite fails when plug-in fails to correctly extract cloneID from the URL.      <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg1PK90452">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg1PK90452</a>      <br /><b>11. Tuning IBM HTTP Server to maximize the number of client connections to WebSphere Application Server</b>      <br />Out of the box, IBM HTTP Server supports a maximum of 600 concurrent connections. Performance will suffer if load dictates more concurrent connections, as incoming requests will be queued up by the host operating system. You can increase the number of maximum connections allowed by IBM HTTP Server by editing the httpd.conf file.       <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=177&amp;uid=swg21167658">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=177&amp;uid=swg21167658</a>      <br /><b>12. Intermittent delay returning response to a client request when ServerIOTimeout is set to non-zero value</b>      <br />When customer uses a non-zero value for the ServerIOTimeout option, responses to client requests are intermittently taking an excessive amout of time to be returned to the client. In fact the responses are being returned when the ServerIOTimeout value pops.
<ul>
<li>PK89949 (Multi-platforms):         <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg1PK89949">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg1PK89949</a></li>
<li>PK82147 (z/OS):          <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg1PK82147">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg1PK82147</a></li>
</ul>
</ul>
<p> Plan
<ul><b>1. Recommended fixes for WebSphere Application server</b>      <br />A comprehensive list of recommended, generally available (GA) fixes for IBM WebSphere Application Server releases.      <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27004980">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27004980</a>      <br /><b>2. Latest fix packs for WebSphere Application Server</b>      <br />A list of the latest available fix packs for IBM WebSphere Application Server releases (Base, Express, Network Deployment).       <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27009661">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27009661</a>      <br /><b>3. Detailed system requirements for WebSphere Application Server</b>      <br />Identifies the supported software options by operating system for the WebSphere Application Server product.      <br /><a href="http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27006921">http://www.ibm.com/support/docview.wss?acss=was091709&amp;rs=180&amp;uid=swg27006921</a></ul>
<p>Education
<ul><b>1. Technical Exchange Webcasts</b>      <br />Take full advantage of your product. Join us as technical experts share their knowledge and then answer your questions. Visit this site often to see upcoming topics.       <br /><a href="http://www.ibm.com/software/websphere/support/supp_tech.html?acss=was091709">http://www.ibm.com/software/websphere/support/supp_tech.html?acss=was091709</a>      <br /><b>2. Self-Assist Resources and Tools</b>      <br />Find out how online software support tools and resources can save you time, keep you informed, provide training, and help streamline your support experience!      <br /><a href="http://www.ibm.com/software/websphere/support/d2w.html?acss=was091709">http://www.ibm.com/software/websphere/support/d2w.html?acss=was091709</a>      <br /><b>3. developerWorks WebSphere Application Server zone</b>      <br />Access the developerWorks page for downloads, learning resources and more.      <br /><a href="http://www.ibm.com/developerworks/websphere/zones/was/?ca=dnb-was091709">http://www.ibm.com/developerworks/websphere/zones/was/?ca=dnb-was091709</a></ul>
</ul>
<hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一次WebSphere性能问题诊断过程</title>
		<link>http://www.hashei.me/2009/08/websphere-performance-troubshooting-1.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=websphere-performance-troubshooting-1</link>
		<comments>http://www.hashei.me/2009/08/websphere-performance-troubshooting-1.html#comments</comments>
		<pubDate>Mon, 24 Aug 2009 14:50:28 +0000</pubDate>
		<dc:creator>hashei</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[性能优化]]></category>
		<category><![CDATA[排错]]></category>
		<category><![CDATA[websphere]]></category>
		<category><![CDATA[数据库]]></category>
		<category><![CDATA[索引]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/08/websphere-performance-troubshooting-1.html</guid>
		<description><![CDATA[ 一次接到用户电话，说某个应用在并发量稍大的情况下就会出现响应时间陡然增大，同时管理控制台的响应时间也很慢，几乎无法进行正常工作。
赶到现场后，查看平台版本为Webshpere6.0.2.29，操作系统为Windows 2003企业版sp2，于是首先分析systemout.log，发现有如下报错：
= com.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException Max connections reached 869
Exception = com.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException
Source = Max connections reached
probeid = 869
同时也发现有“Caused by: java.io.IOException: Async IO operation failed, reason: RC: 10053 您的主机中的软件放弃了一个已建立的连接。”

 很明显是连接池无法分配一个新连接给请求，wait时间过长达到WaitTimeout时间，第一反应是数据库连接池大小开的不够，于是设成初始50，最大150，120S空闲则自动释放连接。
 但是调整参数后没有改善，过了不到10分钟应用依旧变慢。再次查看System.out和FFDC里的错误信息，发现有许多关于IO的报错：
com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream 102
Exception = java.net.SocketTimeoutException
Source = com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream
probeid = 102
stack Dump = java.net.SocketTimeoutException: Async operation timed out
java.io.IOException com.ibm.ws.webcontainer.servlet.RequestUtils.parsePostData 398
Exception = java.io.IOException
Source = com.ibm.ws.webcontainer.servlet.RequestUtils.parsePostData
probeid = 398
Stack Dump = java.io.IOException: Async IO [...]]]></description>
			<content:encoded><![CDATA[<p style="text-indent: 24pt"> 一次接到用户电话，说某个应用在并发量稍大的情况下就会出现响应时间陡然增大，同时管理控制台的响应时间也很慢，几乎无法进行正常工作。</p>
<p style="text-indent: 24pt">赶到现场后，查看平台版本为Webshpere6.0.2.29，操作系统为Windows 2003企业版sp2，于是首先分析systemout.log，发现有如下报错：</p>
<blockquote><p>= com.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException Max connections reached 869
<p>Exception = com.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException
<p>Source = Max connections reached
<p>probeid = 869
<p>同时也发现有“Caused by: java.io.IOException: Async IO operation failed, reason: RC: 10053 您的主机中的软件放弃了一个已建立的连接。”</p>
</blockquote>
<p style="text-indent: 24pt"> 很明显是连接池无法分配一个新连接给请求，wait时间过长达到WaitTimeout时间，第一反应是数据库连接池大小开的不够，于是设成初始50，最大150，120S空闲则自动释放连接。</p>
<p style="text-indent: 24pt"> 但是调整参数后没有改善，过了不到10分钟应用依旧变慢。再次查看System.out和FFDC里的错误信息，发现有许多关于IO的报错：</p>
<blockquote><p>com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream 102
<p>Exception = java.net.SocketTimeoutException
<p>Source = com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream
<p>probeid = 102
<p>stack Dump = java.net.SocketTimeoutException: Async operation timed out
<p>java.io.IOException com.ibm.ws.webcontainer.servlet.RequestUtils.parsePostData 398
<p>Exception = java.io.IOException
<p>Source = com.ibm.ws.webcontainer.servlet.RequestUtils.parsePostData
<p>probeid = 398
<p>Stack Dump = java.io.IOException: Async IO operation failed, reason: RC: 55 指定的网络资源或设备不再可用。probeid = 1184</p>
</blockquote>
<p style="text-indent: 24pt"> 事后才知道其实数据库和中间件之间的问题，但是一来没有报连接池大小不够的错，二来此时管理控制台也几乎无法使用，又结合此应用在操作中会上传许多文件并进行校验，怀疑是服务器的I/O瓶颈导致应用变慢。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 于是在服务器上开启性能工具，添加%Disk time、%Disk Write、%Disk Read、Disk Queue Length、Fage Fault等计数器。发现%Disk Time平均维持在20~70之间，瞬时的Disk Time会达到90多，而且Disk Read值很小，基本是Disk Write。
<p style="text-indent: 24pt"> 继续观察了一段时间，发现当磁盘读写下来后，应用还是很慢，于是分析内存回收情况，查看是否有内存泄漏发生。</p>
<p style="text-indent: 24pt"> 用IBM Monitoring and Diagnostic Tools for Java™ &#8211; Garbage Collection and Memory Visualizer分析发现 Mean interval between collections只有0.46分钟，且内存使用量才250多M就开始GC，而内存参数设置为760~1260M，于是分析内存中的碎片太多，导致GC频繁，使服务的响应速度变慢。同时分析软件得出The mean heap unusable due to fragmentation is estimated at 34.685%，问了应用他们申请内存对象一般是短期的，于是更改GC Policy为Gencon（分代并发），再观察GC日志发现每次回收间隔都较长，而且是young区的回收，Global collections间隔为23分钟。</p>
<p style="text-indent: 24pt"> 可惜做了如此的性能优化，情况一点都未改善，在控制台的性能实时检测中可以看到JDBC连接有40~60个繁忙状态，当时无法确定这是否正常，是否是确实需要用到如此多连接。后来应用开发的检测数据库，发现很多active的连接时间长达5到10分钟，内容为一查询语句。原来应用是在Hibernat下开发的，查询语句被它加了自己的函数，导致原先建的索引无法起作用（应用建立索引的时候犯了低级错误），后来重新建立索引后，查询很快完成，连接池繁忙数量降低到0~5，应用恢复正常。原来是数据库的查询时间过长，导致线程都在等待数据库的返回信息，100个线程很快被用完，无法响应新的服务，因为数据库连接池资源已经开大，所以没有这方面的报错。</p>
<p style="text-indent: 24pt">回顾这一周的排错过程，走了很大的弯路，当时因为经验欠缺没有想到做thread dump，如果做了thread dump的话，应该很容易看到大量的线程在等待数据库的返回，从而定位到数据库问题。</p>
<p style="text-indent: 24pt">从中我们也看到，最终的问题也许很低级，但是排查的过程会很复杂，因为中间件问题牵扯到主机、网络、数据库、应用等各方面。不过得到的经验就是，在应用响应慢的时候，应该做个thread dump观察线程运行情况，而并非要等到hang住，cpu 100%，OutOfMemory的时候才想起分析javacore。</p>
<p style="text-indent: 24pt">
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2010/03/inside_java_classloader.html" rel="bookmark" title="Permanent Link: Java 类加载器的又一篇文章">Java 类加载器的又一篇文章</a></li><li><a href="http://www.hashei.me/2009/07/java-performance-tuning-resources.html" rel="bookmark" title="Permanent Link: Java性能优化参考资料">Java性能优化参考资料</a></li><li><a href="http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html" rel="bookmark" title="Permanent Link: 软硬兼施 优化 WebSphere Application Server">软硬兼施 优化 WebSphere Application Server</a></li><li><a href="http://www.hashei.me/2010/05/linux-system-performance-monitoring.html" rel="bookmark" title="Permanent Link: Linux 性能监控">Linux 性能监控</a></li><li><a href="http://www.hashei.me/2009/04/websphere-introduce.html" rel="bookmark" title="Permanent Link: Websphere系列介绍">Websphere系列介绍</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/08/websphere-performance-troubshooting-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebSphere下应用程序更新</title>
		<link>http://www.hashei.me/2009/07/update-applications-in-websphere.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=update-applications-in-websphere</link>
		<comments>http://www.hashei.me/2009/07/update-applications-in-websphere.html#comments</comments>
		<pubDate>Sat, 25 Jul 2009 15:29:50 +0000</pubDate>
		<dc:creator>hashei</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[初级入门]]></category>
		<category><![CDATA[websphere]]></category>
		<category><![CDATA[程序更新]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/07/update-applications-in-websphere.html</guid>
		<description><![CDATA[先介绍我们常用的直接上传方法
一般来讲，单机版的was，应用程序部署在 %washome%/profiles/%AppProfile%/installedApps下，根新的时候可以直接把新文件上传到这个目录相应位置，但是如果要改动web.xml等重要文件，还需要修改另外一个地方：%washome%/profiles/%AppProfile%/config/cells/CellName/applications/AppName，这里放有包括web.xml等一些配置文件信息，千万不能遗忘（可以先看一下这目录下有些什么文件），否则重启应用后修改不会生效。
如果是ND环境的was，并且做了集群，那么要注意集群所在的每个app profiles下都有installedApps应用程序目录需要修改，同样config下相应文件需要修改（如果有对这目录下的文件进行过修改的话），还一定要注意dm profile的config目录下也需要修改，否则重启dm后所有修改会回滚会最初的样子。最好把变动过的web.xml等文件也更新到dm config下的应用程序包中，我遇到过即使修改config目录下文件，重启dm节点后依然回滚的情况。
Websphere也支持通过控制台更新和删减单个应用文件
这是WebSphere推荐的方法，但是大家不常用罢了，有兴趣的可以看看，聊当多知道一种方法。
要查看此管理控制台页面，单击应用程序 &#62; 企业应用程序。
要查看为应用程序的配置指定的值，单击列表中的应用程序名。显示的应用程序设置页显示已指定的值。在设置页上，您可以更改现有的配置值并且链接到可以协助您配置应用程序的其他控制台页面。
要管理已安装的 J2EE 企业应用程序，启用列表中的应用程序名旁边的选择复选框，然后单击按钮：
按钮
结果操作
启动
试图运行应用程序。在成功启动应用程序之后，如果应用程序在所有部署目标上启动，则应用程序的状态更改为已启动，其他情况下，状态更改为部分已启动。
停止
试图停止应用程序的处理。在成功停止应用程序之后，如果应用程序在所有部署目标上停止，则应用程序的状态更改为已停止，其他情况下，状态更改为部分已停止。
安装
打开可帮助您将应用程序或模块（如 .jar、.war 或 .rar 文件）部署到服务器或集群的向导。
卸载
从 WebSphere Application Server 配置库删除应用程序，并且从所有节点的文件系统删除应用程序二进制文件，而这些节点是配置被保存和与节点同步之后安装应用程序模块的节点。
更新
打开可帮助您更新部署在服务器上的应用程序文件的向导。您可以更新整个应用程序、单个模块、单个文件或一部分应用程序。如果新的文件或模块与服务器上已有的文件或模块同名，则新的文件或模块将替换现有文件或模块。如果服务器上还不存在该新的文件或模块，则将它添加到已部署应用程序。
更新应用
继续更新跨越一个集群安装在多个集群成员上的应用程序。在您更新应用程序的文件或配置之后，单击更新应用，以在安装应用程序的集群的所有集群成员上安装应用程序的已更新文件或配置。更新应用依次为每个集群成员执行下列操作：

保存已更新的应用程序配置。
停止一个节点上的所有集群成员。
通过同步配置更新节点上的应用程序。
重新启动已停止的集群成员。
为所有具有集群成员的节点重复步骤 2 到 4。

此操作在提供应用程序的持续可用性的同时，更新多个集群成员上的应用程序。
除去文件
删除已部署应用程序或模块的文件。除去文件从 WebSphere Application Server 配置库和从安装文件的所有节点的文件系统中删除文件。 如果在集群上部署了应用程序或模块，则在除去文件后，单击更新应用以首次展示跨整个集群的更改。
导出
访问“导出应用程序 EAR 文件”页，您可以使用该页面将企业应用程序导出到您选择的位置上的 EAR 文件。使用导出操作备份已部署应用程序并且保存它的绑定信息。
导出 DDL
访问“导出应用程序 DDL 文件”页，您可以使用该页面将企业应用程序的 EJB 模块中的 DDL 文件（Table.ddl）导出到您选择的位置。
使用此页面更新已安装在服务器上的企业应用程序、模块或文件。
要查看此管理控制台页面，完成下列步骤：

单击应用程序 &#62; 企业应用程序。
选择您要更新的已安装的应用程序或模块。
单击更新。

单击更新显示帮助您更新部署在单元中的应用程序文件的页面。您可以更新整个应用程序、单个模块、单个文件或一部分应用程序。如果新的文件或模块与服务器上已有的文件或模块具有相同的相对路径，则新的文件或模块将替换现有文件或模块。如果服务器上还不存在该新的文件或模块，则将它添加到已部署应用程序。
应用程序名
指定您在“企业应用程序”页面上选择的已安装（或部署）的应用程序的名称。
完整的应用程序
在更新选项下，指定用新的（已更新的）企业应用程序 .ear 文件替换已安装在服务器上的应用程序。
选择此选项后，指定 .ear 文件是在本地还是在远程文件系统上，并指定应用程序的完整路径名。此路径在安装前提供已更新的 .ear 文件的位置。
如果浏览器和更新文件或模块在同一机器上，无论服务器是否在该机器上，使用本地文件系统。本地文件系统可用于所有更新选项。
如果应用程序文件驻留在当前单元上下文的任何节点上，使用远程文件系统。 如果 Node Agent 或 Deployment Manager 正在所选节点上运行，您可以浏览节点的整个文件系统。浏览期间，仅显示 .ear、.jar 或 .war 文件。另外使用远程文件系统选项，以指定已在运行应用程序服务器的机器上的应用程序文件。例如，Windows [...]]]></description>
			<content:encoded><![CDATA[<h4>先介绍我们常用的直接上传方法</h4>
<p>一般来讲，单机版的was，应用程序部署在 %washome%/profiles/%AppProfile%/installedApps下，根新的时候可以直接把新文件上传到这个目录相应位置，但是如果要改动web.xml等重要文件，还需要修改另外一个地方：<strong>%washome%/profiles/%AppProfile%/config/cells/CellName/applications/AppName</strong>，这里放有包括web.xml等一些配置文件信息，千万不能遗忘（可以先看一下这目录下有些什么文件），<strong>否则重启应用后修改不会生效</strong>。
<p>如果是ND环境的was，并且做了集群，那么要注意集群所在的每个app profiles下都有installedApps应用程序目录需要修改，同样config下相应文件需要修改（如果有对这目录下的文件进行过修改的话），还一定要注意dm profile的config目录下也需要修改，否则重启dm后所有修改会回滚会最初的样子。最好把变动过的web.xml等文件也更新到dm config下的应用程序包中，我遇到过即使修改config目录下文件，重启dm节点后依然回滚的情况。<br />
<h4><b>Websphere也</b><b>支持通过控制台更新和删减单个应用文件</b></h4>
<p>这是WebSphere推荐的方法，但是大家不常用罢了，有兴趣的可以看看，聊当多知道一种方法。</p>
<p>要查看此管理控制台页面，单击<b>应用程序 &gt; 企业应用程序</b>。
<p>要查看为应用程序的配置指定的值，单击列表中的应用程序名。显示的应用程序设置页显示已指定的值。在设置页上，您可以更改现有的配置值并且链接到可以协助您配置应用程序的其他控制台页面。
<p>要管理已安装的 J2EE 企业应用程序，启用列表中的应用程序名旁边的<b>选择</b>复选框，然后单击按钮：
<p><b>按钮</b>
<p><b>结果操作</b>
<p><b>启动</b>
<p>试图运行应用程序。在成功启动应用程序之后，如果应用程序在所有部署目标上启动，则应用程序的状态更改为<i>已启动</i>，其他情况下，状态更改为<i>部分已启动</i>。
<p><b>停止</b>
<p>试图停止应用程序的处理。在成功停止应用程序之后，如果应用程序在所有部署目标上停止，则应用程序的状态更改为<i>已停止</i>，其他情况下，状态更改为<i>部分已停止</i>。
<p><b>安装</b>
<p>打开可帮助您将应用程序或模块（如 .jar、.war 或 .rar 文件）部署到服务器或集群的向导。
<p><b>卸载</b>
<p>从 WebSphere Application Server 配置库删除应用程序，并且从所有节点的文件系统删除应用程序二进制文件，而这些节点是配置被保存和与节点同步之后安装应用程序模块的节点。
<p><b>更新</b>
<p>打开可帮助您更新部署在服务器上的应用程序文件的向导。您可以更新整个应用程序、单个模块、单个文件或一部分应用程序。如果新的文件或模块与服务器上已有的文件或模块同名，则新的文件或模块将替换现有文件或模块。如果服务器上还不存在该新的文件或模块，则将它添加到已部署应用程序。
<p><b>更新应用</b>
<p>继续更新跨越一个集群安装在多个集群成员上的应用程序。在您更新应用程序的文件或配置之后，单击<b>更新应用</b>，以在安装应用程序的集群的所有集群成员上安装应用程序的已更新文件或配置。<b>更新应用</b>依次为每个集群成员执行下列操作：
<ol>
<li>保存已更新的应用程序配置。
<li>停止一个节点上的所有集群成员。
<li>通过同步配置更新节点上的应用程序。
<li>重新启动已停止的集群成员。
<li>为所有具有集群成员的节点重复步骤 2 到 4。</li>
</ol>
<p>此操作在提供应用程序的持续可用性的同时，更新多个集群成员上的应用程序。
<p><b>除去文件</b>
<p>删除已部署应用程序或模块的文件。<b>除去文件</b>从 WebSphere Application Server 配置库和从安装文件的所有节点的文件系统中删除文件。 如果在集群上部署了应用程序或模块，则在除去文件后，单击<b>更新应用</b>以首次展示跨整个集群的更改。
<p><b>导出</b>
<p>访问“导出应用程序 EAR 文件”页，您可以使用该页面将企业应用程序导出到您选择的位置上的 EAR 文件。使用<b>导出</b>操作备份已部署应用程序并且保存它的绑定信息。
<p><b>导出 DDL</b>
<p>访问“导出应用程序 DDL 文件”页，您可以使用该页面将企业应用程序的 EJB 模块中的 DDL 文件（Table.ddl）导出到您选择的位置。
<p>使用此页面更新已安装在服务器上的企业应用程序、模块或文件。
<p>要查看此管理控制台页面，完成下列步骤：
<ol>
<li>单击<b>应用程序 &gt; 企业应用程序</b>。
<li>选择您要更新的已安装的应用程序或模块。
<li>单击<b>更新</b>。</li>
</ol>
<p>单击<b>更新</b>显示帮助您更新部署在单元中的应用程序文件的页面。您可以更新整个应用程序、单个模块、单个文件或一部分应用程序。如果新的文件或模块与服务器上已有的文件或模块具有相同的相对路径，则新的文件或模块将替换现有文件或模块。如果服务器上还不存在该新的文件或模块，则将它添加到已部署应用程序。
<p><a name="ApplicationDeployment_name_desc"></a><b>应用程序名</b>
<p>指定您在“企业应用程序”页面上选择的已安装（或部署）的应用程序的名称。
<p><a name="update-full"></a><b>完整的应用程序</b>
<p>在<b>更新选项</b>下，指定用新的（已更新的）企业应用程序 .ear 文件替换已安装在服务器上的应用程序。
<p>选择此选项后，指定 .ear 文件是在本地还是在远程文件系统上，并指定应用程序的完整路径名。此路径在安装前提供已更新的 .ear 文件的位置。
<p>如果浏览器和更新文件或模块在同一机器上，无论服务器是否在该机器上，使用<b>本地文件系统</b>。<b>本地文件系统</b>可用于所有更新选项。
<p>如果应用程序文件驻留在当前单元上下文的任何节点上，使用<b>远程文件系统</b>。 如果 Node Agent 或 Deployment Manager 正在所选节点上运行，您可以浏览节点的整个文件系统。浏览期间，仅显示 .ear、.jar 或 .war 文件。另外使用<b>远程文件系统</b>选项，以指定已在运行应用程序服务器的机器上的应用程序文件。例如，Windows 机器上的字段值可能是 C:\WebSphere\AppServer\installableApps\test.ear。
<p>注： 应用程序安装期间，通常从运行浏览器的客户机将应用程序文件上载到部署它们的、在运行管理控制台的服务器上。在这些情况下，使用运行管理控制台的 Web 浏览器选择 .ear、.war 或 .jar 模块，以上载到服务器。然而在某些情况下，应用程序文件驻留在单元中的任何节点的文件系统上。要让应用程序服务器安装这些文件，使用<b>远程文件系统</b>选项。
<p>指定有关 .ear 文件的必需的信息后，单击<b>下一步</b>显示更新应用程序文件的向导。此更新向导与安装向导类似，它提供了指定或编辑应用程序绑定信息提供字段。根据需要完成更新向导中的步骤。
<p>当更新了完整的应用程序时，卸载旧的应用程序并安装新的应用程序。当保存配置更改并随后同步配置更改时，在应用程序将运行的节点上扩展应用程序文件。如果当更新应用程序时它正在节点上运行，则停止应用程序、更新应用程序文件并且启动应用程序。
<p><a name="update-singlem"></a><b>单个模块</b>
<p>在<b>更新选项</b>下，指定替换在已安装的应用程序中的模块，或将模块添加到已安装的应用程序。模块可以是 Web 模块（.war 文件）、Enterprise Bean 模块（EJB .jar 文件）或资源适配器模块（连接器 .rar 文件）。
<p>选择此选项后，指定模块是在本地还是在远程文件系统上，并指定模块的完整路径名。此路径在安装前提供已更新模块的位置。要获取有关<b>本地文件系统</b>和<b>远程文件系统</b>的信息，请参阅以上<b>完整的应用程序</b>的描述。
<p>要替换模块，<b>模块的相对路径</b>（模块 URI）的值必须与要在已安装的应用程序中更新的模块的路径匹配。
<p>要将新模块添加到已安装的应用程序，<b>模块的相对路径</b>的值<i>不</i>能与已安装的应用程序中模块的路径匹配。此值指定新模块期望的路径。
<p>如果您正在安装独立的 Web 模块，则指定<b>上下文根</b>的值。上下文根与定义的 servlet 映射（来自 .war 文件）进行组合，以组成用户输入以访问该 servlet 的完整 URL。例如，如果上下文根是 /gettingstarted 并且 servlet 映射是 MySession，则 URL 是 http://host:port/gettingstarted/MySession。
<p>指定有关模块的必需的信息后，单击<b>下一步</b>显示更新应用程序文件的向导。更新向导与安装向导类似，它提供指定或编辑模块绑定信息的字段。根据需要完成更新向导中的步骤。
<p>在添加或更新了单个模块后，当保存配置更改时，新的或更新的模块被存储到 WebSphere Application Server 配置存储库的已部署应用程序中。当这些更改与节点一起同步时，模块被添加或更新到节点的文件系统中。如果当添加或更新模块时应用程序正在节点上运行，则发生下列某个情况：
<p>· 对于到 Web 模块的更新，停止正在运行的 Web 模块，更新 Web 模块文件然后启动 Web 模块。
<p>· 对于模块增补，在节点上扩展添加的模块之后，在运行应用程序的应用程序服务器上启动这个添加的模块。不需要重新启动应用程序。
<p>· 如果应用程序的类装入器策略设置为单个以使所有的模块共享一个类装入器，则对于模块级别更改，停止和重新启动整个应用程序。
<p>· 如果与 WebSphere Application Server 一起配置的 Security Provider 不支持动态更新，则对于模块级别更改，停止和重新启动整个应用程序。
<p>· 对于模块的其他更新，停止整个应用程序，更新模块文件，然后启动更个应用程序。
<p><a name="update-singlef"></a><b>单个文件</b>
<p>在<b>更新选项</b>下，指定替换在已安装的应用程序中的文件，或将文件添加到已安装的应用程序。
<p>使用此选项更新应用程序使用的并且不是 .ear、.war、.rar 或某些情况下 .jar文件的文件。您可以使用此选项添加或更新不是作为应用程序中模块定义的 .jar 文件。要更新 .ear 文件，使用<b>完整的应用程序</b>选项。要更新作为应用程序中模块定义的 .war 文件、.rar 文件或 .jar 文件，使用<b>单个模块</b>选项。
<p>选择此选项后，指定文件是在本地还是在远程文件系统上，并指定文件的完整路径名。此路径在安装前提供已更新文件的位置。要获取有关<b>本地文件系统</b>和<b>远程文件系统</b>的信息，请参阅以上<b>完整的应用程序</b>的描述。
<p>下一步，指定<b>文件的相对路径</b>的值。文件的相对路径必须从 .ear 文件的根开始。例如，如果文件位于 hello.jar 模块中的 com/company/greeting.class，则指定 hello.jar/com/company/greeting.class 的相对路径。
<p>要替换文件，<b>文件的相对路径</b>的值必须与在已安装的应用程序中要更新的文件的路径匹配。
<p>要将新文件添加到已安装的应用程序，<b>文件的相对路径</b>的值<i>不</i>能与在已安装的应用程序中的文件的路径匹配。此值指定新文件期望的路径。
<p>在添加或更新了单个文件后，当保存配置更改时，新的或更新的文件被存储到 WebSphere Application Server 配置存储库的已部署应用程序中。当这些更改与节点一起同步时，文件被添加或更新到节点的文件系统中。如果当添加或更新文件时应用程序正在节点上运行，则发生下列某个情况：
<p>· 在应用程序元数据作用域（META-INF 目录）上添加文件时，或在任何应用程序作用域上或非 Web 模块中更新这些文件时，停止整个应用程序，添加或更新文件，然后重新启动整个应用程序。
<p>· 在应用程序非元数据作用域（在 META-INF 目录外但不在任何模块中）上添加文件时，在不重新启动运行应用程序的情况下在文件系统中保存更改。
<p>· 当文件添加到或更新到 Web 模块元数据（META-INF 或 WEB-INF 目录）时，停止运行的 Web 模块，添加或更新 Web 模块文件，然后启动此 Web 模块。
<p>· 对于 Web 模块中的所有其他文件，在节点的文件系统上添加或更新文件，而没有停止应用程序或任何其组件。
<p><a name="update-part"></a><b>部分应用程序</b>
<p>在<b>更新选项</b>下，指定通过上载压缩文件更新已安装的应用程序的多个文件。根据已压缩文件的内容，单独使用此操作可以替换已安装的应用程序的文件，将新文件添加到已安装的应用程序或从该用程序将文件删除。在已压缩文件中的每个条目都作为单个文件对待，而来自已压缩文件的根的文件的路径都作为在已安装的应用程序中的文件的相对路径对待。
<p>选择此选项后，指定已压缩文件是在本地还是在远程文件系统上，并指定已压缩文件的完整路径名。您将有可能使用<b>本地文件系统</b>，因为您正在上载压缩文件并且远程浏览仅适用于 .ear、.war 或 .jar 文件。指定有效的已压缩文件格式，如 .zip 或 .gzip。此路径在安装前提供已压缩文件的位置。此选项将已压缩文件解压缩到已安装的应用程序目录中。
<p>如果浏览器和更新文件或模块在同一机器上，无论服务器是否在该机器上，使用<b>本地文件系统</b>。<b>本地文件系统</b>可用于所有更新选项。
<p>要替换文件，在已压缩文件中的文件必须有与在已安装的应用程序中要更新的文件相同的相对路径。
<p>要将新文件添加到已安装的应用程序，在已压缩文件中的文件必须有与已安装的应用程序中的文件不同的相对路径。
<p>已安装的应用程序中文件的相对路径由模块（如果文件在模块内）的相对路径和来自模块的根的用 / 分隔的文件的相对路径的并置组成。
<p>要从已安装的应用程序除去文件，使用在任何归档作用域中名为 META-INF/ibm-partialapp-delete.props 的文件在已压缩文件中指定元数据。ibm-partialapp-delete.props 文件必须是 ASCII 文件，它列出在每行都有一个条目的此归档中要删除的文件。条目可以包含字符串模式，如识别多个文件的正则表达式。要删除的文件的文件路径必须相对于具有 META-INF/ibm-partialapp-delete.props 文件的归档路径。
<p><b>要删除的文件的级别</b>
<p><b>要包括在压缩文件中的 Metadata.props 文件</b>
<p>应用程序
<p>将 META-INF/ibm-partialapp-delete.props 包括到压缩文件中。在元数据 .props 文件中，列出要删除的文件。文件路径是相对于 META-INF/ibm-partialapp-delete.props 文件的位置。
<p>例如，要从 my.ear 文件的根删除名为 utils/config.xmi 的文件，则将行 utils/config.xmi 包括到 META-INF/ibm-partialapp-delete.props 文件中。
<p>模块
<p>在压缩文件中包含 <i>module_uri</i>/META-INF/ibm-partialapp-delete.props。
<p>要从模块删除一个文件，在元数据 .props 文件中包含模块的文件相对路径。例如，要从 my.jar 模块删除 a/b/c.jsp，在压缩文件的 my.jar/META-INF/ibm-partialapp-delete.props 文件中包含 a/b/c.class 。
<p>要在模块内删除多个文件，在元数据 .props 文件中列出要删除的文件，每行一个条目。例如，要从 my.war 文件中删除所有的 JavaServer Pages（.jsp 文件），在 my.war/META-INF/ibm-partialapp-delete.props 文件中包含 .*jsp 行。此行使用正则表达式 .*jsp 来识别 my.war 中的所有 .jsp 文件。
<p>您可使用单个部分应用程序文件添加、删除和更新多个文件。
<p>更新部分应用程序后，当保存配置更改时，新的或更新的应用程序文件被存储到 WebSphere Application Server 配置库的已部署应用程序中。当这些更改与节点一起同步时，文件被添加或更新到节点的文件系统中。因为部分应用程序选项更新多个文件，使用部分应用程序中的个别文件确定重新启动的应用程序组件。
<p>示例
<p>部分应用程序压缩文件中的条目的示例如下所示：
<p>util.jar
<p>META-INF/ibm-partialapp-delete.props
<p>foo.jar/com/mycomp/xyz.class
<p>xyz.war/welcome.jsp
<p>xyz.war/WEB-INF/web.xml
<p>webmod.war/META-INF/ibm-partialapp-delete.props
<p>对于此示例，META-INF/ibm-partialapp-delete.props 文件包含 .*.dat 和 tools/test.jar 文件。webmod.war/META-INF/ibm-partialapp-delete.props 文件包含 com/test/.*.jsp 和 WEB-INF/test.xmi 文件。
<p>部分应用程序更新选项执行下列操作：
<p>· 在已部署应用程序中添加或替换 util.jar。
<p>· 添加或替换已部署应用程序的 foo.jar 文件中的 com/mycomp/xyz.class。
<p>· 从应用程序而不是从任何模块删除 *.dat 文件。
<p>· 从应用程序删除 tools/test.jar。
<p>· 添加或替换已部署应用程序的 xyz.war 模块内的 welcome.jsp。
<p>· 替换已部署应用程序的 xyz.war 模块内的 WEB-INF/web.xml。
<p>· 从 webmod.war 模块删除 com/test/*.jsp。
<p>· 从 webmod.war 模块删除 WEB-INF/test.xmi。</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/12/ibm_support_newsletter_for_websphere_application_server_1219.html" rel="bookmark" title="Permanent Link: IBM WebSphere最新技术支持信息">IBM WebSphere最新技术支持信息</a></li><li><a href="http://www.hashei.me/2009/04/patch-install-for-was.html" rel="bookmark" title="Permanent Link: Websphere入门篇（二）-为WAS打上补丁">Websphere入门篇（二）-为WAS打上补丁</a></li><li><a href="http://www.hashei.me/2010/04/%e6%ac%b2%e9%80%9f%e5%88%99%e4%b8%8d%e8%be%be.html" rel="bookmark" title="Permanent Link: 欲速则不达">欲速则不达</a></li><li><a href="http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html" rel="bookmark" title="Permanent Link: 软硬兼施 优化 WebSphere Application Server">软硬兼施 优化 WebSphere Application Server</a></li><li><a href="http://www.hashei.me/2009/04/websphere-introduce.html" rel="bookmark" title="Permanent Link: Websphere系列介绍">Websphere系列介绍</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/07/update-applications-in-websphere.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WebSphere应用打包部署</title>
		<link>http://www.hashei.me/2009/07/websphere-application-compact-for-deployment.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=websphere-application-compact-for-deployment</link>
		<comments>http://www.hashei.me/2009/07/websphere-application-compact-for-deployment.html#comments</comments>
		<pubDate>Fri, 24 Jul 2009 14:57:24 +0000</pubDate>
		<dc:creator>hashei</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[初级入门]]></category>
		<category><![CDATA[websphere]]></category>
		<category><![CDATA[应用程序打包]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/07/websphere-application-compact-for-deployment.html</guid>
		<description><![CDATA[本文主要讲述使用WebSphere 5中自带的“应用程序组装工具”来为应用程序打包的方法。]]></description>
			<content:encoded><![CDATA[<p style="text-indent: 24pt">本文主要讲述使用WebSphere 5中自带的“应用程序组装工具”来为应用程序打包的方法。虽然是V5下的工具，但是得到的war包和ear包可以在V6的WebSphere上发布，可以拷贝出相关文件作为绿色软件使用。由于工作中应用程序包基本由开发人员提供，所以本人对其它IDE自带的打包工具或者ANT工具不是特别熟悉，但是这个“应用程序组装工具”对于已打包软件的查看和修改还是有一定作用的。</p>
<h4><a name="_Toc173645507">打包工具介绍</a></h4>
<p>我们一般使用的是Webshpere 5的应用程序组装工具，将jsp和class等打成ear包。在Webshpere 5安装（或直接拷贝过来）目录下bin目录中，如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image002.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="clip_image002" src="http://hashei.me/wp-content/uploads/2009/07/clip_image002_thumb.jpg" width="136" border="0"></a>
<p>找到assembly.bat和setupCmdLine.bat这两个文件，如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image004.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="78" alt="clip_image004" src="http://hashei.me/wp-content/uploads/2009/07/clip_image004_thumb.jpg" width="179" border="0"></a>
<p>其中assembly.bat文件是用于启动应用程序组装工具；setupCmdLine.bat是用于配置启动参数，位于文件开头部分的两项可能（如果是拷过来的）需要配置：
<p>SET WAS_HOME=D:\WebSphere5\AppServer
<p>SET JAVA_HOME=D:\j2sdk1.4.2_03
<p>WAS_HOME：Webshpere 5的安装目录或Webshpere 5的拷贝目录；
<p>JAVA_HOME：jdk目录，默认指向${WebSphere5}\AppServer\java目录，但不一定有效，你可以尝试指向你常用的jdk目录；
<p>参数配置好后，运行assembly.bat文件，进程界面结束后显示应用程序组装工具的主界面，如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image006.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="201" alt="clip_image006" src="http://hashei.me/wp-content/uploads/2009/07/clip_image006_thumb.jpg" width="244" border="0"></a>
<p><b>[</b><b>进程界面]</b>
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image008.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="165" alt="clip_image008" src="http://hashei.me/wp-content/uploads/2009/07/clip_image008_thumb.jpg" width="244" border="0"></a>
<p><b>[</b><b>主界面]</b><br />
<h4><a name="_Toc173645508">简明操作方法</a></h4>
<p>点击toolbar中[新建]按钮，选择[应用程序]，如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image010.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="233" alt="clip_image010" src="http://hashei.me/wp-content/uploads/2009/07/clip_image010_thumb.jpg" width="244" border="0"></a>
<p>便打开如下界面：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image012.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="184" alt="clip_image012" src="http://hashei.me/wp-content/uploads/2009/07/clip_image012_thumb.jpg" width="244" border="0"></a>
<p>在红线圈画的地方命名你的ear包名称，然后右击左侧目录树的[Web模块]后点击[新建]，如下图
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image014.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="145" alt="clip_image014" src="http://hashei.me/wp-content/uploads/2009/07/clip_image014_thumb.jpg" width="176" border="0"></a>
<p>弹出其配置界面，如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image016.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="215" alt="clip_image016" src="http://hashei.me/wp-content/uploads/2009/07/clip_image016_thumb.jpg" width="244" border="0"></a>
<p>命名好文件名（war包的名称）和上下文的根后点击[确定]按钮，再展开[Web模块]目录树，得到下图操作界面：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image018.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="193" alt="clip_image018" src="http://hashei.me/wp-content/uploads/2009/07/clip_image018_thumb.jpg" width="244" border="0"></a>
<p>以下的步骤比较关键，主要包括：
<p>1、 配置资源引用
<p>2、 配置类文件、jar文件和资源文件
<p>此处如上图红线圈定部分，稍做解释：
<p><b>资源应用 </b>在这我们主要定义WebSphere 6中的数据库连接池的JNDI名称。
<p><b>类文件 </b>web应用根目录中WEB-INF\classes目录和其子目录下的所有文件，包括“.class”和“.properties”（一般定义在classes目录下）等文件
<p><b>jar</b><b>文件 </b>web应用根目录中WEB-INF\lib目录下的所有jar文件<b></b>
<p><b>资源文件 </b>web应用根目录中所有的“.jsp”、“.css”、“.js”、“.inc”和图片文件以及WEB-INF目录下的所有配置文件和定义文件，例如：struts-config.xml，struts-html.tld等<br />
<h5><a name="_Toc173645509">配置资源引用</a></h5>
<p>右击[资源引用]点击[新建]，打开如下界面：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image020.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="215" alt="clip_image020" src="http://hashei.me/wp-content/uploads/2009/07/clip_image020_thumb.jpg" width="244" border="0"></a>
<p>将红线圈定部分作如下修改：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image022.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="46" alt="clip_image022" src="http://hashei.me/wp-content/uploads/2009/07/clip_image022_thumb.jpg" width="244" border="0"></a>
<p>其意义在是用于定义数据连接池，还有其他作用，你一看便知。然后，点击[绑定]Tab页，如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image024.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="220" alt="clip_image024" src="http://hashei.me/wp-content/uploads/2009/07/clip_image024_thumb.jpg" width="244" border="0"></a>
<p>这里关键在于写你的数据库连接池的JNDI名称，在之后的应用发布中会详细定义的，好了按照定义我写成如下：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image026.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="20" alt="clip_image026" src="http://hashei.me/wp-content/uploads/2009/07/clip_image026_thumb.jpg" width="244" border="0"></a>
<p>到此，我们数据库连接的资源引用已定义完毕，点击[确定]按钮吧！<br />
<h5><a name="_Toc173645510">配置类文件、jar文件和资源文件</a></h5>
<p><b>1、 </b><b>配置类文件</b>
<p>右击[类文件]然后点击[添加文件]，如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image028.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="99" alt="clip_image028" src="http://hashei.me/wp-content/uploads/2009/07/clip_image028_thumb.jpg" width="225" border="0"></a>
<p>打开以下界面：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image030.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="182" alt="clip_image030" src="http://hashei.me/wp-content/uploads/2009/07/clip_image030_thumb.jpg" width="244" border="0"></a>
<p>注意红色线圈定部分的概念，稍作解释，我们一般应用的目录例如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image032.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="213" alt="clip_image032" src="http://hashei.me/wp-content/uploads/2009/07/clip_image032_thumb.jpg" width="129" border="0"></a>
<p>在此opensrc就是你的根目录或归档。点击[浏览]按钮，选择文件夹opensrc后如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image034.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="172" alt="clip_image034" src="http://hashei.me/wp-content/uploads/2009/07/clip_image034_thumb.jpg" width="244" border="0"></a>
<p>在左侧的目录树中展开WEB-INF目录后选中classes目录，这时右侧内容就显示classes下的所有内容了，如下：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image036.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="172" alt="clip_image036" src="http://hashei.me/wp-content/uploads/2009/07/clip_image036_thumb.jpg" width="244" border="0"></a>
<p>选中右侧所有内容，点击[添加]按钮后如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image038.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="184" alt="clip_image038" src="http://hashei.me/wp-content/uploads/2009/07/clip_image038_thumb.jpg" width="244" border="0"></a>
<p>你也可以去除掉一些不需要的内容，比如我们经常使用VSS的产生的“vssver.scc”，选中后点击[去除]按钮即可，好了完成了点击[确定]按钮。
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image040.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="184" alt="clip_image040" src="http://hashei.me/wp-content/uploads/2009/07/clip_image040_thumb.jpg" width="244" border="0"></a>
<p>你可以点击红线圈定的[扩展]头，进行排序，选中所有需去除的文件，然后按键盘[DEL]键删除。到此类文件添加完毕。
<p><b>2、 </b><b>配置jar文件</b>
<p>添加jar文件与添加类文件操作雷同，只不过在目录树左侧选择“WEB-INF/lib”目录，值得注意的是添加的一定要是“jar”文件，如果不是，例如spring的“spring-beans.dtd”文件，工具会提醒你的，别管它了，只要[确定]就行。
<p><b>3、 </b><b>配置资源文件</b>
<p>添加资源文件分两步：
<p>Ø 在目录树左侧选择“根”目录，在此就是“opensrc”目录，值得注意的是选择右侧内容时注意去掉“WEB-INF”目录，如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image042.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="184" alt="clip_image042" src="http://hashei.me/wp-content/uploads/2009/07/clip_image042_thumb.jpg" width="244" border="0"></a>
<p>Ø 在目录树左侧选择“WEB-INF”目录，值得注意的是选择右侧内容时注意去掉“classes”和“lib”目录，如下图：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image044.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="184" alt="clip_image044" src="http://hashei.me/wp-content/uploads/2009/07/clip_image044_thumb.jpg" width="244" border="0"></a>
<p>点击[确定]按钮，一切OK，噢！不对，列表怎么没有“struts-config.xml”等文件，我也不知道为什么，工具没有将他们显示出来，不过你放心，他们已被包含进来了。
<p>接下来就要配置所有的servlet和servlet映射，可以对照最初的web.xml文件逐个添加到“web组件”和servlet映射中去，要注意配置一些初始化参数和其他属性。
<p>对照应用程序的web.xml可能还需要添加一些别的配置信息到它的新的部署描述符里去，比如标记库，侦听器，jndi等资源引用，欢迎页面等都可以一一添加进去。
<p>最后在“文件”一栏中选择“查看部署描述符”仔细对照新生成的和最初的有没有不同，仔细修改。
<p>一切OK，点击toolbar上的[保存]按钮吧！
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image046.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="149" alt="clip_image046" src="http://hashei.me/wp-content/uploads/2009/07/clip_image046_thumb.jpg" width="210" border="0"></a>
<p>工具显示保存进程：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image048.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="81" alt="clip_image048" src="http://hashei.me/wp-content/uploads/2009/07/clip_image048_thumb.jpg" width="244" border="0"></a>
<p>然后高兴的弹出：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image050.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="107" alt="clip_image050" src="http://hashei.me/wp-content/uploads/2009/07/clip_image050_thumb.jpg" width="244" border="0"></a>
<p>哈哈！大功告成了！别急，我们来检查一下，使用RAR将“.ear”包打开
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image052.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="187" alt="clip_image052" src="http://hashei.me/wp-content/uploads/2009/07/clip_image052_thumb.jpg" width="244" border="0"></a>
<p>噢！原来是这样，再进一步打开“META-INF”目录：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image054.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="187" alt="clip_image054" src="http://hashei.me/wp-content/uploads/2009/07/clip_image054_thumb.jpg" width="244" border="0"></a>
<p>这就是IBM的打包工具加进来的东东！再打开“.war”文件：
<p><a href="http://hashei.me/wp-content/uploads/2009/07/clip_image056.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="187" alt="clip_image056" src="http://hashei.me/wp-content/uploads/2009/07/clip_image056_thumb.jpg" width="244" border="0"></a>
<p>“struts-config.xml”等文件也都在。注意war包里的目录层次不要搞乱，乱掉了一般要重新打包资源文件，确保万无一失。 </p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html" rel="bookmark" title="Permanent Link: 软硬兼施 优化 WebSphere Application Server">软硬兼施 优化 WebSphere Application Server</a></li><li><a href="http://www.hashei.me/2009/11/%ef%bc%88%e8%bd%ac%ef%bc%89websphere-application-server-6-0%e9%85%8d%e7%bd%ae%e4%b8%8e%e7%ae%a1%e7%90%86.html" rel="bookmark" title="Permanent Link: （转）Websphere Application Server 6.0配置与管理">（转）Websphere Application Server 6.0配置与管理</a></li><li><a href="http://www.hashei.me/2009/05/websphere-topology-terminology.html" rel="bookmark" title="Permanent Link: Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上">Server Node Cell Cluster&mdash;Websphere拓扑结构及术语介绍上</a></li><li><a href="http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html" rel="bookmark" title="Permanent Link: IBM WebSphere Recent Supports">IBM WebSphere Recent Supports</a></li><li><a href="http://www.hashei.me/2009/06/was-console-security.html" rel="bookmark" title="Permanent Link: 安全第一-WebSphere启用全局安全性">安全第一-WebSphere启用全局安全性</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/07/websphere-application-compact-for-deployment.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WebSphere入门篇（四）-安装集群</title>
		<link>http://www.hashei.me/2009/05/websphere-cluster.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=websphere-cluster</link>
		<comments>http://www.hashei.me/2009/05/websphere-cluster.html#comments</comments>
		<pubDate>Mon, 04 May 2009 13:53:03 +0000</pubDate>
		<dc:creator>hashei</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[初级入门]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.hashei.me/2009/05/websphere-cluster.html</guid>
		<description><![CDATA[有了最早的安装WAS6.0和上两篇文章的介绍，接下来安装集群的过程其实很简单。
对于新安装的集群：


安装WAS主程序并升级补丁


建立Deployment Manager profile


新建两个Custom profile，建立过程中就完成联合节点工作


启动两个node中的nodeagent


进入控制台，新建集群，分别在两个节点添加application server


如果新建Custom profile时出现问题，或者更多的情况是想把原来已经建立好的，带有应用的application server profiles联合到DM中来建立集群，那么：

安装WAS主程序并升级补丁
建立Deployment Manager profile
新建两个application server profile（或者原先已经有了）
到profiles/bin目录下执行addnode命令：addnode DM所在IP或主机名 8879（端口）-includeapps（如果有应用的话）-username {用户名} -password {密码}
启动app profiles下的nodeagent
进入控制台，新建集群，用已经存在的application转化为cluster的member

复习一下安装profile的过程
安装DM profile

建立application server profiles

看一下如何新建集群：注意先运行addnode命令，然后启动node agent

看明白了么？没琢磨清的来这里：WebSphere v5 ND在AIX环境中安装和配置
WebSphere V7.0在Windows下的集群配置
还有一份在Unix/Linux下配置V6.1的集群文件比较大，Google Docs无法上传，其实和V7.0没有差别，照着V7做就可以了。传到了纳米盘，《WebSphere v6.1 ND在Unix&#38;Linux环境中安装和配置》，由IBM应用开发合作中心撰写。步骤清晰，图文并茂，最重要是中文。从WebSphere Application Server、IHS、Plugins的安装配置，到WebSphere集群的搭建、节点代理程序（Node agent）的起停方法、如何生存和传播Webserver插件，回话（Session）复制，如何安装补丁。居家旅行必备文档啊
WebSphere v6.1 ND在Unix_Linux环境中安装和配置.pdf
微软的SkyDrive的嵌入方式使用的是iframe，wordpress在2.2之后就不支持iframe语法，所以大家点进去下吧。


Related posts:Server Node Cell Cluster-WebSphere拓扑结构及术语介绍下软硬兼施 优化 WebSphere Application ServerWebsphere系列介绍WebSphere相关WebSphere为应用程序设置访问认证  Copyright &#169; 2008 This feed is for personal, non-commercial use only
聚沙成塔-小哈的记事薄 by hashei [...]]]></description>
			<content:encoded><![CDATA[<p style="text-indent: 24pt">有了最早的安装WAS6.0和上两篇文章的介绍，接下来安装集群的过程其实很简单。</p>
<p style="text-indent: 24pt">对于新安装的集群：</p>
<ol>
<li>
<div>安装WAS主程序并升级补丁</div>
</li>
<li>
<div>建立Deployment Manager profile</div>
</li>
<li>
<div>新建两个Custom profile，建立过程中就完成联合节点工作</div>
</li>
<li>
<div>启动两个node中的nodeagent</div>
</li>
<li>
<div>进入控制台，新建集群，分别在两个节点添加application server</div>
</li>
</ol>
<p style="text-indent: 24pt">如果新建Custom profile时出现问题，或者更多的情况是想把原来已经建立好的，带有应用的application server profiles联合到DM中来建立集群，那么：</p>
<ol>
<li>安装WAS主程序并升级补丁</li>
<li>建立Deployment Manager profile</li>
<li>新建两个application server profile（或者原先已经有了）</li>
<li>到profiles/bin目录下执行addnode命令：addnode DM所在IP或主机名 8879（端口）-includeapps（如果有应用的话）-username {用户名} -password {密码}</li>
<li>启动app profiles下的nodeagent</li>
<li>进入控制台，新建集群，用已经存在的application转化为cluster的member</li>
</ol>
<p style="text-indent: 24pt">复习一下安装profile的过程</p>
<p style="text-indent: 24pt">安装DM profile</p>
<p style="text-indent: 24pt">
<p style="text-indent: 24pt">建立application server profiles</p>
<p style="text-indent: 24pt">
<p style="text-indent: 24pt">看一下如何新建集群：注意先运行addnode命令，然后启动node agent</p>
<p style="text-indent: 24pt">
<p style="text-indent: 24pt">看明白了么？没琢磨清的来这里：<a title="WebSphere v5 ND在AIX环境中安装和配置" href="http://docs.google.com/fileview?id=F.c2c86207-f0a1-41e4-98bb-e17167d1302c&amp;hl=en" target="_blank">WebSphere v5 ND在AIX环境中安装和配置</a></p>
<p style="text-indent: 24pt"><a title="WebSphere V7.0在Windows下的集群配置" href="http://docs.google.com/fileview?id=F.bfaeabc7-1976-4f0e-ba5f-666d51c5bb62&amp;hl=en" target="_blank">WebSphere V7.0在Windows下的集群配置</a></p>
<p style="text-indent: 24pt">还有一份在Unix/Linux下配置V6.1的集群文件比较大，<span style="text-decoration: line-through;">Google Docs无法上传</span><span style="text-decoration: line-through;">，其实和V7.0没有差别，照着V7做就可以了。</span>传到了纳米盘，《WebSphere v6.1 ND在Unix&amp;Linux环境中安装和配置》，由IBM应用开发合作中心撰写。步骤清晰，图文并茂，最重要是<strong>中文</strong>。从WebSphere Application Server、IHS、Plugins的安装配置，到WebSphere集群的搭建、节点代理程序（Node agent）的起停方法、如何生存和传播Webserver插件，回话（Session）复制，如何安装补丁。居家旅行必备文档啊</p>
<p><a title="WAS6.1 ND安装" href="http://cid-71243aa16a786edb.skydrive.live.com/embedrowdetail.aspx/.Public/WebSphere%20v6.1%20ND%e5%9c%a8Unix%7C0Linux%e7%8e%af%e5%a2%83%e4%b8%ad%e5%ae%89%e8%a3%85%e5%92%8c%e9%85%8d%e7%bd%ae.pdf" target="_blank">WebSphere v6.1 ND在Unix_Linux环境中安装和配置.pdf</a></p>
<p>微软的SkyDrive的嵌入方式使用的是iframe，wordpress在2.2之后就不支持iframe语法，所以大家点进去下吧。</p>
<p><span style="text-decoration: line-through;"><br />
</span></p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2009/05/websphere-topology-terminology2.html" rel="bookmark" title="Permanent Link: Server Node Cell Cluster-WebSphere拓扑结构及术语介绍下">Server Node Cell Cluster-WebSphere拓扑结构及术语介绍下</a></li><li><a href="http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html" rel="bookmark" title="Permanent Link: 软硬兼施 优化 WebSphere Application Server">软硬兼施 优化 WebSphere Application Server</a></li><li><a href="http://www.hashei.me/2009/04/websphere-introduce.html" rel="bookmark" title="Permanent Link: Websphere系列介绍">Websphere系列介绍</a></li><li><a href="http://www.hashei.me/websphere-series" rel="bookmark" title="Permanent Link: WebSphere相关">WebSphere相关</a></li><li><a href="http://www.hashei.me/2009/11/websphere_was_ssl_config.html" rel="bookmark" title="Permanent Link: WebSphere为应用程序设置访问认证">WebSphere为应用程序设置访问认证</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/05/websphere-cluster.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Websphere系列介绍</title>
		<link>http://www.hashei.me/2009/04/websphere-introduce.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=websphere-introduce</link>
		<comments>http://www.hashei.me/2009/04/websphere-introduce.html#comments</comments>
		<pubDate>Fri, 24 Apr 2009 00:49:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websphere系列]]></category>
		<category><![CDATA[was]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.hashei.me/?p=231</guid>
		<description><![CDATA[        这个接下来会写的Websphere系列是我最近一年中间件工作的总结。从最基础的安装，到集群的配置，再到性能的调优，最后是一些Troubshooting。
        这一年工作积累的资料很多，在硬盘里东一点西一点，没有经过梳理，总觉得不踏实，似乎随时可能忘记，遇到问题有时候还要临时抱佛脚的上Google。
         所以我希望这个系列能理清头脑，特别是后面比较复杂的性能调优这一块。前面基础部分希望可以给刚接触Websphere的带来一个捷径（其实真正的想法是以后软件部要让我搭测试环境的话我直接一个地址发过去就可以了。。）。
         你会发现文章里很多内容似曾相识，这并不奇怪，我当初也是不断的从网上、论坛里搜来的嘛。这里要感谢我的同事小白，是他在我刚入门的时候耐心解答问题，不管什么时候都能电话支持。还要提到的是http://www.webspherechina.net，这个论坛是学习Websphere的好去处。
当然要是遇到棘手的问题，不能忘了IBM的官方网站。
http://www.ibm.com/developerworks/cn/websphere/
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/welcome_nd.html
Related posts:软硬兼施 优化 WebSphere Application Server应用服务器WAS CE21介绍IBM WebSphere Recent SupportsWebSphere入门篇（四）-安装集群WebSphere相关  Copyright &#169; 2008 This feed is for personal, non-commercial use only
聚沙成塔-小哈的记事薄 by hashei 
如果喜欢，欢迎订阅feed.hashei.com
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949]]></description>
			<content:encoded><![CDATA[<p>        这个接下来会写的Websphere系列是我最近一年中间件工作的总结。从最基础的安装，到集群的配置，再到性能的调优，最后是一些Troubshooting。</p>
<p>        这一年工作积累的资料很多，在硬盘里东一点西一点，没有经过梳理，总觉得不踏实，似乎随时可能忘记，遇到问题有时候还要临时抱佛脚的上Google。</p>
<p>         所以我希望这个系列能理清头脑，特别是后面比较复杂的性能调优这一块。前面基础部分希望可以给刚接触Websphere的带来一个捷径（其实真正的想法是以后软件部要让我搭测试环境的话我直接一个地址发过去就可以了。。）。</p>
<p>         你会发现文章里很多内容似曾相识，这并不奇怪，我当初也是不断的从网上、论坛里搜来的嘛。这里要感谢我的同事小白，是他在我刚入门的时候耐心解答问题，不管什么时候都能电话支持。还要提到的是<a href="http://www.webspherechina.net" target="_blank">http://www.webspherechina.net</a>，这个论坛是学习Websphere的好去处。</p>
<p>当然要是遇到棘手的问题，不能忘了IBM的官方网站。</p>
<p><a href="http://www.ibm.com/developerworks/cn/websphere/">http://www.ibm.com/developerworks/cn/websphere/</a></p>
<p><a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/welcome_nd.html">http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/welcome_nd.html</a></p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://www.hashei.me/2010/02/tunning-websphere-application-server-was.html" rel="bookmark" title="Permanent Link: 软硬兼施 优化 WebSphere Application Server">软硬兼施 优化 WebSphere Application Server</a></li><li><a href="http://www.hashei.me/2009/05/introduce-was-community-edition.html" rel="bookmark" title="Permanent Link: 应用服务器WAS CE21介绍">应用服务器WAS CE21介绍</a></li><li><a href="http://www.hashei.me/2009/09/ibm_websphere_support_tips1.html" rel="bookmark" title="Permanent Link: IBM WebSphere Recent Supports">IBM WebSphere Recent Supports</a></li><li><a href="http://www.hashei.me/2009/05/websphere-cluster.html" rel="bookmark" title="Permanent Link: WebSphere入门篇（四）-安装集群">WebSphere入门篇（四）-安装集群</a></li><li><a href="http://www.hashei.me/websphere-series" rel="bookmark" title="Permanent Link: WebSphere相关">WebSphere相关</a></li></ul><hr /><small>  Copyright &copy; 2008 This feed is for personal, non-commercial use only<br />
<a href=www.hashei.com >聚沙成塔-小哈的记事薄</a> by hashei 
如果喜欢，欢迎订阅<a href=feed.hashei.com >feed.hashei.com</a><br />
Digital Fingerprint:
 10f920a9f2bae51c3c73c4f5fb50a949</small>]]></content:encoded>
			<wfw:commentRss>http://www.hashei.me/2009/04/websphere-introduce.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

