Thursday, August 12, 2010

Alfresco : JMX

JMX means Java Management Extensions (JMX) Technology

                                           The JMX technology provides the tools for building distributed, Web-based, modular and dynamic solutions for managing and monitoring devices, applications, and service-driven networks. By design, this standard is suitable for adapting legacy systems, implementing new management and monitoring solutions, and plugging into those of the future.

JMX in Alfresco
                        By default, system administrators can reconfigure Alfresco by shutting down the server, editing certain property and configuration files and then restarting the server. However, there are certain support operations that System Administrators would like to perform on-demand at runtime without needing to restart the server. For example, it should be possible to temporarily change log levels in order to debug and/or troubleshoot a live system.
                          In addition, as an Enterprise Only feature, Alfresco contains various subsystems that may be configured and restarted without needing to restart the entire alfresco repository.

In order to open JMX 

Step1: Start Alfresco

Step2:Go  C:\Program Files (x86)\Java\jdk1.6.0_18\bin ,(i.e., /bin/jconsole. ) double click on jconsole.exe this will open screen like as follows.

             select Local Process and enter 
                        JMX Username: controlRole
                        JMX Password: change_asap  and then click on Connect.





then select Bean you can made change as you like the window will like follows.



The best way to tell what all of your properties are is to hit: 
                    http://localhost:8080/alfresco/faces/jsp/admin/jmx-dumper.jsp