`
george.gu
  • 浏览: 71660 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

JMX in Weblogic

 
阅读更多

Here I would like to list some topics I used to search or study.

MBean Servers in Weblogic

The JVM for an Administration Server maintains three MBean servers provided by BEA and optionally maintains the platform MBean server, which is provided by the JDK itself:

  1. Domain Runtime MBean Server: MBeans for domain-wide services. This MBean server also acts as a single point of access for MBeans that reside on Managed Servers. Only the Administration Server hosts an instance of this MBean server. Object Name: weblogic.management.mbeanservers.domainruntime
  2. Runtime MBean Server: MBeans that expose monitoring, runtime control, and the active configuration of a specific WebLogic Server instance. You can also register your own (custom) MBeans in this MBean server. Each server in the domain hosts an instance of this MBean server. Object Name: weblogic.management.mbeanservers.runtime.
  3. Edit MBean Server: Pending configuration MBeans and operations that control the configuration of a WebLogic Server domain. It exposes a ConfigurationManagerMBean for locking, saving, and activating changes. Only the Administration Server hosts an instance of this MBean server. Object Name: weblogic.management.mbeanservers.edit
  4. The JVM's platform MBean server: MBeans provided by the JDK that contain monitoring information for the JVM itself. You can register custom MBeans in this MBean server, but BEA recommends that you register them in its Runtime MBean Server.Local applications can access all of the MBeans through the MBeanServer interface that java.lang.management.ManagementFactory.getPlatformMBeanServer() returns.
The JVM for a Managed Server maintains only one BEA MBean server and the optional platform MBean server.

 

Accessing WebLogic Server MBeans with JMX

Remote connection to Weblogic MBean Server: Using JConsole

In order to load remote Weblogic MBean Server, we should add WL_HOME\server\lib\wljmxclient.jar into classpath.

Here is the command used to launch jconsole.exe:

set JAVA_HOME="C:\Program Files\Java\jdk1.6.0_24"
set WL_HOME=c:\bea11g\wlserver_10.3
call %JAVA_HOME%\bin\jconsole.exe -J-Djava.class.path=%JAVA_HOME%\lib\jconsole.jar;%JAVA_HOME%\lib\tools.jar;%WL_HOME%\server\lib\wljmxclient.jar -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote -debug 

 

Then input URL as following to access Weblogic domain MBean server:

service:jmx:rmi://${HOST}/jndi/iiop://${HOST}:${PORT}/weblogic.management.mbeanservers.domainruntime


Remote connection to Weblogic MBean Server: Java Application

http://docs.oracle.com/cd/E12840_01/wls/docs103/jmx/accessWLS.html#wp1112969

 

Local Connections to the Runtime MBean Server

 

If the classes for the JMX client are located at the top level of an enterprise application (that is, if they are deployed from the application's APP-INF directory), then the JNDI name for the Runtime MBean Server is:

java:comp/jmx/runtime

If the classes for the JMX client are located in a J2EE module, such as an EJB or Web application, then the JNDI name for the Runtime MBeanServer is:

java:comp/env/jmx/runtime

 

Using the Monitoring Dashboard

http://docs.oracle.com/cd/E14571_01/web.1111/e13714/dashboard.htm#CIHHJIDD

TO BE UPDATED.

 

WebLogic Server MBean Object Names

http://docs.oracle.com/cd/E15523_01/web.1111/e13728/understandwls.htm#i1116307

TO BE UPDATED.

 

  • 大小: 30 KB
0
0
分享到:
评论

相关推荐

    jmx in action doc版

    JMX应该说是关于网络应用管理的的框架,如果你开发了一个比较复杂的系统,无疑你要提供这个系统的自身管理 系统,JMX更多应用是体现在Server上,... JBoss 3.0 weblogic等就是基于JMX开发的符合J2EE规范的服务器软件。

    JMX in action.pdf

    JMX应该说是关于网络应用管理的的框架,如果你开发了一个比较复杂的系统,无疑你要提供这个系统的自身管理 系统,JMX更多应用是体现在Server上,... JBoss 3.0 weblogic等就是基于JMX开发的符合J2EE规范的服务器软件。

    spring-boot-reference.pdf

    20.2.1. Logging changes in condition evaluation 20.2.2. Excluding Resources 20.2.3. Watching Additional Paths 20.2.4. Disabling Restart 20.2.5. Using a Trigger File 20.2.6. Customizing the Restart ...

    spring chm文档

    2.6.2. JMX 2.6.3. 任务规划 2.6.4. 对Java 5(Tiger)的支持 2.7. 移植到Spring 2.0 2.7.1. 一些变化 2.8. 更新的样例应用 2.9. 改进的文档 I. 核心技术 3. 控制反转容器 3.1. 简介 3.2. 容器和bean的基本...

    Spring中文帮助文档

    2.6.3. JMX 支持 2.6.4. 将Spring 应用程序上下文部署为JCA adapter 2.6.5. 计划任务 2.6.6. 对Java 5 (Tiger) 支持 2.7. 移植到Spring 2.5 2.7.1. 改变 2.8. 更新的样例应用 2.9. 改进的文档 I. 核心技术 ...

    Spring API

    2.6.3. JMX 支持 2.6.4. 将Spring 应用程序上下文部署为JCA adapter 2.6.5. 计划任务 2.6.6. 对Java 5 (Tiger) 支持 2.7. 移植到Spring 2.5 2.7.1. 改变 2.8. 更新的样例应用 2.9. 改进的文档 I. 核心技术 3...

    springboot参考指南

    就地(in-place)运行项目 vi. 59.6. Spring Boot插件配置 vii. 59.7. Repackage配置 viii. 59.8. 使用Gradle自定义配置进行Repackage i. 59.8.1. 配置选项 Spring Boot参考指南 6 ix. 59.9. 理解Gradle插件是如何...

    Spring-Reference_zh_CN(Spring中文参考手册)

    2.6.2. JMX 2.6 .3. 任务规划 2.6.4. 对Java 5(Tiger)的支持 2.7. 移植到Spring 2.0 2.7.1. 一些变化 2.7.1.1. Jar包 2.7.1.2. XML配置 2.7.1.3. Deprecated的类和方法 2.7.1.4. Apache OJB 2.7.1.5. iBatis 2.8....

    JAVA上百实例源码以及开源项目

    百度云盘分享 简介 笔者当初为了学习JAVA,收集了很多经典源码,源码难易程度分为初级、中级、高级等,详情看源码列表,需要的可以直接下载! 这些源码反映了那时那景笔者对未来的盲目,对代码的热情、执着,对...

    JAVA上百实例源码以及开源项目源代码

    Java 源码包 Applet钢琴模拟程序java源码 2个目标文件,提供基本的音乐编辑功能。编辑音乐软件的朋友,这款实例会对你有所帮助。 Calendar万年历 1个目标文件 EJB 模拟银行ATM流程及操作源代码 ...

Global site tag (gtag.js) - Google Analytics