Results 1 to 4 of 4

Thread: Tomcat Problem

  1. #1
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default Tomcat Problem

    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

  2. #2
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    Any idea about this.............

  3. #3
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    any idea about : How to track events in Tomcat..like shutdown

  4. #4
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    not want to call SessionListener when tomcat shutdown.

    any idea.......

Similar Threads

  1. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 11:33 AM
  2. New to JSF, simple problem with Eclispe and Tomcat
    By nibeck in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-16-2007, 06:53 PM
  3. tomcat problem
    By osval in forum New To Java
    Replies: 2
    Last Post: 07-29-2007, 09:13 PM
  4. Tomcat problem
    By Peter in forum Advanced Java
    Replies: 2
    Last Post: 06-29-2007, 11:43 AM
  5. Problem with tomcat and jboss
    By Alan in forum Eclipse
    Replies: 3
    Last Post: 05-08-2007, 07:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •