Bookmark Topic Watch Topic
  • New Topic

How to get no. of active sessions in tomcat??  RSS feed

 
jeff marsh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

As I am working on monitoring related requirement, I need to get no. Of active sessions,sessions created, etc.

I found interesting code in ManagerServlet, As it has some protected methods, I cant call it from its object, I need to create servlet for my work, So I even can't extend ManagerServlet, So I've created one POJO for that, But now I need to populte the context and many other objects,

Is there any other way out for this?,

I really appriciate any kind of help. :-)

-Jeff
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Report post to moderator
You're asking this, really, in the wrong spot - you might better try the Apache/Tomcat forum rather than a forum on EJBs. (If, at the very least, because Tomcat doesn't handle EJBs since it's just a web container....)
 
jeff marsh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thanks for your suggstion,

Sorry for any of the inconvience.

-Jeff
 
Vinay Raj
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Report post to moderator
Refer the following link for Tomcat session statistics
Tomcat Session Statistics Link

Same concept applies to Tomcat 5.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Jeff, I am closing this duplicate thread now that you have one in the correct Tomcat forum. You can always delete a thread that you start by editing the first post and clicking the Delete check box.

Thanks

Mark
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!