mbean专题

Hibernate Tip: 使用JBOSS MBEAN时,Session会在事务提交后自动关闭!

做了一个hibernate app,相关代码如下: -------------------------------------VoteServiceImpl.classpublic class VoteServiceImpl{ Session session; 。。。。 public void closeSession(){ session.close();}  public void del

警告处理 A C3P0Registry mbean is already registered. This probably means that an application using c3p.

遇到完整的警告信息如下: WARN 2010-11-06 19:04:37,270 A C3P0Registry mbean is already registered. This probably means that an application using c3p0 was undeployed, but not all PooledDataSources were closed pr

Drools 7 JMX Mbean 及Metric 分析

Mbean mbean的打开很简单,使用jmx启动参数: -Dcom.sun.management.jmxremote.port=9999 -Ddrools.mbeans=enabled -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false 但通过

利用JBossMX开发标准MBean(经典!转)

原文(http://www.ebook520.com/showbooktext.asp?id=2090&backcolor=E7F4FE&backsize=15)   JBoss 服务器是建立在 JBoss 的 JMX 实现工具( JBossMX )基础上的,访问 JBoss 网站( http://www.jboss.org )可以下载到独立的 JBoss JMX 实现工具软件包 。将下载到的