add event listeners to monitor jersey applications