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
0 answers

How to export Micrometer metrics to JMX MBeans with own attributes?

We have a system with multiple tenants that adds a tag, which connects a specific metric to some tenant. Let's call it tenant_id. According to micrometer documentation, https://micrometer.io/docs/concepts, section 3,JMX is hierarchical. This means…
0
votes
0 answers

How Kafka keep track of registered mbeans

Does Kafka make use of any data structures or technologies to keep track of all the registered Mbeans ? If I am registering a large number of objects as MBean, I need some way to manage, access and keep track of them efficiently. What is the best…
0
votes
0 answers

PMI data on TWAS (Traditional Websphere Application Server) on Mainframe

Is there any way to retrieve PMI data on TWAS using JMX interface API and I didnt want to use the AdminClient for JMX ? Please can you help me out with this , What the other ways to retrieve PMI data on TWAS ? Thanks Sharbel
0
votes
0 answers

debezium 2.0 connector sqlserver issue in mBean, JmxAttributeGauge

In older versions of Debezium using SQL Server as an example, metrics were available using the following naming strategy: debezium.sql_server:type=connector-metrics,server=,context= In new release debezium 2.0, the…
0
votes
0 answers

Facing tiles issue while migrating struts 1.3 to struts 2.5.29

I am facing issue while migrating struts 1.3 to struts 2.5.29. struts 2.5.29 code is deployed in jboss-4.0.5.GA . I have referred from example https://www.viralpatel.net/struts-2-tiles-plugin-tutorial-with-example-in-eclipse/ Getting below exception…
0
votes
1 answer

JMX MXBean enum handling conversion errors

When using an enum as the value component of a Map in an MXBean it appears I am having difficulty with conversion of the enum. public enum MyEnum { EnumVal1, EnumVal2, EnumVal3 }; public interface MyMXBean { Map
sweetfa
  • 5,457
  • 2
  • 48
  • 62
0
votes
1 answer

JSF: Backing Beans with nested objects?

JSF 1.1, using a backing bean with a nested objects inside I can read all properties of the nested object. For example assuming a backing bean named "foo" with a nested object "bar" can I set/write via h:form all the properties of foo.bar? I mean…
Steel Plume
  • 2,260
  • 3
  • 26
  • 35
0
votes
1 answer

Wildfly does not update MBean session attributes (JMX)

I am accessing WildFly (22) via JMX to access one of its MBeans. It is the session information of an web application. This is generally working however I can only see one attribute changing over time which is the activeSessions attribute. All other…
Lonzak
  • 9,334
  • 5
  • 57
  • 88
0
votes
1 answer

Finding status if MDB is running

I want to use mbeans on startup of j2ee application to check if all the MDBs are running and jms specification has been activated. Any pointers will be very helpful
cooldev
  • 497
  • 1
  • 3
  • 17
0
votes
1 answer

How to find the byte rate of Consumers Kafka

I created an application which use Kafka. So how can I find how many MB/sec my consumers reads ? My topics have only one partition
0
votes
0 answers

Stackdriver adding custom JMX metrics, similar to jvm-sun-hotspot

I have been trying to monitor a custom JMX metrics using stackdriver, . I saw the below GIT page for fetching MBEAN metrics, https://github.com/Stackdriver/stackdriver-agent-service-configs/blob/master/etc/collectd.d/jvm-sun-hotspot.conf I require…
0
votes
1 answer

How to enable Weblogic managed server ResolveDNSName?

I have patched weblogic 12.2.1.4.0 with 30970477;WLS PATCH SET UPDATE 12.2.1.4.200228 and now cannot start managed1. managed1 logs contains Cannot resolve ClusterAddress: wlnode1:7101 <[STANDBY]…
binarysta
  • 156
  • 11
0
votes
0 answers

How can i retrieve IP Address of a Kafka node using Jmx query?

I am monitoring Kafka by configuring JMX. I need IP address of the node where Kafka is being monitored. I am not being able to get MBean name to query for IP. how can I do it?
Sajita
  • 41
  • 5
0
votes
1 answer

Get application name from EJB on Weblogic 11g

Is there a way to find out the deployment name of an application from a server managed object that itself is in, on Weblogic 11g? For example, can I get the application name a stateless bean in deployed with, from that stateless bean itself? I found…
milin
  • 414
  • 4
  • 14
0
votes
1 answer

java.lang.IllegalStateException: zip file closed during weblogic 12.2 startup after application deployment

I'm getting the below exception during weblogic server startup. Java version used: 1.8. The jar file in the exception is in the correct directory and that class file CdrCircuitResponse is present in that jar. < Apr 20, 2020 7:23:37,775 AM EDT>…
CP coder
  • 3
  • 4