• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Performance of J2EE App in PRODUCTION

 
Ranch Hand
Posts: 441
2
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JFR is an alternative solution here
 
Tim Moores
Bartender
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Wanna see my flashlight? How about this tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic