• 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Performance of J2EE App in PRODUCTION  RSS feed

 
Ranch Hand
Posts: 364
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: 4868
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: 4868
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!