Alfresco Services Public Java APIs


Public Java API services The Public Java API provides access to Alfresco through a number of services that are exposed. These services are accessed via a single point of access – the Service Registry. This information provides an overview of the services exposed by the Public Java API. The following table summarizes the main services…

Using Nagios 4 to monitor Alfresco Server


This article shows how to setup Nagios/Icinga Java plugin to check via JMX values to Alfresco Enterprise 3.2 and above. It contains 39 checks and supports performance data to graph results of checks with pnp4nagios. The ones not Alfresco EE – JMX layer specific, but Tomcat, for example: – check_jmx connections to Tomcat variables (File…

Install Nagios 4 and Monitor Your Servers on Ubuntu 14.04


Nagios is useful for keeping an inventory of your servers, and making sure your critical services are up and running. Using a monitoring system, like Nagios, is an essential tool for any production server environment. Nagios Remote Plugin Executor (NRPE), that will be installed as an agent on remote hosts, to monitor their local resources.…

Install Apache 2 on Ubuntu


What is Apache? Apache is the most popular web server on the internet. It is used to serve more than half of all active websites. Although there are many viable web servers that will serve your content, it is helpful to understand how Apache works because of its ubiquity. In this article, we will examine…

Install Chrome on Ubuntu 14.04

google-chrome-stable is available on 3rd Party Repository: Google Chrome (For Stable).   Follow the instruction for installation: Add Key: wget -q -O – | sudo apt-key add – Set repository: sudo sh -c ‘echo “deb [arch=amd64] stable main” >> /etc/apt/sources.list.d/google.list’ Install package: sudo apt-get update sudo apt-get install google-chrome-stable References: xrdp Source:

Java tips – Avoiding null checks in java


One of the worst nightmares for java developers ( from junior to experts ) is null object reference checking. I’m pretty sure you have seen several times code like this public void addAddressToCustomer(Customer customer, Address newAddress){ if ( cutomer == null || newAddress == null) return; if ( customer.getAddresses() == null ){ customer.setAddresses ( new…

MySQL – Enable Logs


In mysql we need to see often 3 logs which are mostly needed during any project development. The Error Log. It contains information about errors that occur while the server is running (also server start and stop) The General Query Log. This is a general record of what mysqld is doing (connect, disconnect, queries) The…