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

2009-10-11 Thread prashanthkasulabadha
Hi Peter

Yes Database connection for all the instances.
Say a.war can connect to 123 machine and b.war can connect to 456 machine, I 
need all the war files connection string.

Can we get them?
Any entries in xml files needed for this. If any entries needed then it cannot 
be a dynamic way of fetching all the Mbeans, rather it will be only static way.

Thanks
Prashantgh

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259782
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-10-05 Thread prashanthkasulabadha
Thanks Peter

I am not sure about this lookup, will it fetch all the mbeans.

I also found jmx/invoker/HttpAdaptor which also gets some MBeans but I am not 
sure whether both fetch the same MBeans.

It could be better if I can know the list of all the lookup strings available 
so that I can get maximum number of MBeans info.

Other queries of mine are
1. How to get the connection string from the server 
2. How to get the details of all the instances which are running in the JBoss 
server. (For example I have deployed three wars, a.war,b.war and c.war, I need 
the information of all the applications(war) like database connection string, 
application name, driver, connection type etc.. )

It could be very grateful if I can get any inormation for the above queries if 
not the whole info.

Thanks in advance
Prashanth

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258789
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-10-05 Thread prashanthkasulabadha
Hi

Is there any option in JBoss to do a JNDILookup for the MBeanServer and get all 
the mbeans information which could be similar to getting all the mbeans in 
weblogic like the below code.

MBeanHome mbeanHome = null;
try {
... // Same as earlier example

mbeanHome =(MBeanHome)
ctx.lookup("weblogic.management.adminhome");
}
catch (NamingException ne) { ... } 

Thanks in advance
Prashanth


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258670
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user