[jboss-user] [JMX] - Re: JNDI lookup for all the mbeans in JBoss

PeterJ do-not-reply at jboss.com
Mon Oct 19 17:10:23 EDT 2009


When you deploy a *-ds.xml files to define a data source connection, JBoss AS creates 4 (or 5) MBeans for the data source. I looked at all of those MBeans but could not see the connection URL in any of them. So digging through the MBeans to find that information will not work.

The MBeans for a web application will not tell you which data source(s) that web app is using, such information is not kept within the metadata for the application because ti could connect to any data source and there is no need to tell JBoss AS beforehand which data source it will use.

On the other hand, I could just be misunderstanding your question...

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

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



More information about the jboss-user mailing list