JAASRealm does not trigger HttpSessionListener events

2016-03-21 Thread Scott, Shannon
s not work). I am trying to use a HttpSessionListener with the JAAS Login Module, but the sessionCreated, and sessionDestroyed methods are never triggered. Is that intentional? Are there other ways a session could be created without triggering the HttpSessionListener? Thank you in advance fo

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread mauroS
A is destroyed B is never destroyed and is accessible . -- View this message in context: http://old.nabble.com/HttpSessionListener-sessionDestroyed-only-called-once-for-sessionID-tp26291791p26292526.html Sent from the Tomcat - User mailing list ar

Re: HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread mauroS
on is created -> the old not destroyed one is used ! -- View this message in context: http://old.nabble.com/HttpSessionListener-sessionDestroyed-only-called-once-for-sessionID-tp26291791p26292441.html Sent from the Tomcat - User mailing list archive at Nabble.com.

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 sound

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 bo

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

HttpSessionListener sessionDestroyed only called once for sessionID

2009-11-10 Thread mauroS
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 sessionID. That

Re: HttpSessionListener session listener in tomcat cluster

2008-07-31 Thread Filip Hanik - Dev Lists
ssion 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 due to session replication. Is there any way to gets a count of logins to each machine using HTTPSe

Re: HttpSessionListener session listener in tomcat cluster

2008-07-30 Thread Pavan Singaraju
s due to session replication. Is >> there any way to gets a count of logins to each machine using >> HTTPSessionListener when the session replication is enabled. >> >> Thnx, >> Sanjaya. >> >> >> > > there is a setting called "|notify

Re: HttpSessionListener session listener in tomcat cluster

2008-07-30 Thread Filip Hanik - Dev Lists
due to session replication. Is there any way to gets a count of logins to each machine using HTTPSessionListener when the session replication is enabled. Thnx, Sanjaya. there is a setting called "|notifyListenersOnReplication" you can set to true of false http://tomcat.apache.org/

HttpSessionListener session listener in tomcat cluster

2008-07-29 Thread Madonesa sanjaya
. Is there any way to gets a count of logins to each machine using HTTPSessionListener when the session replication is enabled. Thnx, Sanjaya.

Re: class loading problem: NoClassDefFoundError: javax/servlet/http/HttpSessionListener

2007-11-22 Thread Giancarlo Frison
Absolutely no. The WEB-INF/lib contains: commons-codec-1.3.jarcommons-httpclient-3.1-rc1.jar jta.jar quartz-all-1.6.0.jar stringtree-json-2.0.5.jar commons-collections-3.2.jar commons-logging.jar log4j-1.2.14.jar spring.jarxmlpull.jarxp

RE: class loading problem: NoClassDefFoundError: javax/servlet/http/HttpSessionListener

2007-11-22 Thread Caldarale, Charles R
> From: Giancarlo Frison [mailto:[EMAIL PROTECTED] > Subject: class loading problem: NoClassDefFoundError: > javax/servlet/http/HttpSessionListener > > java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener The above is frequently caused by having the servlet-

Re: class loading problem: NoClassDefFoundError: javax/servlet/http/HttpSessionListener

2007-11-22 Thread Pid
s/localhost* as > > SEVERE: Skipped installing application listeners due to previous error(s) > Nov 22, 2007 3:09:53 PM org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Error configuring application listener of class > com.nimbuzz.webx.jee.UserSessionListener

class loading problem: NoClassDefFoundError: javax/servlet/http/HttpSessionListener

2007-11-22 Thread Giancarlo Frison
erSessionListener java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.j

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
te JSP, as configures int web.xml * It makes a list of sessions that have expired (or null) if none * Has a method to return the list to CandidateJSP, which list it then resets to null */ package tcsi.webcvws.services.web; import javax.servlet.*; import javax.servlet.http.*; public class

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

HttpSessionListener

2007-08-30 Thread OFFICIAL WEBSITE
1. Aim: To display online the status of each incoming HttpSession 2. Design used: In webapps/myapplication/WEB-INF/web.xml, along with the servlet application deployed in section, another Class is deployed in the section that implements HttpSessionListener (and all other listeners too) and

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 notif

RE: Problem with HttpSessionListener

2006-10-13 Thread Caldarale, Charles R
> From: José Roberto Motta Garcia [mailto:[EMAIL PROTECTED] > Subject: Re: Problem with HttpSessionListener > > Do you mean a servlet? No, just Java classes. > Wouldn't every app instantiate its own > object if this class is a simple one? Only if they do a new; you ca

Re: Problem with HttpSessionListener

2006-10-13 Thread José Roberto Motta Garcia
Hi chuck, do u know how to do that? It's what I'm trying to >> do, to get a cross-app scope for customized management. >> > If all you need are objects common to all web apps, classes placed in > shared/lib will suffice. > Do you mean a servlet? Wouldn't every app instantiate its own objec

RE: Problem with HttpSessionListener

2006-10-13 Thread Caldarale, Charles R
> From: José Roberto Motta Garcia [mailto:[EMAIL PROTECTED] > Subject: Re: Problem with HttpSessionListener > > "No one was asking for cross-application scoping." > > Hi chuck, do u know how to do that? It's what I'm trying to > do, to get a cross-app

Re: Problem with HttpSessionListener

2006-10-13 Thread José Roberto Motta Garcia
"No one was asking for cross-application scoping." Hi chuck, do u know how to do that? It's what I'm trying to do, to get a cross-app scope for customized management. Tks Jose Roberto > >> the proper way to access your webapps info is >> getServletContext() to get the context first..once

RE: Problem with HttpSessionListener

2006-10-12 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Problem with HttpSessionListener > > Session information is scoped only to the current web > application (ServletContext), so information stored in one > context will not be directly visible in another. No

Re: Problem with HttpSessionListener

2006-10-12 Thread Martin Gainty
11, 2006 10:00 AM Subject: Re: Problem with HttpSessionListener I'm going to try to explain it better, if my English allows me. I have this classe: ... public class HttpTestListener implements HttpSessionListener { public void sessionCreated(HttpSessionEv

Betr.: Re: Problem with HttpSessionListener

2006-10-11 Thread Roel De Nijs
sion and not different ones Roel >>> Christopher Schultz <[EMAIL PROTECTED]> 11/10/2006 16:27 >>> Juan, > public class HttpTestListener implements HttpSessionListener { > >public void sessionCreated(HttpSessionEvent e){ >e.getSession().setAttribute(&qu

Re: Problem with HttpSessionListener

2006-10-11 Thread Christopher Schultz
Juan, > public class HttpTestListener implements HttpSessionListener { > >public void sessionCreated(HttpSessionEvent e){ >e.getSession().setAttribute("test", new String("testValue"); >} Okay. I assume that there's an extra ")"

Re: Problem with HttpSessionListener

2006-10-11 Thread Juanjo Cuadrado
I'm going to try to explain it better, if my English allows me. I have this classe: ... public class HttpTestListener implements HttpSessionListener { public void sessionCreated(HttpSessionEvent e){ e.getSession().setAttribute("test", new String("testValue");

Re: Problem with HttpSessionListener

2006-10-11 Thread Martin Gainty
contents - Original Message - From: "Juanjo Cuadrado" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 11, 2006 8:09 AM Subject: Problem with HttpSessionListener > Hi, > >I'm trying to create a listener in my application. I have created a &g

Problem with HttpSessionListener

2006-10-11 Thread Juanjo Cuadrado
Hi, I'm trying to create a listener in my application. I have created a listener class that implements HttpSessionLister and I have put the element in my web.xml. My listener class only sets a object in the session (getSession().getAttribute("k", "kk")), but when I try to recover this

HttpSessionListener with session replication (cluster)

2006-09-25 Thread Pascal Bleser
What happens when a HttpSession times out in a cluster, wrt HttpSessionListeners ? Will the HttpSessionListener be notified with a HttpSessionEvent on _each_ node or only on the node that decides to destroy the session ? JSR-154 (Servlet 2.4 spec) [1] says: "SRV.10.7 Distributed Containe