Sun Java System Application Server Enterprise Edition 8.2 发行说明

Monitoring

本节介绍已知的监视问题和相应的解决方法。

无法更改连接器服务和连接器连接池监视级别。(ID 6089026)

说明

使用“监视级别”设置页将“连接器服务”或“连接器连接池”的监视级别更改为“低”“高”,然后保存,在域的 domain.xml 文件中,这两个监视级别都未更改。但是,如果要将 JMS 服务的监视级别更改为“低”“高”并保存,“连接器服务”和“连接器连接池”的值同时也将更改。从命令行中运行等效命令时,此问题不会出现。

解决方法

仅使用“监视级别”页中的 JMS 服务组件来更改监视级别。

某些 HTTP 服务监视统计信息不提供有用信息,应该被忽略。(ID 6174518)

查看 HTTP 服务的某些元素的监视统计信息时,显示的某些值与当前值并不对应或始终为 0。特别是,以下 HTTP 服务统计信息并不提供适用于 Application Server 的信息,应该被忽略:

未删除已取消部署的 EJB 模块的监视 MBean,即使该监视名称下的所有统计信息均已移动。(ID 6191092)

说明

例如:


EJBModuleMonitorMap().size() = 1  eventhough ejb module is 
undeployed EJBModuleMonitor().getName() = sqe_ejb_s1_01

EJB 模块和应用程序都存在这个问题。以编程方式(通过 MBean API)和通过 asadmin list/get 执行操作后,空的监视 MBean 仍然存在。

诊断


asadmin list -m "server.applications" 显示以下输出:
server.applications.MEjbApp
server.applications.__ejb_container_timer_app
server.applications.adminapp
server.applications.admingui
server.applications.com_sun_web_ui
server.applications._export_install_nov-11_domains_domain1_applications
_j2ee-modules_sqe_ejb_s1_01

您可以查看统计信息:


bin/asadmin list -m "server.applications._export_install_nov-11_domains
_domain1_applications_j2ee-modules_sqe_ejb_s1_01"
server.applications._export_install_nov-11_domains_domain1_applications_
j2ee-modules_sqe_ejb_s1_01.SQEMessage
server.applications._export_install_nov-11_domains_domain1_applications_
j2ee-modules_sqe_ejb_s1_01.TheGreeter

一旦您取消部署:


_export_install_nov-11_domains_domain1_applications_j2ee-modules_sqe_
ejb_s1_01

如果执行 list 命令,您仍然可以看到应用程序:


asadmin list -m "server.applications"
server.applications.MEjbApp
server.applications.__ejb_container_timer_app
server.applications._export_install_nov-11_domains_domain1_applications_
j2ee-modules_sqe_ejb_s1_01
server.applications.adminapp
server.applications.admingui
server.applications.com_sun_web_ui

但它不包含任何监视统计信息:


asadmin list -m "server.applications._export_install_nov-11_domains_
domain1_applications_j2ee-modules_sqe_ejb_s1_01"
Nothing to list at server.applications.-export-install-nov-11-domains-
domain1-applications-j2ee-modules-sqe-ejb-s1-01.

要获得以某个字符串开头的有效名称,请使用通配符 (' *')。例如,要列出以 server 开头的所有可监视实体的名称,请使用 list "server.*" 命令。

解决方法

这是没有危害的。可以安全地重新部署模块而不会出现任何问题。未删除根监视 Mbean,但它为空。