Certain real-time features of the server application I'm working on would benefit from exposing counters to a Network Management System.
I am thinking about a solution where I am using the JMX API from a Java application and via some configuration/magic/libraries can expose this information as SNMP data.
Back in the old days, JDMK di...
I'm about to undertake load testing of a web application that is suffering from intermittent failures in a production environment.
I have enabled some JMX monitoring on certain components, e.g. an OSCache implementation, with the goal of gathering its statistics around the time of failure to determine how/if it contributes.
I've been c...
How to create performance counters that are exposed by jmx and accessed via jconsole?
Say whenever I instantiate a particular object, I increment a counter. I want to expose the counter value so I can view the value in jconsole.
How would I go about doing this?
...
I have built a Java console-based application and exposed key methods via Spring/JMX declarations. Using JConsole, I can invoke these methods but more ideally, I would like to build a management-style web application to provide browser-based access to these methods.
Thanks.
Ashwin
...
Hi,
I'm using websphere 7.0.0.9 over windows with a topology like this:
physical-server-1
Cell01
DMgr
Node01 w/Server01
physical-server-2
Node02 w/Server02
The Node02 is federated to Cell01 and works fine for a few weeks (i'm testing a clustered application over server01 and server02, nothing special)
But now in administrative cons...
I would like to have a possibility to use jconsole in production, but am a bit concerned about performance. Is it ok to leave JMX agent running (via -Dcom.sun.management.jmxremote) or will it have a noticeable performance footprint?
...
Hello fellow stackoverflowers.
I have been getting a quite nasty error while trying to start up my brokers with ActiveMQ. It seems that, for some reason, the management context tries to start up something that is already registered. The top of the stack trace reads:
[SpringOsgiExtenderThread-127] DEBUG org.apache.activemq.broker.jmx.Ma...
Hi,
I have a client that registers with JMX for notifications.
Whenever that JMX Notifications Emitting application is restarted I get an exception
01/08/2010 16:28:04 com.sun.jmx.remote.ws.client.JMXWSManStub fetchNotifications
WARNING: Exception java.io.IOException: java.net.ConnectException: Connection refused: connectoccured during...
I'm somewhat familiar with displaying simple data via a JMX MBean using older JDKs. What I'd like to do is have one MBean link to a couple related MBeans, making it nicer for users to access related info. Is there a good, standard way to do that?
I'd like it to work in both the HTML adapter and richer clients like JConsole (i.e. I don't...
I'm new in windows environment and I wonder why my JBoss AS didn't start. I use following command to start my server : run.bat -b 0.0.0.0 -c default
The Exception is:
2010-08-04 00:14:18,109 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.remoting:protocol=rmi,service=...
Is it possible, ideally using the spring JMX annotations, to export a map of key value pairs where the key is used as the exported attribute name?
If so, how?
Thx.
...
According to this documentation http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html#Enabling_JMX_Remote it should be possible to remotely Monitor a Tomcat 5.5 Server running on a JDK 1.4 but after searching all over the web and trying multiple OSs I still am no further than on day one.
My results thus far are. Settign up Tomcat with...
Is there a way to prevent jbossws/services from listing services currently deployed? I thought of securing it the way jmx-console is secured, i.e. password protected, but would that mean that web service consumers would have to authenticate too? Or is it just going to password-protect the web interface? Thanks!
...
Hello friends, i am preparing for an interview which requires a bit hands on JMS and JMX, but i didnt work on these. so need any video tutorial links which can make me understand quickly.
thanks.
...
Dears
I am working on custom monitoring system to my server.
the application is developed using python and Django.
The server is running java web applications and I need to monitor the JVM under which the application server is running, so I start the applications with enable the JMX.
Now I need to connect my python application to the...
Hello everybody,
I’m a beginner with the technologies OSGi and JMX, so I have some questions and I hope to have answers.
I want to recover the OSGi Log object for display logs on my console eclipse and then display them on a jsp page.
Haw can I access to Log OSGi bundle via the JMX’ Object MBeanServerConnection?
Haw can I have LogEn...
I've noticed that the convention for JMX MBeans appears to deviate from the standard Java Bean property model in that the names for attributes will traditionally start with a capital letter, i.e. PascalCase.
To explain this a bit more clearly, I'll take an example from the JDK (chopped down a bit for clarity) :
public interface Memory...
I am using Nagios for monitoring - and looking at NPRE for various monitoring on a given box. I have some java processes - would be nice to "peek into them" via JMX etc.. I can't see a way to do this without starting up a JVM and connecting remotely?
Any ideas?
...
In Spring MVC, an exception's stack trace is logged if it makes it all the way back up to the framework (for example, if there is a NullPointerException). Is there a simple way to do this using Spring's MBeanExporter?
I know that I could have try-catches in the method to do this, but that would lead to clutter. I checked the Spring doc...
NetBeans IDE has a taskbar indicaror, showing how much RAM is currently allocated and used by the running instance. How can I get this data in my own application written in Scala? If there's no special function for this in Scala, I could use Java one.
...