AlfrescoArchive / alfresco-support-tools

Alfresco Support Tools for the Admin Console (Alfresco 4.2.x)
Other
54 stars 17 forks source link

Alfresco Support Tools

This add-on has been designed to work only in Alfresco Enterprise 4.2.x or above using JDK7 and Tomcat7. This provides the Alfresco Admin a set of tools to help troubleshoot performance issues (also tested on Alfresco Enterprise 5.0.x versions has not found any incompatibilities). It does not work on Alfresco Community Edition due the lack of JMX connectivity. From the client side has been tested to work with current versions of Firefox, IE and Chrome only.

Download

It's possible to download all source / binary releases from the Alfresco Artifact repository here.

Also the latest snapshop build can be downloaded from [http://github.com/Alfresco/alfresco-support-tools/releases] (http://github.com/Alfresco/alfresco-support-tools/releases)

Usage with Maven

If you are using Maven you can retrieve the AMP by:

  1. Adding https://artifacts.alfresco.com/nexus/content/groups/public/ repository to your pom.xml
  2. Check what's the latest version available by searching the repository
  3. Adding the following dependency to your POM: (latest version: 1.11 at the time of this writing)

    <dependency>
    <groupId>org.alfresco.support</groupId>
    <artifactId>support-tools</artifactId>
    <version>1.11</version>
    <type>amp</type>
    </dependency>

    NOTE: You can also directly install the AMP in your WAR using the Maven Alfresco SDK, see details here.

Installation

There are two options to install the tools using the AMP: the standard and the hot deploy.

1. Standard

2. Hot-Deploy

This method lets you use the tool without rebooting your application server.

Usage

Go to the URL

http:[host]:[port]/alfresco/s/enterprise/admin/

New scripts will appear under the Support Tools section.

This wiki page explains how to use each one of the tools:

Acknowledgments:

Special thanks to:

Version history

1.0 Initial Working version, some UI adjustments needed
1.1 Code Reviewed and commited to GitHub
1.2 UI improvements by Jamie Allison, added ajax to some webscripts for automation ("Active Sessions")
Changed the general aspect of the "Scheduled Jobs" section, New tabs abd buttons on "Threaddumps"
Automated dist generation with Ant.
1.3. Added filesaver.js to fix the "save all" problem with IE8
1.3.1. Error in build xml caused to distribute jmxlogger library on 2 different locations, fixed
1.4. Added 2 new tools:

License

Copyright (c) 2013, Alfresco Software Ltd. October 2013

Author: Antonio Soler, antonio.soler@alfresco.com

Alfresco is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Alfresco is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. See <http:www.gnu.org/licenses/>.

THIS SOFTWARE IT IS NOT DIRECTLY SUPPORTED OR MAINTAINED BY ALFRESCO LTD. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.