Giter Club home page Giter Club logo

alfresco-jmx's Introduction

#Alfresco JMX from Loftux AB

Brings powerful JMX capabilities to your Alfresco installation (Administrators) and custom modules (Developers).

###Why?

JMX (Java Management eXtensions) capabilities have been previously only available to Alfresco Enterprise installations. This module brings JMX to Alfresco Community edition installations, including installations of LXCommunity ECM.

The existing JMX implementation available with Alfresco Enterprise is based on a proprietary implementation of JMX related beans. Since then, Spring framework has included built-in support for adding annotations to make it easier to develop and build JMX resource and operation exporting beans.

Compared to the existing implementation, this module is modern and open source. It is also a way of encouraging community contribution towards a scalable and stable infrastructure for everyone who has chosen Alfresco, whether it is Enterprise or Community.

###Installation

  • Download the source or checkout the project using git clone.
  • Package using mvn package and deploy the resulting AMP file in your Alfresco.

###Current Status Currently the module exposes the ability to receive user count and group count using JMX. This is a intended as a basic demonstration of how JMX resources can be exposed.

###Proposed Features The following features are to be added to the module. If you have are willing, go ahead and create them.

  • Adding more statistics providers
  • Adding support for modifying system properties and properties defined using alfresco-global.properties
  • Adding support for changing Log4J and logging related properties
  • Adding support for manual scheduler invocations

###Configuration

You can use the standard JMX configuration properties according to official Alfresco documentation.

###Extending Capabilities for Developers If you are building an Alfresco extension module, add Alfresco JMX as a dependency. This allows you to use powerful annotations from Spring framework, such as @ManagedResource, @ManagedOperation, @ManagedAttribute within your code. See the existing beans defined within the source of this module for reference.

###Providing more JMX Resources/Operations If you want to provide more information and operations through JMX, you can contribute to the development of this module.

###Trying out the module with JMX Console

  1. To try the module, start the server by running run.sh and then open JConsole or JVisualVM.

  2. Use the following settings to connect to the JVM JMX instance and replace variables as necessary. service:jmx:rmi:///jndi/rmi://<hostname>:50500/alfresco/jmxrmi
    username: jmxViewRole password: change_asap

###Open Source This module is an important step in bringing the best features to Alfresco Community edition. This will remain open source.

###Contributing Create a fork of this project and make pull requests as you see fit. They will be merged and made available to everyone who are using this module.

###Author

alfresco-jmx's People

Contributors

bhagyas avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.