aspose file tools
The moose likes Tomcat and the fly likes Tomcat Event Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat Event Problem" Watch "Tomcat Event Problem" New topic
Author

Tomcat Event Problem

sanjeevkr tarar
Greenhorn

Joined: Mar 25, 2008
Posts: 4
Hello All,

I have done tomcat clustering using Apache.and in my web application i have an HttpListener Class in which i am updating database for user log out when session timeout.

when one of tomcat instance in clustering is down then it's session value is replicated to others and user do work properly.

Now My problem is when i shut down one of cluster instance then it call the Listener Class and updates the Database and marks the user as logout....

I do not want to call the listener class OR how can i know that tomcat is shut down e.g. any event that i can get so that i will not update database.


Please give your valuable ideas.....


Thanks,
Sanjeev
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat Event Problem
 
Similar Threads
WebLogic 9.2 clustering problem
connection refused on tomcat web server
Platform Independent Command Line
Restricting multiple logins
WAS Clustering: serialization/deserialization