#
# @(#)file RELEASE_NOTES.txt
# @(#)author Sun Microsystems, Inc.
# @(#)version 1.17
# @(#)lastedit 03/08/22
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
---------------------------------------------------------------------------
Java(TM) Management Extensions (JMX(TM)) 1.2.1 Release Notes
---------------------------------------------------------------------------
These Release Notes contain important product notes and list known
restrictions in Java Management Extensions (JMX) 1.2.1. Details of
workarounds to known bugs are given where possible. In cases where there
are differences between these Release Notes and the JMX documentation,
the information in these Release Notes supersedes that in the
documentation.
Contents
~~~~~~~~
1) JMX 1.2.1 Release Information
I. Description
II. Operating Environment
III. Product Restrictions
2) JMX 1.2 Release Information
I. JMX Tracing
II. Product Notes
III. Product Restrictions
1) JMX 1.2.1 Release Information
==================================
I. Description
~~~~~~~~~~~~~~~
Version 1.2.1 of the JMX Reference Implementation is an update of
version 1.2, which provides some important bug fixes. It
also implements the Errata for the 1.2 Maintenance Release of the
Specification, which were published in July 2003.
The changes between versions 1.2 and 1.2.1 of the JMX Reference
Implementation, as defined by the Errata, are as follows:
- Class loader repository can now contain additional class loaders
- Illegal identifiers no longer produce exceptions
- Notification source rewriting has been clarified
- Inconsistency between the specification document, the API
documentation, and the RI regarding currencyTimeLimit has been limited
- Severity values for ModelMBeanNotificationInfo have been clarified
- Optional Model MBean fields have been clarified
- API documentation for getDomains() method of MBeanServer interface
corrected
- Excessive type constraints have been removed from the relation service
documentation
For more information about these changes, see the document
"Errata for JMX Specification, version 1.2" (2003/07/02), which
is downloadable from
http://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html
Note that the JMX API Javadoc bundled with this Reference
Implementation reflects the Errata, and hence differs slightly
from the Javadoc in the JMX 1.2 Specification.
II. Operating Environment
~~~~~~~~~~~~~~~~~~~~~~~~~~
The binary package was built using J2SE 1.4.2 (build 1.4.2-b28).
Testing was performed on the following platforms:
- Solaris 9 operating environment, SPARC processor, with J2SE 1.3.1 and J2SE 1.4.2.
- Redhat Linux 9, with J2SE 1.4.2.
- Windows 2000 Professional Edition, with J2SE 1.4.2.
III. Product Restrictions
~~~~~~~~~~~~~~~~~~~~~~~~~
The following is a list of known restrictions in this release.
1) BugID 4909536
The MBean server's introspection code, which analyses Standard
MBean interfaces to convert them into attributes and
operations, will keep a reference to the last class
introspected even after the introspection is completed.
Therefore, the class and its class loader cannot be garbage
collected.
2) JMX 1.2 Release Information
================================
The following information is directly extracted from the release
notes that accompanied version 1.2 of the JMX Reference
Implementation.
I. JMX Tracing
~~~~~~~~~~~~~~
Traces in the JMX implementation are based on the J2SE logging
capability (provided by classes in the java.util.logging package).
The JMX implementation uses a set of Loggers for sending traces. All
Loggers are contained in the javax.management namespace, which
corresponds to the name of the root package hosting all public JMX
interfaces.
The list below shows the Logger objects used in this implementation
and their corresponding category of activity.
Logger Name Information Logged
----------- ------------------
javax.management.mbeanserver Information about the MBean Server
javax.management.mlet Information from an MLet service
javax.management.monitor Information from a monitor
javax.management.timer Information from a timer
javax.management.notification Information from the notification
mechanism
javax.management.relation Information from the Relation
Service
javax.management.modelmbean Information from the Model MBean
components
javax.management.misc Information sent from any other
class
The following log levels are used in JMX:
JMX log level Description
------------- -----------
Level.FINEST Used to print debugging traces
(useful for diagnosing the JMX
implementation)
Level.FINER Used to print information traces
Level.SEVERE Used to notify of error conditions
NOTE: The JMX 1.2 tracing facility is based on java.util.logging,
which is only available in J2SE 1.4. The JMX 1.2 tracing facility can
still be run with earlier versions of the JDK (1.3), but in this case
the JMX traces will run in a deprecated mode, and will not be available
by default.
Using JMX Trace with JDK 1.3
----------------------------
When running the JMX technology on JDK 1.3, you can still get the
traces by using a Sun proprietary API:
com.sun.jmx.trace.TraceTags defines 3 level of traces:
com.sun.jmx.trace.TraceTags.LEVEL_ERROR
com.sun.jmx.trace.TraceTags.LEVEL_TRACE
com.sun.jmx.trace.TraceTags.LEVEL_DEBUG
com.sun.jmx.trace.TraceImplementation defines a destination for JMX
traces that can be controlled by two system properties:
com.sun.jmx.trace.level=ERROR|TRACE|DEBUG (default is ERROR) lets you
define the trace level.
com.sun.jmx.trace.file=<filename> lets you define a file in which the
traces should be written. If this property is not defined, the traces,
when switched on, will be printed on System.err.
To switch on the traces, you need to:
* Set the com.sun.jmx.trace.level and/or com.sun.jmx.trace.file
properties if you want to override the default settings. You can
set these properties either by using the System.setProperty(),
method or by specifying their value at the Java command line.
* call one of the two following static methods:
- com.sun.jmx.trace.TraceImplementation.init(); activates the traces
using the com.sun.jmx.trace.level and com.sun.jmx.trace.file
properties.
- com.sun.jmx.trace.TraceImplementation.init(int level); Switch on
the traces using the com.sun.jmx.trace.file property, with the given
'level'. Level must be one of:
com.sun.jmx.trace.TraceTags.LEVEL_ERROR
com.sun.jmx.trace.TraceTags.LEVEL_TRACE
com.sun.jmx.trace.TraceTags.LEVEL_DEBUG
II. Product Notes
~~~~~~~~~~~~~~~~~
The following are the major issues addressed in the JMX Specification
maintenance release, v1.2:
1) New MBeanServer Superinterface
The MBeanServer interface in JMX 1.1 was not suitable for exposure
to remote clients because it contained methods only appropriate
for the exporter of the instrumentation and because it did not
declare an appropriate exception for communication failures.
A new parent interface, javax.management.MBeanServerConnection, has
been added.
2) New removeNotificationListener Methods
MBeanServer.removeNotificationListen
jmx tool jar 备用
需积分: 0 134 浏览量
更新于2022-08-30
收藏 1.01MB GZ 举报
JMX(Java Management Extensions,Java管理扩展)是Java平台提供的一种标准管理框架,它允许开发者创建可管理和监控的Java应用程序。这个"jmx tool jar 备用"标题可能指的是一个包含JMX工具的JAR文件,用于辅助管理和监控Java应用程序。
在Java中,JMX允许我们创建管理模型、注册MBeans(Managed Beans),这些MBeans代表了应用程序中的可管理资源,如系统状态、性能指标等。MBeans可以是标准的、开放的或私有的,它们通过MBeanServer进行注册,然后可以通过JMX客户端工具进行访问和操作。MBeanServer是JMX架构的核心,它负责管理MBeans,并提供查询、通知和远程访问等功能。
"jmx-1_2_1-bin"可能是JMX工具的特定版本,这里的"1_2_1"表示版本号。通常,这种命名格式表明这是一个二进制发行版,包含了编译后的类文件和其他运行时所需的资源。这个JAR文件可能包含了以下组件:
1. JMX核心库:提供JMX API,使得开发者能够创建MBeans,注册到MBeanServer,以及实现管理功能。
2. MBeanServer实现:这是JMX架构的关键部分,提供了MBean的注册、查询和操作接口。
3. JMX连接器(Connector):允许远程访问MBeanServer,支持RMI(Remote Method Invocation)和其他协议,如JMXMP(JMX Message Protocol)。
4. 工具类和示例:帮助开发者理解和使用JMX,可能包括客户端工具,用于查询和操作MBeans。
在实际应用中,JMX工具JAR文件可能被用于以下场景:
- 监控应用程序的健康状况,例如CPU使用率、内存使用、线程状态等。
- 配置应用程序的动态参数,无需重启服务。
- 收集性能数据,用于分析和优化。
- 远程管理分布式系统中的组件。
为了使用这个JMX工具JAR,开发者需要将其添加到项目的类路径中,然后可以调用相关的API来实现管理功能。例如,可以创建并注册自定义的MBean,通过JConsole或JVisualVM等内置的JMX客户端工具进行交互,或者开发自定义的JMX客户端来连接并操作远程MBeanServer。
"jmx tool jar 备用"是Java环境中用于管理和监控应用的重要工具,它提供了一套标准的接口和机制,使得开发者可以轻松地集成管理和监控功能到Java应用程序中。了解和掌握JMX技术对于优化和维护复杂的Java系统具有重要意义。

9线艺术家
- 粉丝: 560
最新资源
- upvc排水管在工程使用中的优缺点及改进措施p.doc
- 一线生产主管管理技能提升.ppt
- 大厦二期安装部分施工组织设计.doc
- 旋挖钻在复杂地质中钻孔灌注桩及后注浆施工技术.doc
- 第二节-质谱图解析.ppt
- OpenMV教程(武汉无名创新科技有限公司).pdf
- 墩柱施工工艺注程图.doc
- 不同阶段的建设工程造价文件卢亮.ppt
- 混凝土的施工过程中温度与裂缝控制(中英文).doc
- 哮病中医护理方案.ppt
- 中餐传菜员中班工伯流程及标准.pdf
- 灯具现浇混凝土基础施工工艺标准及施工要点.doc
- 写字楼租赁合同(范本).doc
- 基于BIM技术的施工安全体验教育虚拟环境技术方案.docx
- 第十四节高温作业与中暑.ppt
- 第七章钢筋混凝土受压构件答案.doc