Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Performance of J2EE App in PRODUCTION  RSS feed

 
Ranch Hand
Posts: 310
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand there are some tools like VisualVM, JConsole etc. to monitor the performance of J2EE apps. Could you please suggest which tool is best suitable to monitor the apps in Production environment i.e. secure enough. We would like to monitor GC Activities, Memory Usage, CPU Utilization etc.
 
Saloon Keeper
Posts: 4678
117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
VisualVM does everything JConcole does, and much more, so the latter is not much of an option. The first drawback is that it requires the JMX ports to be open, which may or may not be an issue for you. The bigger drawback is that it's a GUI tool, so it requires someone to spend time using it. Don't get me wrong, it's a great tool, but for continuous monitoring you need something automated. https://github.com/psi-probe/psi-probe is another tool I like for monitoring servlet containers (and which I use in production).

For automation you could create background jobs that use JMX to gather relevant data, and which trigger emails, SMS and/or other alerts as warranted.

BTW, J2EE is a VERY outdated name, it's been called JEE since version 5 came out in 2006 - 12 years ago!
 
Ranch Hand
Posts: 52
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JFR is an alternative solution here
 
Tim Moores
Saloon Keeper
Posts: 4678
117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

JFR


Do you mean http://www.oracle.com/technetwork/java/javaseproducts/mission-control/java-mission-control-1998576.html? I think those require licenses from Oracle to use, no?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!