Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread mauroS
>What do you mean "different hash"? the hasCode of the java object >So, the sessionDestroyed method is called, yet the session appears to >continue to live and be accessible? Yikes I have HttpSessionObj1 with ID 1 and hash A HttpSessionObj2 with ID 1 and hash B A is destroyed B is ne

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread mauroS
>"Request the war file"? That sounds, well, a little imprecise, what >*exactly* are you requesting? I request with a browser the doGet method of a servlet, inside the toGet I call "request.getSession(true);" >They're in different classloaders, (assuming you mean .hashCode()), so >that's expec

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread Pid
On 10/11/2009 21:44, mauroS wrote: hello, I run jbossweb-tomcat55.sar inside jboss-4.0.5.CR1 I have one EAR file with two WAR files inside. I added HttpSessionListener in web.xml to both wars. If I request both war files from the same browser "Request the war file"? That sounds, well, a l

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mauro, On 11/10/2009 4:44 PM, mauroS wrote: > I run jbossweb-tomcat55.sar inside jboss-4.0.5.CR1 > > I have one EAR file with two WAR files inside. > > I added HttpSessionListener in web.xml to both wars. > > If I request both war files from the sa

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread André Warnier
mauroS wrote: hello, I run jbossweb-tomcat55.sar inside jboss-4.0.5.CR1 I have one EAR file with two WAR files inside. I added HttpSessionListener in web.xml to both wars. If I request both war files from the same browser I have two HttpSession objects with different hash but with the same se

Re: HttpSessionListener session listener in tomcat cluster

2008-07-31 Thread Filip Hanik - Dev Lists
not at all, it just mean your HttpSessionListeners and HttpSessionAttributeListeners wont be invoked on the other servers also, you could work around the problems in another way, track logins differently Filip Pavan Singaraju wrote: If we set the "notifyListenersOnReplication" to false, will

Re: HttpSessionListener session listener in tomcat cluster

2008-07-30 Thread Pavan Singaraju
If we set the "notifyListenersOnReplication" to false, will it not cause problem if there is a load balancer at work? -- Pavan Kumar Singaraju On Wed, Jul 30, 2008 at 6:59 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED] > wrote: > Madonesa sanjaya wrote: > >> Hi, >> I have deployed my application

Re: HttpSessionListener session listener in tomcat cluster

2008-07-30 Thread Filip Hanik - Dev Lists
Madonesa sanjaya wrote: Hi, I have deployed my application on a clustered environment and used session created event to monitor the number of users login to each machine (Using SNMP MIB counters). But once a user is login to one machine counter gets updated in every machine. I believe this is du

Re: HttpSessionListener

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashok, OFFICIAL WEBSITE wrote: > I had attached web.xml with th previous mail. It did not come through. > Nevertheless, I am attaching source code of listener and the web.xml > file. The code looks fine (but strange). Are you even seeing "Candidate

Re: HttpSessionListener

2007-09-05 Thread OFFICIAL WEBSITE
I had attached web.xml with th previous mail. Nevertheless, I am attaching source code of listener and the web.xml file. Grateful if you can spot and informme of errors. Thanks ASW On Tue, 2007-09-04 at 16:38 -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >

Re: HttpSessionListener

2007-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashok, OFFICIAL WEBSITE wrote: > 3. Problem. The listener class does not report sessionCreate and > sessionDestroy. It responds perfectly to all other types of event > listeners. The servlet class, of course, reports each HttpRequest as > they come in

Re: HttpSessionListener with session replication (cluster)

2006-10-23 Thread Filip Hanik - Dev Lists
this would be pretty easy for you to try out and find out. there is a flag you can set "notifySessionListenersOnReplication" Filip Pascal Bleser wrote: What happens when a HttpSession times out in a cluster, wrt HttpSessionListeners ? Will the HttpSessionListener be notified with a HttpSession