HttpSessionListener not detecting events

Discussion in 'Java' started by Ashok Swaminathan, Aug 20, 2007.

  1. Ashok Swaminathan

    Ashok Swaminathan

    Joined:
    Aug 20, 2007
    Messages:
    3
    In my tomcat based test server for a special purpose, ALL listeners are reporting and behaving perfectly, except that the HttpSesssionListener is not reporting a sessionEvent even though the doPost method in the servlet is doing its job perfectly. No error in code, I can assure you.This test is being conducted locally on the same machine.

    Not sessionCreated not sessionDestroyed.

    Any ideas on why HttpSessionEvent is not generated? Or detected? The web.xml for this application deployed is reproduced below in extract.

    </description>
    <servlet>
    <servlet-name>LoadCandidateJSP</servlet-name>

    <servlet-class>tcsi.webcvws.services.web.LoadCandidateJSP</servlet-class>
    <init-param>
    <param-name>readonly</param-name>
    <param-value>false</param-value>
    </init-param>

    <load-on-startup>1</load-on-startup>

    <session-config>
    <session-timeout>1</session-timeout>
    </session-config>
    </servlet>
    <listener>
    <listener-class>
    tcsi.webcvws.services.web.CandidateSessionListener
    </listener-class>
    </listener>


    Thanks
     
    Ashok Swaminathan, Aug 20, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hicks
    Replies:
    0
    Views:
    834
    Hicks
    Jun 9, 2004
  2. Peter TB Brett

    Detecting window focus events in PyGTK

    Peter TB Brett, Aug 28, 2006, in forum: Python
    Replies:
    0
    Views:
    509
    Peter TB Brett
    Aug 28, 2006
  3. Sean Connery

    Detecting function key events?

    Sean Connery, Dec 11, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    146
    Sean Connery
    Dec 11, 2003
  4. Chris

    Events Events Events Please Help

    Chris, Aug 30, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    418
    Chris
    Aug 30, 2005
  5. stef

    Detecting Text Zoom Events

    stef, Feb 21, 2004, in forum: Javascript
    Replies:
    4
    Views:
    215
    Lasse Reichstein Nielsen
    Feb 21, 2004
Loading...

Share This Page