jmx

Query for system (not JVM) uptime in Java

Is there a OS-neutral method of querying for system (not JVM - I am aware of RuntimeMXBean.getUptime()) uptime in JavaSE 6 ? Thanks ...

How to connect .Net app to JMX agent?

I need to connect my .Net application to somebody else's JMX agent. I've read that this is simply not the done thing and I should use soap or practically anything else. As this is just not going to happen, are there any libraries or interop techniques out there that can help me? I'm only interested in the simple things like invoking a re...

What are the characteristics of a well-designed JMX MBean

What are some of the best practices in designing a JMX MBean? Any examples of ones you feel are especially useful? ...

How to hide datasource passwords in in Tomcat JMX Beans

Hi, Tomcat exposes a good wealth of information about its internals via JMX. You can see data source, connector usage, thread pools, you name it. However, it also exposes the password of the JDBC datasource (Catalina->DataSource->javax.sql.DataSource->...). Is there any way to hide this information from being published ? We've found ...

Cannot connect to Tomcat's MBeanServer via jconsole in J2SE6

I'm on a vista machine. I've started tomcat 5.5.27 with these options: CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=9003 \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false" When I connect via jconsole and added the following service url service:jmx:rmi:///jndi/rmi://localhost:...

Is it a possible to invalidate an individual session in JBoss through JMX?

We are tracking down some memory issues in our application and we have visibility into the size of our sessions where the problem seems to be. It is only affecting certain sessions where they seem to balloon out of control and we'd like to have the ability to invalidate those sessions more-or-less 'by hand' to reclaim that memory . Is ...

Best Practices in creating software appliances?

I have an application that a customer has asked us to package into a software appliance and wanted to find a list of all of the things that I need to consider. Stuff related to choosing the operating system is well-documented, but other aspects such as building usable web consoles, frameworks I should consider (the application is written...

IDE plugins for developing JMX Model MBeans

I am looking for a plugin that helps developers create JMX Model MBeans that works with either Eclipse and/or Netbeans. I am aware of the JMX Plugin for Netbeans that allows for creating of simple MBeans but looking for something more advanced. ...

Any open source implementations of WS-DM working with JMX?

WS-DM is a web services equivalent of JMX. I am looking for an open source implementation... ...

how can i generate mail alert/notification if memory consumption in jvm exceeds some thrsold, by using jmx

how to generate mail alerts for the following changes in jvm 1)memory 2) threads 3)db connections by using jmx any help would be useful thanks ...

can any one give me some sample code on how to generate a mail if value exceeds thrsold

hi i am monitoring jvm and i am getting it statics like memory,number of threads etc and i want to generate mail notification depending on that conditions. can any give me some sample code on how to generate mails ...

can any one tell me how to generate mail with jconsole values

hi, i have configured jconsole to view jvm health. and i want to send an email to subscribers with jvm statics(which displayed by jconsole) can any one tell me how to do this ...

can any one tell me how to generate mail with jconsole values

hi, i have configured jconsole to view jvm health. and i want to send an email to subscribers with jvm statics(which displayed by jconsole) can any one tell me how to do this thanks sac ...

monitoring & alerts for a j2se application

I am designing a J2SE application, and looking for a solution for monitoring and alerts. The requirements are: Objects can report their status and issue alerts when they have problems. Calling some pre-defined methods on specific objects (e.g. to dump their state). Monitoring JVM health, especially memory usage. Preferably access all o...

Remote JMX connection

I'm trying to open a JMX connection to java application running on a remote machine. The application JVM is configured with the following options: com.sun.management.jmxremote com.sun.management.jmxremote.port=1088 com.sun.management.jmxremote.authenticate=false com.sun.management.jmxremote.ssl=false I'm able to connect using localh...

Advantages of MemoryPoolMXBean.getUsage() over Runtime.freeMemory()

I have a requirement to collect statistics of a JVM in regular time intervals using. Later, i need to log the JVM available memory/free memory, used memory, total memory. Following are the two options i have thought of. ManagementFactory.getMemoryPoolMXBeans() and iterating through each MemoryPoolMXBean and finally collecting the stat...

How to activate JMX on my JVM for access with jconsole?

How to activate JMX on a JVM for access with jconsole? ...

JMX Defined

I am looking for: What JMX is. Where I can find some good JMX Tutorials. What JMX can provide to me as a Java EE programmer. Anything else I should be aware of. ...

Web UI Framework for Configuration

I am looking for a UI Framework that supports the following features: Integrated with Apache Commons Config and/or JFig Supports nested tabs Understands users/groups/roles Can interact with JMX MBeans Doesn't require Javascript in order to function Written in Java and ideally JSP-based ...

How Glassfish AMX MBeans monitoring dotted names are build ?

Hello, Does anybody know how Glassfish AMX monitoring dotted names are build ? For instance for X-MonitoringDottedNames : *server.applications.__ejb_container_timer_app.ejb_jar.TimerMigrationBean.bean-pool.numthreadswaiting-upperbound=0* ? It seems that these dotted names are build algorithmically, but it beats me. PS: these can be ...