This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes managing session Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "managing session" Watch "managing session" New topic
Author

managing session

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 309
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


SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026
I don't think you can do that declaratively.


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 309
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

Joined: Nov 24, 2005
Posts: 14685
    
  16

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.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: managing session
 
Similar Threads
hibernate session
Track of no. of objects at runtime
Sessions
session getLastAccessTime()
Session Object