jmx
Tomcat Thread Monitoring Mbeans Description
In thread related Mbeans of Tomcat I see under Catalina.ThreadPool. there are different attributes viz.开发者_如何学编程 maxThreads, currentThreadCount, currentThreadsBusy etc.[详细]
2023-04-13 06:06 分类:问答Java daemon deployment
I have a console Java application, which runs all the time on a remote server (nohup java -jar myapp.jar &).[详细]
2023-04-12 20:05 分类:问答java process to notify the shell spring load completion
I use spring in a stand alone web application, which means there\'s no servlet container but rather it runs in a JVM machine:[详细]
2023-04-12 13:16 分类:问答Which API does Java's jps tool use internally?
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[详细]
2023-04-11 18:52 分类:问答SNMP4j vs JMX? what to choose for myapplication
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[详细]
2023-04-09 20:11 分类:问答EJB application shutdown hook
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)?[详细]
2023-04-09 16:54 分类:问答JMX MBean to manage dynamic set of properties
The problem might soun开发者_如何学编程d similar to many resolved ones, but I did not shoot this target yet.[详细]
2023-04-09 10:09 分类:问答How to get the Version Number for JBoss 7 from within a WAR?
For older JBoss these mechanis开发者_JAVA百科ms worked : Check for Class org.jboss.mx.util.MBeanServerLocator[详细]
2023-04-09 06:29 分类:问答Custom MBean in Tomcat - cannot find javaURLContextFactory when creating InitialContext
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[详细]
2023-04-08 13:49 分类:问答Collections via MXBeans
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[详细]
2023-04-07 05:39 分类:问答