Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

managing session

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i track the status of session objects in tomcat (non-programatically) container. and how i can track the number of session objects.

thnx in adnvace
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you can do that declaratively.
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you please help me with some sample code.............i was wondering if it is possible to do it declaratively, since sessions objects are creatd dynamically and i guess we cannot have entry of dynamic object in web.xml .

pls comment
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may be able to track session objects with JBoss's JMX Console.
I don't know if you can use this under Tomcat standalone.

There's something about Tomcat Monitoring with JMX at Tomcat's homepage,
like accessing session attributes.

Take a deep breath and have look here. It seems quite advanced.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic