当使用 wsadmin 工具时,ClearQuest Web 服务器必须正在运行。
MBean 属性按对其进行存储的 MBean 来分类。您可以检索所有以 [R] 表示可读取的参数。可以修改的参数以 [W] 表示可以写入。可以将 IBM WebSphere® Application Server wsadmin 工具与 Jacl(Java 应用控制语言)命令一起使用来访问这些属性。teamAdminUtils.jacl 文件提供了 Jacl 命令、语法和功能的示例。您还可通过使用站点配置窗口来修改某些 ClearQuest Web 服务器 MBean 属性。
仅当 ClearQuest Web 服务器正在运行时,才能更改可修改的 MBean 参数。更改会立即生效,而无需重新启动服务器进程。对管理后端“开放网络计算远程过程调用”(ONC RPC) 服务器进程启动的 MBean 属性所做的更改,不会影响正在运行的后端 ONC RPC 进程。只有新的后端 ONC RPC 服务器进程才会采用新设置。
在 ClearQuest Web 服务器启动时创建了两个 MBean:TeamServerMBean,它可保存 ClearQuest Web 服务器配置属性,以及 CqServerFactoryMBean,它可保存 ClearQuest 受管连接工厂属性。
ClearQuest 受管连接工厂是负责启动一个或多个多线程 ClearQuest ONC RPC 后端服务器进程的 ClearQuest Web 服务器组件。由于每个 ClearQuest RPC 进程是多线程的,所以它可以处理来自多个不同凭证的请求。ClearQuest 受管连接工厂自动对每个 ClearQuest RPC 进程执行生命周期管理。
MBean 属性 | 访问控制 | 描述 |
---|---|---|
attachmentTempLocation | [R,W] | 指定附件存储目录。缺省情况下,附件存储在 WAS 概要文件目录结构深处。但是,Windows 将路径名长度限制为约 250 个字节。如果附件文件名长度超过约 150 个字节,ClearQuest 可能无法存储此附件,因为缺省存储位置中附件的完整路径名可能超过 250 个字节。 |
cqFulltextSearchCacheSize | [R,W] | 对于单次全文搜索,保存在 ClearQuest 核心中的记录命中数。缺省值为 0(未设置)。正数值会覆盖 ClearQuest 核心的缺省设置。 |
cqFulltextSearchRecordHitLimit | [R,W] | 在一次全文搜索 Web 服务调用中所返回的最大记录命中数。该数目还表示可在应用程序服务器中进行高速缓存的命中数。缺省值为 100。 |
cqLoginSessionTimeout | [R,W] | Rational ClearQuest 登录会话在超时前所持续的时间(以秒为单位)。缺省值为 1800 秒(30 分钟)。每个 ClearQuest 会话会占用一个数据库连接,所以将此值设置过高会导致占用资源的时间比需要的时间更长。请勿更改缺省值。 |
cqLoginSessionWaitTimeout | [R,W] | 线程为获取 Rational ClearQuest 登录会话而能够等待的时间(以秒为单位)。缺省值为 300 秒。 |
cqServerFactory | [R] | ClearQuest J2C 连接工厂 MBean 的对象名。 |
cqUserDBListSecureAccess | [R,W] | 指示在用户尝试利用无效凭证登录 ClearQuest Web 时是否能够看到数据库列表。缺省值为 False,表示用户在尝试使用无效的凭证登录时可以看到数据库列表。如果该值设置为 True,那么将启用用户认证,这样将阻止未经授权的用户查看数据库列表。 |
ejbBufferLimit | [R,W] | EJB 调用所返回的最大对象数。缺省值为 100。 |
keepAliveInterval | [R,W] | 如果此值大于 0 秒,那么 ClearQuest Web 服务器会按所指定的周期性时间间隔在客户机和后端服务器组件之间发出保持活动消息。此属性旨在确保可以完成长时间运行的 ClearQuest 查询,而不除去底层套接字。此值至少应比套接字超时值少 10 秒。缺省值是 300 秒(5 分钟)。 |
largeReadSocketTimeoutMultiplier | [R,W] | 一个乘数,用于和在中间层和后端服务器组件之间的套接字上为长时间运行的操作显示的超时值相乘。缺省值为 4,表示显示的套接字超时值是显示的后端服务器工厂缺省套接字超时值的四倍。该乘数仅适用于某些操作。请勿更改该值,除非 IBM 支持人员指示您这样做。 |
maxCqSessionsPerUser | [R,W] | 将在单个会话中为每个用户创建的 ClearQuest 会话的最大数目。缺省值是 2;最小值是 1。 |
maxProcureServerAttempts | [R,W] | 将异常返回给受管连接池之前允许获取后端 ONC RPC 服务器的最大尝试次数。缺省值为 6;此值必须大于或等于 2。 |
mediumReadSocketTimeoutMultiplier | [R,W] | 要应用于中间层和后端服务器组件之间套接字上的读超时值的乘数(用于某些长时间运行的操作)。缺省值 2 指示读套接字超时值是后端服务器工厂缺省读套接字超时值的两倍。该乘数仅适用于某些操作。请勿更改该值,除非 IBM 支持人员指示您这样做。 |
numberOfActiveSessions | [R] | 服务器正在处理的活动会话数。 |
numberOfHttpSessionsCreated | [R] | 此服务器所处理的会话数。 |
oncrpcBufferLimit | [R,W] | 在单个 ONC RPC 调用中所返回的最大对象数。缺省值为 100。 |
oncrpcInterruptLimit | [R,W] | 针对用户请求所返回的最大对象数。缺省值是 1000。 |
oncrpcServers | [R] | 正在运行的 ONC RPC 服务器 MBean 的对象名。 |
procureServerInterval | [R,W] | 请求线程在将异常返回给受管连接池之前为获取服务器可等待的时间(以秒为单位)。缺省值是 60 秒。 |
sessionObjectDefaultTimeout | [R,W] | 对象在会话中停留的缺省持续时间(以秒为单位)。缺省值为 1800 秒(30 分钟)。此值必须大于或等于 0。 |
sessionQueryObjectTimeout | [R,W] | 在未交付新的或已修改的查询时,ClearQuest 登录会话在超时前持续的时间。此值不能小于 cqLoginSessionTimeout 值。缺省值为 1800 秒(30 分钟)。此值会覆盖 sessionObjectDefaultTimeout 定义的值。 |
sessionRecordObjectTimeout | [R,W] | 在未交付新的或已修改的记录时,ClearQuest 登录会话在超时前持续的时间。此值不能小于 cqLoginSessionTimeout 值。缺省值是 10800 秒(3 小时)。此值会覆盖 sessionObjectDefaultTimeout 定义的值。 |
sessionReaperThreadDelay | [R,W] | 会话收割线程的时间延迟(以秒为单位)。缺省值是 900 秒(15 分钟)。取值范围是从 300 到 1800 秒。如果要求很高的虚拟内存,您可能要将此值减小。如果占用过多的 CPU 资源,您可能要将此值增大。 |
totalNumberOfOncrpcServers | [R] | 正在所有 Rational ClearQuest 连接工厂实例中运行的后端 RPC 服务器的数目。 |
totalOncrpcCallCount | [R] | 自服务器启动以来进行的 ONC RPC 调用数。 |
totalWebServiceCallCount | [R] | 自服务器启动以来进行的 Web Service 调用数。 |
versionNumber | [R] | ClearQuest Web 服务器产品版本号,以含有嵌入式句点分隔符的字符串值表示。例如,7.1.2.1。 |
MBean 属性 | 访问控制 | 描述 |
---|---|---|
activeHttpSessionThreshold | [R,W] | 活动后端 ClearQuest ONC RPC 服务器上的活动 HTTP 会话数。如果超过此数目,那么可能导致此受管连接工厂启动其他后端 ClearQuest ONC RPC 服务器。缺省值是 30。 |
cqrpcAbandonedProcessCleanupEnabled | [R,W] | 指示 ClearQuest Web 服务器是否会启动清除过程,此过程将终止任何放弃的 ClearQuest RPC 进程。缺省值为 TRUE。 |
cqrpcAbandonedProcessCleanupInterval | [R,W] | ClearQuest Web 服务器用于启动清除过程以终止放弃的 ClearQuest RPC 进程的周期性时间间隔(以分钟为单位)。缺省值为 30 分钟。此值必须大于或等于 0。时间间隔的值采用最接近的 2 的幂。值为 0 表示时间间隔设置为 2。 |
maximumActiveServers | [R,W] | 此受管连接工厂允许的活动后端 ClearQuest ONC RPC 服务器的最大数目。缺省值是 10。 |
recycleServerHttpSessionLimi | [R,W] | 受管连接工厂重新启动后端 ClearQuest ONC RPC 服务器前该服务器处理的 HTTP 会话数。缺省值是 200。值为 0 表示不会检查此限制。 |
recycleServerLifetimeLimit | [R,W] | 受管连接工厂重新启动后端 ClearQuest ONC RPC 服务器前该服务器可运行的最长生存期(以秒为单位)。缺省值是 86400 秒(24 小时)。值为 0 表示不会检查此限制。 |
recycleServerOncrpcCallLimit | [R,W] | 受管连接工厂重新启动后端 ClearQuest ONC RPC 服务器前该服务器处理的 ONC RPC 请求的最大数目。缺省值为 100,000。值为 0 表示不会检查此限制。 |
recyclingPeriod | [R,W] | 受管连接工厂终止正在重新启动的后端 ClearQuest ONC RPC 服务器之前为完成会话工作而分配给该服务器的持续时间(以秒为单位)。正在重新启动的 ClearQuest ONC RPC 后端服务器的状态为 2(正在停止)。缺省值为 1800 秒(30 分钟)。此值必须大于 0。 |
remoteChartReportServerHostName | [R,W] | ![]() ![]() |
remoteChartReportServerPort | [R,W] | ![]() ![]() |
serverWorkerThreadCount | [R,W] | 后端 ClearQuest ONC RPC 服务器用于处理入局请求的线程数。缺省值是 30。 |
MBean 属性 | 访问控制 | 描述 |
---|---|---|
hostname | [R] | 正在运行后端 ONC RPC 服务器的主机的名称。 |
oncrpcCalls | [R] | 后端 ONC RPC 服务器处理的 ONC RPC 调用总数。 |
port | [R] | 后端 ONC RPC 服务器正在侦听的整数端口号。 |
serverId | [R] | 后端 ONC RPC 服务器的唯一标识。 |
serverStartTime | [R] | 指示何时启动后端 ONC RPC 服务器的时间戳记。此值为自 1970 年 1 月 1 日 00:00:00 格林威治标准时间 (GMT) 以来的毫秒数。 |
serverState | [R] | 后端 ONC RPC 服务器的当前状态,用整数表示(0=已停止,1=正在运行,2=正在停止,3=死机)。 |
serverStoppingTime | [R] | 指示后端 ONC RPC 服务器何时进入“正在停止 (2)”状态的时间戳记。此值为自 1970 年 1 月 1 日 00:00:00 格林威治标准时间 (GMT) 以来的毫秒数。 |
serverStopTime | [R] | 指示后端 ONC RPC 服务器何时进入“已停止 (0)”或“死机 (3)”状态的时间戳记。此值为自 1970 年 1 月 1 日 00:00:00 格林威治标准时间 (GMT) 以来的毫秒数。 |
serverType | [R] | 后端 ONC RPC 服务器的类型:Rational ClearQuest。 |
CqOncrpcServerMBean 进程是 OncrpcServerMBean 进程的扩展。每个 CqOncrpcServerMBean 进程都包含 OncrpcServerMBean 进程定义的所有值以及表 4 中所述的属性。
MBean 属性 | 访问控制 | 描述 |
---|---|---|
activeHttpSessions | [R] | 后端 ClearQuest ONC RPC 服务器正在处理的活动 HTTP 会话数。 |
activeStatefulHttpSessions | [R] | 后端 ClearQuest ONC RPC 服务器正在处理的有状态 HTTP 会话数。 |
recycleReasonCode | [R] | 指示为何正在重新启动后端 ClearQuest ONC RPC 服务器的原因码。此属性是整数值。
|
recycleServerHttpSessionLimit | [R,W] | 后端 ClearQuest ONC RPC 服务器在重新启动之前可处理的最大会话数。通过使用 CqServerFactoryMBean 中的 recycleServerHttpSessionLimit 属性值来设置缺省值。只能在正在运行的 ClearQuest ONC RPC 后端服务器上设置该值。所有 ONC RPC 后端服务器进程都不稳定。如果正在运行的 ClearQuest ONC RPC 服务器由 ClearQuest 受管连接工厂终止,那么在该服务器上设置此值可能会失败。 |
totalHttpSessions | [R] | 后端 ClearQuest ONC RPC 服务器支持的 HTTP 会话数。 |
workerThreadCount | [R] | 后端 ClearQuest ONC RPC 服务器用于处理请求的线程数。 |
使用 wsadmin 工具来检索和设置 MBean 属性
此示例说明了用于启动和使用 wsadmin 工具的基于 JACL 的命令。
// This section provides sample commands to start and use the wsadmin tool.
// For illustrative purposes, an operating system command prompt is denoted by the
// hash character, "#", and the wsadmin command prompt is denoted by "wsadmin>".
//
// There are ClearQuest Web server wsadmin tool scripts that provide several convenience
// methods and functions. By default, these scripts are located in the following
// directory:
// On Windows:
// "C:\Program Files\IBM\RationalSDLC\common\CM\scripts"
// On the UNIX system and Linux:
// "/opt/rational/common/CM/scripts" on the UNIX system and Linux.
//
// Open a command prompt and set your default directory to the location of
// the ClearQuest Web server wsadmin tool scripts. For example:
//
// On Windows:
# cd "C:\Program Files\IBM\RationalSDLC\common\CM\scripts"
//
// On the UNIX system and Linux:
# cd /opt/rational/common/CM/scripts
//
// Set the WAS_BIN environment variable to the location of the wsadmin tool
// by using the syntax appropriate for your preferred shell. For example:
//
// On Windows:
# set WAS_BIN="C:\Program Files\IBM\RationalSDLC\common\eWAS\bin"
// On the UNIX system and Linux:
# WAS_BIN=/opt/rational/common/eWAS/bin
// Start the wsadmin tool by specifying the ClearQuest Web server profile name.
// The default ClearQuest Web server profile name is 'cmprofile'. For example:
//
// On Windows:
# %WAS_BIN%\wsadmin -profileName cmprofile
// On the UNIX system and Linux:
# $WAS_BIN/wsadmin.sh -profileName cmprofile
// The following wsadmin command loads the ClearQuest Web server wsadmin convenience functions:
wsadmin> source teamAdminUtils.jacl
// The next command is an example of how to display some useful ClearQuest Web server commands.
// The getTeamServer function is useful for establishing a pointer to the top level
// TeamServerMBean, and will help get and set individual TeamServerMBean attributes.
//
wsadmin> info proc *Team*
startTeamEAR stopTeamEAR getTeamServer
// The following command displays the available 'dump' commands for quick and
// easy viewing of the MBean values:
wsadmin> info proc dump*
dumpAllServers dumpAll dumpTeamServer dumpCcServers dumpCqServerFactory
dumpCcServerFactory dumpCqServers
// The next command uses the convenience command 'getTeamServer' to set up the
// variable 't', which can then be used to access TeamServerMBean attributes:
wsadmin> set t [getTeamServer]
// Retrieve the TeamServerMBean attribute values using the variable 't':
wsadmin> $AdminControl getAttributes $t
{cqServerFactory WebSphere:cell=testhost2Node01Cell,version=6.1.0.0,spec=1.0,name=CqServerFactoryMBeanId,
mbeanIdentifier=CqServerFactoryMBeanId,type=stp.management.CqServerFactoryMBean,node=testhost2Node01,
process=server1}
{oncrpcBufferLimit 100}
{cqLoginSessionWaitTimeout 300}
{oncrpcInterruptLimit 1000}
{sessionReaperThreadDelay 900}
{sessionQueryObjectTimeout 1800}
{oncrpcServers {
{cqLoginSessionTimeout 1800}
{cqFulltextSearchRecordHitLimit 100}
{ejbBufferLimit 100}
{sessionRecordObjectTimeout 10800}
{cqFulltextSearchPageSize 25}
{numberOfActiveSessions 0}
{sessionObjectDefaultTimeout 1800}
{maxProcureServerAttempts 6}
{cqFulltextSearchCacheSize 1000}
{maxCqSessionsPerUser 2}
{totalNumberOfOncrpcServers 0}
{numberOfHttpSessionsCreated 0}
{procureServerInterval 60}
// Following is a more convenient way to retrieve all of the TeamServerMBean attributes:
wsadmin> dumpTeamServer
TeamServerMBean Attributes:
====================
{cqServerFactory WebSphere:cell=testhost2Node01Cell,version=6.1.0.0,spec=1.0,name=CqServerFactoryMBeanId,
mbeanIdentifier=CqServerFactoryMBeanId,type=stp.management.CqServerFactoryMBean,node=testhost2Node01,
process=server1}
// Other 'get' convenience commands include: getCqServerFactory, getTeamServer
// and getOncrpcServers.
// The next command sets up the variable 'cq' for accessing the CqServerFactoryMBean
// attributes. Note that the variable 't' defined in a previous command is used to
// obtain a pointer to the TeamServerMBean's cqServerFactory attribute value; the
// variable 'cq' can then be used to access the attributes in the CqServerFactoryMBean:
wsadmin> set cq [$AdminControl getAttribute $t cqServerFactory]
// Following is a more convenient way to set up the variable 'cq':
wsadmin>set cq [getCqServerFactory]
// The next command retrieves the CqServerFactoryMBean attribute values using the
// 'cq' variable defined previously:
wsadmin> $AdminControl getAttributes $cq
. . .
// The following command sets up the variable 'os' to use for accessing the list of
// ONCRPC server MBeans, each of which represents a specific ONCRPC backend server.
// The command uses one of the convenience methods defined in the teamAdminUtils.jacl
// script that was 'sourced' at the beginning of this session:
wsadmin> set os [$AdminControl invoke $t getOncrpcServers]
. . .
// A list of the running oncrpc backend servers is displayed. The first
// oncrpc server is at index 0 (zero), the second is at index 1, and so on...
// The next command sets up the variable 'o' for accessing the first oncrpc server MBean
// displayed in the output from the previous command. This level of MBean attribute
// access (that is, specific oncrpc server MBeans) is tricky because the backend oncrpc
// server processes are transient and might be dismissed before you can access them.
wsadmin> set o [getOnc 0] // '0' is the index number of the first backend server
// listed in the output of the previous command.
// The following command retrieves the MBean attribute values for the CQ oncrpc server
// defined by the variable 'o':
wsadmin> $AdminControl getAttributes $o
{workerThreadCount 16}
{serverState 1}
{activeStatefulHttpSessions 0}
{port 3431}
{oncrpcCalls 7}
{recycleServerHttpSessionLimit 500}
{serverId {ClearQuest - 0
{serverType ClearQuest}
{hostname testhost2}
{activeHttpSessions 0}
{totalHttpSessions 1}
// The next commands set and then get the recycleServerHttpSessionLimit attribute
// in the CQ oncrpc server defined previously by the variable 'o':
wsadmin> $AdminControl setAttribute $o recycleServerHttpSessionLimit 501
wsadmin> $AdminControl getAttribute $o recycleServerHttpSessionLimit 501
// The remaining commands show a few more oncrpc server MBean accesses and their output.
// Remember that the list of ONCRPC servers is transient; using the dump commands such
// as dumpCqServers or dumpAllServers is much more convenient:
wsadmin> listOnc
"WebSphere:cell=testhost2Node02Cell,version=6.1.0.0,spec=1.0,
name=ClearQuest - 11,mbeanIdentifier=ClearQuest - 11,
type=stp.management.CqOncrpcServerMBean,node=testhost2Node02,
process=server1"
// Here are examples of what you see when using the convenience dump commands:
wsadmin> dumpAllServers
ONCRPC Server: ClearQuest - 0
============
{workerThreadCount 10}
{serverState 1}
{activeStatefulHttpSessions 0}
{port 3693}
{oncrpcCalls 1}
{recycleServerHttpSessionLimit 500}
{serverStartTime 1215633895763}
{serverId {ClearQuest - 0
{recycleReasonCode 0}
{serverType ClearQuest}
{hostname testhost2}
{activeHttpSessions 0}
{totalHttpSessions 0}
wsadmin> dumpCqServers
CQRPC Server: ClearQuest - 0
===========
{workerThreadCount 10}
{serverState 1}
{activeStatefulHttpSessions 0}
{port 3693}
{oncrpcCalls 1}
{recycleServerHttpSessionLimit 500}
{serverStartTime 1215633895763}
{serverId {ClearQuest - 0
{recycleReasonCode 0}
{serverType ClearQuest}
{hostname duke2}
{activeHttpSessions 0}
{totalHttpSessions 0}
wsadmin> dumpCqServerFactory
CqServerFactoryMBean Attributes:
==========================
{serverWorkerThreadCount 10}
{recycleServerLifetimeLimit 14400}
{recyclingPeriod 3600}
{recycleServerOncrpcCallLimit 500000}
{recycleServerHttpSessionLimit 500}
{maximumActiveServers 4}
{activeHttpSessionThreshold 40}
wsadmin> dumpAll
// The output of this command is a dump of all of the MBean attribute values, including
// all of the currently running backend ONCRPC server processes.
使用 wsadmin 工具来导入和导出 MBean 属性
将 wsadmin 工具与 ClearQuest Web 服务器 import 和 export 快捷命令配合使用,以分别导入和导出 MBean 属性。这些命令支持检索和更新 MBean 属性值,并提供了用于捕获特定配置的简单方法。如果 ClearQuest Web 服务器未在正常运行,那么可以实时导入先前捕获的、已知的有效配置。
您可以使用文本编辑器来编辑属性文件,然后实时地导入和导出这些文件。您可以在属性文件中注释掉不需要导入的任何条目。请确保遵循 MBean 名称和属性名称的命名约定。要在使用 importFile 命令时清除字符串值,请指定 “”,或在要导入的属性文件中将该值留空。请勿将数字值留空。
// This wsadmin command loads all of the convenience commands and methods,
// including the importFile and exportToFile commands. These commands
// enable retrieving and updating MBean attribute values, and a simple
// way to capture specific configurations. If the ClearQuest Web server
// (referred to in previous releases as CM Server) is not functioning
// properly, then you can import a previously captured configuration in
// real time.
wsadmin> source teamAdminUtils.jacl
// Use the exportToFile command if you want to capture a snapshot of
// the TeamServerMBean and CqServerFactoryMBean MBeans. Specify the
// full path name in which to store the file. You can edit the resulting
// properties file by using a text editor, and import the file by using
// the importFile command.
// Important: You must use forward slashes in the path name for these commands.
wsadmin> exportToFile C:/temp/CmServer.properties
File "C:/temp/CmServer.properties" does not exist, proceeding with export...
Retrieving MBeans...
Exporting TeamServerMBean.sessionReaperThreadDelay...
Exporting TeamServerMBean.cqLoginSessionTimeout...
Exporting TeamServerMBean.cqLoginSessionWaitTimeout...
Exporting TeamServerMBean.sessionObjectDefaultTimeout...
Exporting TeamServerMBean.sessionQueryObjectTimeout...
Exporting TeamServerMBean.sessionRecordObjectTimeout...
Exporting TeamServerMBean.oncrpcBufferLimit...
Exporting TeamServerMBean.oncrpcInterruptLimit...
Exporting TeamServerMBean.ejbBufferLimit...
Exporting TeamServerMBean.cqFulltextSearchPageSize...
Exporting TeamServerMBean.cqFulltextSearchCacheSize...
Exporting TeamServerMBean.cqFulltextSearchRecordHitLimit...
Exporting TeamServerMBean.procureServerInterval...
Exporting TeamServerMBean.maxProcureServerAttempts...
Exporting TeamServerMBean.maxCqSessionsPerUser...
Exporting CqServerFactoryMBean.serverWorkerThreadCount...
Exporting CqServerFactoryMBean.activeHttpSessionThreshold...
Exporting CqServerFactoryMBean.maximumActiveServers...
Exporting CqServerFactoryMBean.recycleServerHttpSessionLimit...
Exporting CqServerFactoryMBean.recycleServerLifetimeLimit...
Exporting CqServerFactoryMBean.recycleServerOncrpcCallLimit...
Exporting CqServerFactoryMBean.recyclingPeriod...
wsadmin> importFile C:/temp/CmServer.properties
File "C:/temp/CmServer.properties" found, proceeding with import...
Importing value '900' into property sessionReaperThreadDelay in MBean TeamServerMBean
Old value=900
New value=900
Importing value '1803' into property cqLoginSessionTimeout in MBean TeamServerMBean
Old value=1803
New value=1803
Importing value '300' into property cqLoginSessionWaitTimeout in MBean TeamServerMBean
Old value=300
New value=300
Importing value '1800' into property sessionObjectDefaultTimeout in MBean TeamServerMBean
Old value=1800
New value=1800
. . .
// If you try to export to a file that already exists, a time stamp is appended to the
// file name that you specify in the command:
wsadmin> exportToFile C:/temp/CmServer.properties
File "C:/temp/CmServer.properties" already exists; appending date to file name.
exportFilePath is now: C:/temp/CmServer.properties_2008-07-09_16-27-11
Retrieving MBeans...
Exporting TeamServerMBean.sessionReaperThreadDelay...
// Here is what a typical exported file looks like:
C:\> type c:\temp\CmServer.properties
# Export of ClearQuest Web server MBean attributes, created: 2008-07-09_16-22-29
#
#
# TeamServerMBean writable attributes
#
TeamServerMBean.sessionReaperThreadDelay=900
TeamServerMBean.cqLoginSessionTimeout=1803
TeamServerMBean.cqLoginSessionWaitTimeout=300
TeamServerMBean.sessionObjectDefaultTimeout=1800
TeamServerMBean.sessionQueryObjectTimeout=1803
TeamServerMBean.sessionRecordObjectTimeout=10800
TeamServerMBean.oncrpcBufferLimit=100
TeamServerMBean.oncrpcInterruptLimit=1000
TeamServerMBean.ejbBufferLimit=100
TeamServerMBean.cqFulltextSearchPageSize=25
TeamServerMBean.cqFulltextSearchCacheSize=1000
TeamServerMBean.cqFulltextSearchRecordHitLimit=100
TeamServerMBean.procureServerInterval=60
TeamServerMBean.maxProcureServerAttempts=6
TeamServerMBean.maxCqSessionsPerUser=2
#
# CqServerFactoryMBean writable attributes
#
CqServerFactoryMBean.serverWorkerThreadCount=10
CqServerFactoryMBean.activeHttpSessionThreshold=40
CqServerFactoryMBean.maximumActiveServers=4
CqServerFactoryMBean.recycleServerHttpSessionLimit=500
CqServerFactoryMBean.recycleServerLifetimeLimit=14400
CqServerFactoryMBean.recycleServerOncrpcCallLimit=500000
CqServerFactoryMBean.recyclingPeriod=3600