was plugin参数
来源:互联网 发布:java if else if区别 编辑:程序博客网 时间:2024/06/08 06:00
原文地址:
http://www-01.ibm.com/support/docview.wss?uid=swg21460889
Question
How can I modify the web server's plug-in (plugin-cfg.xml) properties from the WebSphere Application Server administrative console?
Cause
You are unable to determine where to make web server plug-in changes from the WebSphere Application Server administrative console.
Answer
IBM recommends that modifications to the web server plug-in properties be made from the WebSphere Application Server administrative console so any changes are persisted when a new plugin-cfg.xml file is generated and propagated to the web server.
The following information is provided as a guide to assist you in determining where to make specific plug-in property changes from the WebSphere Application Server administrative console.
- Plug-in properties
- Plug-in properties > Request and response
- Plug-in properties > Caching
- Plug-in properties > Request routing
- cluster_member_name > Web server plug-in properties
- cluster_name > Cluster members
- cluster_member_name > Session management
- application_name > Session management
- Web server plug-in custom properties
- Additional resources
Excerpt from plugin-cfg.xml file (Plug-in properties):
<Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" VHostMatchingCompat="false">
<Log LogLevel="Error" Name="c:/Program
Files/IBM/WebSphere/Plugins/logs/webserver/http_plugin.log"/>
...
<Transport Hostname="webspherehostname" Port="9443" Protocol="https">
<Property Name="keyring" Value="c:/Program Files/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
<Property Name="stashfile" Value="c:/Program Files/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
</Transport>
The following plug-in properties have been highlighted in the preceding excerpt:
- IgnoreDNSFailures
- RefreshInterval
- KeyRing
- Log Name
- Log Level
These plug-in properties can be found and modified in the WebSphere Application Server administrative console ( Servers > Web Servers > web_server_name > Plug-in properties):
Excerpt from plugin-cfg.xml file (Request and response):
<Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false"IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" VHostMatchingCompat="false">
The following plug-in properties have been highlighted in the preceding excerpt:
- ResponseChunkSize
- ASDisableNagle
- IISDisableNagle*
- ChunkedResponse
- AcceptAllContent
- VhostMatchingCompat
- AppServerPortPreference
- IISPluginPriority*
*Only available for IIS defined web servers.
These plug-in properties can be found and modified in the WebSphere Application Server administrative console ( Servers > Web Servers > web_server_name > Plug-in properties > Request and response):
Excerpt from plugin-cfg.xml file (Caching):
<Property Name="ESIEnable" Value="true"/>
<Property Name="ESIMaxCacheSize" Value="1024"/>
<Property Name="ESIInvalidationMonitor" Value="false"/>
The following plug-in properties have been highlighted in the preceding excerpt:
- ESIEnable
- ESIInvalidationMonitor
- ESIMaxCacheSize
These plug-in properties can be found and modified in the WebSphere Application Server administrative console ( Servers > Web Servers > web_server_name > Plug-in properties > Caching):
Excerpt from plugin-cfg.xml file (Request routing):
<ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" LoadBalance="Round Robin" Name="wp_cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60">
The following plug-in properties have been highlighted in the preceding excerpt:
- LoadBalance option
- RetryInterval
- PostSizeLimit
- PostBufferSize
- RemoveSpecialHeaders
- CloneSeparatorChange
These plug-in properties can be found and modified in the WebSphere Application Server administrative console ( Servers > Web Servers > web_server_name > Plug-in properties > Request routing):
Excerpt from plugin-cfg.xml file ( cluster_member_name > Web server plug-in properties)
<Server CloneID="137mtvpi5" ConnectTimeout="0" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="Cluster_Mem_1"ServerIOTimeout="0" WaitForContinue="false">
...
<PrimaryServers>
<Server Name="Cluster_Mem_2"/>
</PrimaryServers>
<BackupServers>
<Server Name="Cluster_Mem_1"/>
</BackupServers>
The following plug-in properties have been highlighted in the preceding excerpt:
- Primary or Backup Server Designation
- ConnectTimeOut
- ServerIOTimeout*
- MaxConnections
- ExtendedHandshake
- WaitForContinue
These plug-in properties can be found and modified in the WebSphere Application Server administrative console ( Servers > Application Servers >cluster_member_name > Web server plug-in properties):
*This is from a version 6.1 administrative console. Version 6.0 requires ServerIOTimeout to be set as a Webserver > Plug-in Properties > Custom Properties.
Excerpt from plugin-cfg.xml file ( cluster_name > Cluster members) :
<Server CloneID="137mtvpi5" ConnectTimeout="0" ExtendedHandshake="false" LoadBalanceWeight="0" MaxConnections="-1" Name="Cluster_Mem_1" ServerIOTimeout="0" WaitForContinue="false">
...
<Server CloneID="138mtvpi6" ConnectTimeout="0" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="Cluster_Mem_2" ServerIOTimeout="0" WaitForContinue="false">
The following plug-in property has been highlighted in the preceding excerpt:
- LoadBalanceWeight
This plug-in property can be found and modified in the WebSphere Application Server administrative console ( Server clusters > cluster_name > Cluster members):
Excerpt from plugin-cfg.xml file ( cluster_member_name > Session management) :
<UriGroup Name="default_host_wp_cluster_URIs">
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/PlantsByWebSphere/*"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/PlantsByWebSphere/docs/*"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/*"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wsrp/*"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/config/*"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/config/*.jsp"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/config/*.jsv"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/config/*.jsw"/>
</UriGroup>
<Route ServerCluster="wp_cluster" UriGroup="default_host_wp_cluster_URIs" VirtualHostGroup="default_host"/>
The following plug-in property has been highlighted in the preceding excerpt:
- Set a custom Cookie ID for a server
This plug-in property can be found and modified in the WebSphere Application Server administrative console ( Servers > Application Servers >cluster_member_name > Session management):
Excerpt from plugin-cfg.xml file ( application_name > Session management) :
<UriGroup Name="default_host_wp_cluster_URIs">
<Uri AffinityCookie="Deployment_ID" AffinityURLIdentifier="jsessionid" Name="/PlantsByWebSphere/*"/>
<Uri AffinityCookie="Deployment_ID" AffinityURLIdentifier="jsessionid" Name="/PlantsByWebSphere/docs/*"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/*"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wsrp/*"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/config/*"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/config/*.jsp"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/config/*.jsv"/>
<Uri AffinityCookie="Server_ID" AffinityURLIdentifier="jsessionid" Name="/wps/config/*.jsw"/>
</UriGroup>
<Route ServerCluster="wp_cluster" UriGroup="default_host_wp_cluster_URIs" VirtualHostGroup="default_host"/>
The following plug-in property has been highlighted in the preceding excerpt:
- Set a custom Cookie ID for an application
This plug-in property can be found and modified in the WebSphere Application Server administrative console ( Enterprise Applications > application_name > Session management):
Web server plug-in custom properties
In addition to the preceding plug-in properties, there are also plug-in "custom properties" that can be added from the WebSphere Application Server administrative console if desired, depending on web server plug-in version level.
- Web server plug-in versions 6.1 and later:
ESIEnableToPassCookies
IgnoreAffinityRequests - Web server plug-in versions 6.0.2.23, 6.1.0.13 and 7.0.0.0 - APAR PK48101:
GetDWLMTable - Web server plug-in versions 6.1.0.21 and 7.0.0.3 - APAR PK73752:
HTTPMaxHeaders - Web Server plug-in versions 6.1.0.23 and 7.0.0.3 - APAR PK78546:
CertLabel
SSLConsolidate
SSLPKCSDriver
SSLPKCSPassword - Web Server plug-in versions 6.1.0.23 and 7.0.0.3 - APAR PK78451:
TrustedProxyEnable
TrustedProxyList - Web Server plug-in versions 6.1.0.33 and 7.0.0.13 - APAR PM12112:
FailoverToNext
Note: After Plug-in APAR PM12112, the new DEFAULT behavior is FailoverToNext="false", which means that when the Plug-in marks an appserver down, it will distribute all of the "pending" requests RANDOMLY to the other available appservers in the same cluster.
- Web Server plug-in versions 6.1.0.45, 7.0.0.25, 8.0.0.5, and 8.5.0.1 - APAR PM67658:
KillWebServerStartUpOnParseErr
Excerpt from plugin-cfg.xml file:
<Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false"HTTPMaxHeaders="500" FailoverToNext="false" KillWebServerStartUpOnParseErr="true" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" SSLConsolidate="true" SSLPKCSDriver="/usr/lib/pkcs11/PKCS11_API.so" SSLPKCSPassword="/usr/lib/pkcs11/password.sth" TrustedProxyEnable="true" VHostMatchingCompat="false">
<Log LogLevel="Debug" Name="/usr/IBM/HTTPServer/Plugins/logs/webserver1/http_plugin.log"/>
<Property Name="ESIEnable" Value="true"/>
<Property Name="ESIMaxCacheSize" Value="1024"/>
<Property Name="ESIInvalidationMonitor" Value="false"/>
<Property Name="ESIEnableToPassCookies" Value="true"/>
...
<TrustedProxyGroup>
<TrustedProxy Name="myProxyServer1.myDomain.com"/>
<TrustedProxy Name="myProxyServer2.com"/>
<TrustedProxy Name="192.168.0.1"/>
</TrustedProxyGroup>
...
<ServerCluster CloneSeparatorChange="false" GetDWLMTable="true" IgnoreAffinityRequests="false" LoadBalance="Round Robin" Name="wp_cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60">
...
<Transport Hostname="webspherehostname" Port="9443" Protocol="https">
<Property Name="keyring" Value="c:/Program Files/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
<Property Name="stashfile" Value="c:/Program Files/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
<Property Name="certLabel" Value="sslcert"/>
</Transport>
These plug-in properties can be found and modified in the WebSphere Application Server administrative console ( Servers > Web Servers > web_server_name > Plug-in properties > Custom Properties):
- was plugin参数
- struts-plugin resulttype 参数
- plugin sdk updater was not loaded
- WAS的VGC参数
- maven jar Plugin参数配置
- maven war Plugin参数配置
- Crashlytics was applied to a project without an Android plugin.
- jQuery plugin: Autocomplete 参数及实例
- jQuery plugin: Autocomplete 参数及实例
- HTML Webpack Plugin 插件参数学习
- jQuery plugin: Autocomplete 参数及实例
- WAS的一些重要调优参数
- The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API version ("1.0.0") th
- PlugIn
- plugIn
- Plugin
- Ubuntu下安装最新版JDK时“No matching plugin was found”问题的解决方法
- 边学边做ROR( 错误信息error_messages_for was removed from Rails and is now available as a plugin)
- ActiveMQ内存设置和流控
- 第九周 数据结构实践项目——数组和广义表【项目3.2-- 稀疏矩阵相加】
- 第十四周实践项目1—算法验证(3)二叉排序树
- 微信JS-SDK说明文档 能调用微信扫一扫 ,那能不能让浏览器支持微信支付呢
- WebView与js数据的交互
- was plugin参数
- 第二章 Spring MVC入门
- ubuntu docker redis
- LINUX 查看文件和目录大小
- (4)验证平衡二叉树的相关算法
- SVN客户端的简单使用
- Js获取当前日期时间及一些常用的时间操作方法
- 第14周项目1-验证算法(3)
- fragment重叠问题