• 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

MXBean question in regards to tomcat

Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have written a small utility to fetch information from tomcat in regards to sessions. The utility will send email if we go above certain thresholds. The problem I have is the number and I can figure out why the numbers show like the show:

This is the explanation about the data taken from jconsole:

Active sessions: Number of sessions at this moment
Total sessions: Total number of sessions created by this manager
Expired sessions: Number of sessions that expired (Does not include explicit invalidations)

These are our number:

Number of active session are: 63
Number of total sessions are: 1357
Number of expired sessions are: 2756

Why are the expired sessions more than the total sessions?

Any ideas?

We are running 2 app servers with a load balancer.
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic