From: iwadasn <nu...@jb...> - 2005-06-20 20:17:45
|
Was this ever put in? Does it exist in 4.0.2? If so, how do you turn this on. I would like to see the standard java JMX beans in the jmx-console. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882184#3882184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882184 |
From: <ad...@jb...> - 2005-06-20 20:29:21
|
This is the design forums. If you want to ask for help, use the user forums!!!! If you want to know what is in a release, use the release notes. The JBoss forums are not a mechanism whereby you can get every frivilous question answered without doing some research for yourself. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882186#3882186 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882186 |
From: <ad...@jb...> - 2005-07-15 17:11:22
|
Following up on http://jira.jboss.com/jira/browse/JBAS-1610 The issue is that to start the agent for jconsole "-Dcom.sun.management.jmxremote" we must have JBossJMX in the CLASSPATH rather than having ServerImpl setup the system properties and classloader. We cannot use Sun's MBeanServer because 1) We cannot plugin our UnifiedLoaderRepository 2) It does not do MBean context classloading 3) It is slow for Standard/ModelMBean (see the performance tests in the jmx module) In fact when we did use Sun's MBeanServer in 2.4.x we had to implement performance critical mbeans like the EJBContainer using DynamicMBeans. Other alternatives: 1) Write a listener for MBeanRegistration events that creates proxies from the platform mbean server to the JBoss MBeanServer (a poor man's cascading MBeanServer) 2) Deploy a jmx remote connector in JBoss's MBeanServer and use the remote tab to connect to it from jconsole (including adding the platform XMBeans to JBoss's MBeanServer). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885071#3885071 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885071 |
From: <ad...@jb...> - 2005-07-15 17:19:01
|
Or Scott's alternative LazyMBeanServer. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMBeansInJConsole that delegates to JBoss's MBeanServer (when it is available) for non platform XMBeans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885072#3885072 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885072 |
From: <sco...@jb...> - 2005-07-15 17:41:16
|
I think a new jmx remote connector is what we really need, because even with the current workaround, there are still the problems of accessing objects that are not really designed for remote access. We need a flexible connector that can be configured for remote class loading and even custom serialization/object replacement of non-remotable objects. I would have looked at this first but I was not sure how far Tom has gotten with the current implementation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885074#3885074 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885074 |
From: <ad...@jb...> - 2005-07-15 18:08:25
|
We might be able to do something with the extension points http://java.sun.com/j2se/1.5.0/docs/api/javax/management/remote/JMXConnectorServer.html#setMBeanServerForwarder(javax.management.remote.MBeanServerForwarder) or jmx.remote.protocol.provider.class.loader http://java.sun.com/j2se/1.5.0/docs/api/javax/management/remote/JMXConnectorServerFactory.html I'm not that familiar with JSR160 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885079#3885079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885079 |
From: <dim...@jb...> - 2005-07-19 08:22:09
|
Another workaround I was using, is to explicitly set the jboss classpath and the mbeanserver builder in a batch file (like what Main and ServerLoader would do), so only one mbeanserver gets created (the platform one). I've added that as a subtask to the case: http://jira.jboss.com/jira/browse/JBAS-2028 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885420#3885420 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885420 |