aspose file tools*
The moose likes JBoss/WildFly and the fly likes jmx remote Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jmx remote" Watch "jmx remote" New topic
Author

jmx remote

vignesh Thamarai
Ranch Hand

Joined: Mar 10, 2009
Posts: 31
i hav some questions,


1.) how to access jboss mbeanserver thru jmx remote ? please give some articles reated to that.

2.) how jconsole remotely monitor jboss application server without deploy any war/sar/ear file ?

Kees Jan Koster
JavaMonitor Support
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
Dear vignesh,

ad 1) http://java-monitor.com/forum/showthread.php?t=1 and follow the link to JBoss.

ad 2) You can use JBoss' built-in JMX console. It is not very useful for monitoring, but it allows monitoring tools to hook up relatively easily.

When you say 'monitoring', what do you need?


Java-monitor, JVM monitoring made easy <- right here on Java Ranch
vignesh Thamarai
Ranch Hand

Joined: Mar 10, 2009
Posts: 31
thanks for reply my friend

iam currently undergone a project titled as "Monitoing Jboss Application server", i had already devoloped a web application to monitor jboss in remote systems.my application deploy a war file in remote systems and
monitor dynamically changing values in jboss such as FreeMemory,ActiveThreads and Classes Loaded. and Display in the form of graphs and charts. here iam using jfreechart to create graphs. now i hav some issues. They are

1.) if my client accidentally delete my war file , my application won`t work.

2.) Deploying war file in Client systems make some security issue, so iam unable to do

is it any other way to monitor jboss without deploy war file?

please give some articles how to access jmx console thru jmx.



Kees Jan Koster
JavaMonitor Support
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
Dear vignesh,

Your client will not accidently delete your WAR, if you explain what it is for and why it is important to be there.

I do not see how a WAR inherently creates security issues. If the code in the WAR is secure and well-reviewed there is no security issue.

You can find JBoss JMX information using Google.
vignesh Thamarai
Ranch Hand

Joined: Mar 10, 2009
Posts: 31
thanks for reply kester

That war file contain compiled classes and xml files, they can send http requests to jboss mbeanserver thru rmi and get mbean attributes.

now i hav some issues, my client didn`t want (or) won`t allow to deploy or drop any file in his system. My problem is my application primarly depend on that war file . Without that war file iam unable to monitor.
vignesh Thamarai
Ranch Hand

Joined: Mar 10, 2009
Posts: 31
hi kester,

The main security issue is

i dont hav any such access like by deploying my war file in client systems, my requirement is monitor jboss without deploy any war file in remote or client system?

is it possible to monitor jboss without deploy any war file ? i googled it but i cant find any article . Please help me to solve my

problem.

Kees Jan Koster
JavaMonitor Support
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
Dear Vignesh,

You can't. If your client does not allow you to monitor the application, you cannot monitor it. So if your client would rather have an unmonitored, untunable, but hyper-secure system he will get it.

Security is not an all-or-nothing proposition. Some security constraints have to be relaxed in order for required functionality to be possible. If you cannot negotiate about the security, your client will not get a monitored system. It is that simple.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: jmx remote