JBOSS - MicroKernel, JNDI and JMX

advertisement
Microkernel, JNDI, JMX
Objectives



You will be able to understand the JBOSS
JMX Microkernel
You will be able to understand the JBOSS
JNDI Namespace
You will be able to use the JBOSS JMX
JBOSS JMX Microkernel
JBOSS JNDI Server Arquitecture
An Introduction to JMX



Instrumentation: The are resources to
manage
Agents: These are the controllers of the
instrumentation-level objects
Distributed services: These are the
mechanism by which administration
applications interact with agents and their
managed objects.
An Introduction to JMX
Understanding Mbeans Names
JMX Microkernel Descriptor File

The server/xxx/conf/jboss-service.xml is the
primary descriptor file to declare Mbeans to
the JMX Microkernel
JMX Microkernel Primary Services





The logging service
The thread pool
The Java Naming and Directory Interface
Various Mbeans related with Security
Various Mbean related with J2EE
Deployment
Using The JMX Console

Enter the following URL to explore the
JBOSS JMX Mbeans
http://localhost:8080/jmx-console
Using The JMX Console
Viewing a Mbean Object
Using the twiddle utility
PATH=$PATH:/opt/jboss-server/jboss-4.0.3SP1/bin
JAVA_HOME=/opt/jdk15_12
PATH=$PATH:$JAVA_HOME/bin
# twiddle --help
# twiddle --server=jnp://server_addr:port <command>
<bean_name> <attributte/operation_name>
Examining Mbeans with Twiddle
Download