Questions tagged [mbeans]

MBeans are JMX beans, NOT JSF/CDI/Spring/etc "managed beans". For that, use [managed-bean] tag instead.

(Mbean) Java Management Extensions (JMX) is a Java technology that supplies tools for managing and monitoring applications, system objects, devices (e. g. printers) and service oriented networks.

The MBean represents a resource running in the Java virtual machine, such as an application or a Java EE technical service (transactional monitor, JDBC driver, etc.). They can be used for collecting statistics on concerns like performance, resources usage, or problems (pull); for getting and setting application configurations or properties (push/pull); and notifying events like faults or state changes (push).

354 questions
0
votes
1 answer

Java Event Handling Help (Notifications vs EventObjects)

I'm building an Android app and a Blackberry app (same app different platforms). There is an abstract class that I am building that will handle events. For instance, I touch the "save" button on Android it posts a notif/event. The abstract class…
spentak
  • 4,627
  • 15
  • 62
  • 90
0
votes
1 answer

Is there a XSD file for MBeans

I am working on a JMX project and for the purpose of exposing the MBean's attributes and Operations of all the MBeans in my project, I wanted to write an API. For this I needed MBean xsd file with proper namespaces from the provider so that I can…
Amit
  • 466
  • 6
  • 11
0
votes
0 answers

Ehcache Mbean not visible in Hawtio GUI

I have configured Ehcache with my Spring Boot project and JPA/Hibernate. I know, that I can try to monitor Ehcache via JMX. Ehcache is definitly working right now. I have also installed Hawtio GUI and can successfully monitor Embedded ActiveMQ but…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
3 answers

How to programmatically invoke MBeans operation of target process

I want to simulate what jconsole does by: Identifying a running process that exposes jmx functionality (e.g: pid: 14796 FreshProject.jar) Listing the available MBeans libraries (e.g: org.jacoco) Invoking an operation (e.g: clicking dump) I've…
Cristian G
  • 460
  • 1
  • 4
  • 22
0
votes
2 answers

how can I get all the mbeans about weblogic?

When I use jconsole to access weblogic's mbean,I just can get some info about jvm like 'java.lang'.But what I want to get is about 'jdbc','jta','ejb','servlet'... I wonder if I can get these indicators through…
trgbishi
  • 55
  • 1
  • 2
  • 10
0
votes
1 answer

Custom MBean HTML pages

Im looking to customise the Agent View, Agent Administration and MBean View pages used in the management of MBeans, and would like to know if anyone has done this before or knows a tool to facilitate this. So far, I've looked at simply extending…
emilio
  • 314
  • 3
  • 16
0
votes
1 answer

How to add some OS level metrics to JMX for java JVM

Using JConsole someone can access to the metrics that were gathered by default for OS like memory, CPU load and ..., in addition to process specific metrics. My question is can we add some OS customized metrics, like the usage of some directory…
Soheil Pourbafrani
  • 3,249
  • 3
  • 32
  • 69
0
votes
1 answer

Display tabular mbean attribute in tabular form

I have an MBean that has an attribute that is TabularType of a CompositeType, basically a table of rows. I would like to have this displayed as a table of rows in either VisualVM or Java Mission Control. VisualVM (with the MBeans plugin) shows only…
Philippe Marschall
  • 4,452
  • 1
  • 34
  • 52
0
votes
0 answers

Telegraf config file for Jolokia input plugin for Websphere application server monitoring

I have setup the Influx-Telegraf-Grafana, and could figure out MBeans for WebLogic easily, however for WebSphere apart from the basic ones [ java.lang:* ], other websphere specifics are not working, or else may be i could not understand the correct…
0
votes
1 answer

Tomcat Monitoring - connectionCount JMX mbean

Question 1: This questions describes what is the currentTheadBusy and the currentThreadCount mbeans, but there is the connectionCount mbean. In this moment, the values of this 3 mbeans on my production Tomcat Application are: currentTheadBusy: 1 …
0
votes
0 answers

Monitor Tomcats internal threadpool without using JMX in a Spring Boot App

I have a simple Spring Boot web application set up for handling incoming http requests. Using the Java VisualVm I am able to see MBeans such as Tomcat's internal Threadpool. See the following screenshot: Screenshot of the Java VisualVM's MBean…
Patrick
  • 1,728
  • 2
  • 17
  • 30
0
votes
1 answer

ehcache 3 statistics spring boot

I read through the documentation for ehcache 3 and its a bit confusing in the context of spring cache. My configuration is as follows:
sharman
  • 515
  • 1
  • 5
  • 18
0
votes
1 answer

jedis - Can't connect to redis after JMS request - access denied

The language I'm using is Java (Groovy). I'm using javax.JMS to send a file over a JMS WebLogic queue. Immediately after successfully sending the JMS message (separately verified), I call close() methods from my QueueSession instance and then from…
user3804769
  • 469
  • 1
  • 8
  • 19
0
votes
1 answer

Start/stop a deployment in Weblogic 9 using JMX (or WLST)

I want to start/stop a deployment in weblogic 9 server. I prefer to use JMX to talk to a weblogic MBean. I already use this to start/stop a server, but I cannot find the MBean for starting/stopping deployments/applications. In weblogic server 11g…
Edwin
  • 2,671
  • 2
  • 19
  • 24
0
votes
1 answer

How to get Cluster nodes in Websphere using PlatformMbeanServer?

I have deployed one war application in WebSphere ,as part of Server1 and Server2 . There is a cluster which has these two servers. I want to write java code as part of my war application and fetch cluster node details. MBeanServer mbServer =…
AKS
  • 1,393
  • 3
  • 19
  • 29