Skip to main content

Posts

Showing posts with the label weblogic

Taming the JMX on WebLogic Server

Taming the JMX on WebLogic Server Taming the JMX on WebLogic Server Taming the JMX on WebLogic Server Let assume couple things first: 1) I assume you have heard of Java’s JMX features and familiar what it does (expose and manage your service remotely). You ought to know that default JVM will have a Platform MBeanServer instance that you can register MBean. And you may view them using the jconsole command from the JDK. 2) As of today, I think by far the easiest way you can expose any services in your application to a JMX MBeanServer is using Spring’s exporter. You will do something like this: <bean class="org.springframework.jmx.export.MBeanExporter"> <property name="assembler"> <bean class="org.springframework.jmx.export.assembler.InterfaceBasedMBeanInfoAssembler"> <property name="managedInterfaces"> <list> <!-- Expose any java interface you like to see under JMX as MBean --> <value>myproject.ser...