- Joined
- Aug 20, 2007
- Messages
- 3
- Reaction score
- 0
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
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