Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application running in Glassfish v2.1 which does not have access to the outside world, so I cannot use Google Analytics or something else that has to phone home. It needs to be local to our server.

I want to be able to measure:

  • page load times
  • form submission
  • page usage statistics (eg using page X, Y more often than Z)

Again this has to be local to my application server and can't 'phone home' to a central system.

Are there any options or add-ons for Glassfish which will help me collect usage statistics?

Are there any lightweight local analyitics packages that I could use?

Glassfish sits behind Apache, are there any tools that apache provides to help with this?

share|improve this question
Other than the fact that Awstats doesn't provide page load times / form submission-statistics - I don't understand why you couldn't use it. It uses Apache's logfiles as an input. – Kvisle Oct 19 '11 at 19:27
Edited. AWStats was a bad example – Freiheit Oct 19 '11 at 21:39
up vote 2 down vote accepted

javamelody - it works inside the applications, you have to add at least one filter to the web.xml.

share|improve this answer
JavaMelody isn't perfect, but its damn good. Took like 15 minutes to set up and gives us enough data to know where to focus our efforts. Enjoy your bounty! – Freiheit Oct 25 '11 at 18:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.