JBoss - BSHDeployer Service - Redeploy ?
Does anyone know how to, in a JBoss Server (no matter the version), redeploy the BSHDeployer Service, via the JMX-CONSOLE ? ...
Does anyone know how to, in a JBoss Server (no matter the version), redeploy the BSHDeployer Service, via the JMX-CONSOLE ? ...
Hi guys, I'm building a monitoring application as a servlet running on my websphere 7 ND deployment manager. The tool uses JMX to query the deployment manager for various data. Global Security is enabled on the dmgr. I'm having problems getting this to work however. My first attempt was to use the websphere client code: String sslP...
I have a bunch of standard MBeans which I need to convert to dynamic MBeans, (main purpose is to add user friendly descriptions to attributes, operations and operation parameters). I was wondering if there is any tool which can make my job easier by generating skeleton code for dynamic MBeans from the existing standard MBeans. ...
Hi guys, I've managed to create a a new user from a servlet using VMM. The problem I now have is in allocating a role to the user. Does anyone know how I could make give the new user a websphere monitor role from within the servlet ? cheers, Trevor ...
Hi All, I need some direction with JMX and J2EE. I am aware (after few weeks of research) that the JMX specification is missing as far as deployment is concerned. There are few vendor specific implementations for what I am looking for but none are cross vendor. I would like to automate the deployment of MBeans and registration with the...
Hi guys, I'm trying to update the password on a websphere J2C datasource connector using JMX. Does anyone have any source or tips ? cheers, Trevor ...
Hello, is it possible to get the name of the current domain in Glassfish v2? I've got a code like: MemoryMXBean bean = ManagementFactory.getMemoryMXBean(); if (bean != null) { MemoryUsage usage = bean.getNonHeapMemoryUsage(); int current = (int) ((double) usage.getUsed() / usage.getMax() * 100); ch.log(...
I‘d like to ask I question that here that I think would be easy to some people. Ok I have query that return records of two related tables. (One to many) In this query I have about 3 to 4 calculated fields that are based on the fields from the 2 tables. Now I want to have a group by clause for names and sum clause to sum the calculated...
Hi, I want to access MemoryPool Mbeans through a java program so that I can retrieve the Eden Space, Perm Gen space, CodeCahe, Survior Space statistics during a period of time. How to do this? I tried java.lang:type=MemoryPool,name=Eden Space I wan not lucky Thanks, Shankar ...
Hi, I am working on a device that installs an embedded linux system. I want to remote monitor the application running on that device using JConsole. However, when I set the property for JMX Agent like -Dcom.sun.management.jmxremote.port=8010, the system produced an error "the file management.properties does not exist". It seems that ...
Hi, What is the difference between CollectionUsage, PeakUsage, Usage fields in any memorypool bean ? I saw these in the path of any application in a jconsole window: mbeans tab > java.lang > memorypool > select any bean. In the right hand side pane we can see these attributes. ...
I'm packaging a couple JMX MBeans inside a JBoss SAR file. However, when I try to introduce Spring (3.0.2.RELEASE) into the project by marking the class as @Configurable and one of the dependencies as @Autowired, I get the following error during deployment: java.lang.ClassNotFoundException: org.springframework.beans.factory.aspectj.Con...
Hello fellow Coders, I have to implement a webservice client to a given WSDL file. I used the SDK's 'wsimport' tool to create Java classes from the WSDL as well as a class that wrap's the webservice's only method (enhanceAddress(auth, param, address)) into a simple java method. So far, so good. The webservice is functional and returning...
From the JMX MXBean specification, a java class type J must satisfy Either if J has at least one public constructor with a ConstructorProperties annotation, Or if J has a public no-arg constructor, and for every getter in J with type T and name N there is a corresponding setter with the same name and type So how can I use JAXB to gen...
I've been looking at JMX for monitoring application and system metrics (partially because MBeans can accessed by various tools such as JConsole). It would seem like the classes included with JMX would be useful for things like notification when metrics have exceeded thresholds. But I'm not sure they fit with the way I want to measure the...
Does anybody knows how to get standard connection to geronimo using jconsole. I mean not https://cwiki.apache.org/GMOxDEV/apache-geronimo-with-a-monitor-component-jmx-and-jconsole.html, but whole JVM management with thread pool, memory usage, cpu usage like that screenshots http://java.sun.com/javase/6/docs/technotes/guides/management/j...
I'm using Spring's @Configuration, and I noticed that a @Bean does not get registered using JMX. The bean is wired as @Bean protected CountingHttpInterceptor countingHttpInterceptor() { return new CountingHttpInterceptor(); } and the class definition is @ManagedResource public class CountingHttpInterceptor implements HttpReque...
Hi, i just start to learn JMX, and i was given a project to do: to make an RFID client-server managable. Just a small question how do you propose to start :) ? I mean do you suggest to build the Agent first or do the instrumentations. And what instrumentation MBean to use better? ...
I am using connection pool from an external vender. I want to expose the properties a set to the pool for management using JMX so these can be changed from JConsole. I was considering DynamicMbean or MXBean. I am very new to using JMX. Can someone give me advantages and disadvantages of both in the scenario which i am using. ...
Hi there, I'm trying to use the Spring JMX Exporter to define a MBean in my JBoss Portal Server (2.7.0) which is built on a JBoss AS 4.2.3. The MBean is exported correctly but I want to trigger some of the PortalEvents now here comes my problem: If I declare a service in my jboss-service.xml I have to define a dependency for this MBea...