In thread related Mbeans of Tomcat I see under Catalina.ThreadPool. there are different attributes viz.开发者_如何学编程 maxThreads, currentThreadCount, currentThreadsBusy etc.
I have a console Java application, which runs all the time on a remote server (nohup java -jar myapp.jar &).
I use spring in a stand alone web application, which means there\'s no servlet container but rather it runs in a JVM machine:
I need to recreate the functionalities of the jps tool programmatically. I need to find out all Java running processes along with their id so I can attach to that process (similar to what JConsole doe
Regarding applications administration, I think SNMP4j and JMX are the most used standards. Looking to the documentation of each one, I got confused and not able to choose one or the other. So, I decid
How would i add a shutdown hook (just like the JVM Shutdown Hoo开发者_运维百科k) to listen (get notification) when an EJB application is deployed/undeployed (to stop the JMX MServerBean)?
The problem might soun开发者_如何学编程d similar to many resolved ones, but I did not shoot this target yet.
For older JBoss these mechanis开发者_JAVA百科ms worked : Check for Class org.jboss.mx.util.MBeanServerLocator
I\'ve written a custom MBean that deploys in Tomcat 6. One of its tasks is to query a database value. I\'m doing this by loading up the database resource using JNDI - the resource is defined in Tomcat
I need to define and implement an MXBean interface. One of the methods would return a Collection. This seems to be not supported by MXBeans. I get an OpenDataException saying \"Cannot convert type: ja