This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes tomcat monitor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat monitor" Watch "tomcat monitor" New topic
Author

tomcat monitor

gana rajan
Greenhorn

Joined: Feb 13, 2012
Posts: 16
can someone please suggest me an open source which able to detect the active http session or active user in tomcat? and give notification when the server is going to disconnect.
i've tried javamelody,lambdaprobe,messadmin, session monitor, jamon, and dynamicselectlist.

messadmin was good open source. but, when i install and tried to use. it's not working as they didnt provide full installation guide.
javamelody did not show any active http session at all.
lamdaprobe: it did not record the active session.

please someone help me. i've been in this for weeks. i need to finish by tomorrow. please.

thanks in advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41128
    
  45
PSI-Probe has the number of sessions; it's a newer version of LambdaProbe.


Ping & DNS - my free Android networking tools app
gana rajan
Greenhorn

Joined: Feb 13, 2012
Posts: 16
i'm using version 2.3.1.
where i can find the number of session?
gana rajan
Greenhorn

Joined: Feb 13, 2012
Posts: 16
thanks in advance
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

"Disconnect" is technically incorrect. HTTP disconnects after each and every HTTP[S] request/response cycle (page or AJAX request). The HttpSession object gives the illusion of a continuous connection by maintaining an identity and a context that can be passed back and forth between client and server on successive request cycles. However, the web is not true client/server, and there's no application code executing when a request is not actively being processed, except where independent disconnected threads were spawned. Which is outside of this topic.

A user session ends when either the application explicitly requests it (session.invalidate()) or when no request has been made for that session within the webapp-configured timeout period. Since there's no client connection to break, the actual destruction of the session would then occur whenever the server found it convenient, rather than being guaranteed to happen exactly at the expiration of the session period.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat monitor
 
Similar Threads
Internet Explorer expires session when sent from secure to non secure page
Error in Applet Viewing - Rules RoundUp Game
Can not start Tomcat 5.0 with Windows Vista
Need a good Thread Dump Analyzer
Problems disabling Session Persistence Manager in Tomcat