Maybe this helps...

  |       TreeCache _cache = new TreeCache();
  |        // .... initialise the TreeCache.
  |       Context ctx = new InitialContext();
  |       MBeanServer server = null;
  |       // Retrieve a reference to the MBeanServer
  |       server = (MBeanServer) ctx.lookup(" weblogic.management.server");
  |       // alternative Bea Weblogic Calls.
  |       // MBeanHome localHome = (MBeanHome) 
Helper.getAdminMBeanHome("username", "password", "url"); 
//e.g.url="t3://localhost:7001"
  |       // server = localHome.getMBeanServer();
  |       ObjectName name = new 
ObjectName("mydomain:Name=org.jboss.cache,Type=TreeCache,Location=myserver");
  |       server.registerMBean(_cache, name);

Than you can view the MBean with
http://www.jmanage.org/

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941025#3941025

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941025


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to