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 for any
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
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
-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 same
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
:
http://old.nabble.com/HttpSessionListener-sessionDestroyed-only-called-once-for-sessionID-tp26291791p26292441.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
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 archive at Nabble.com
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
HTTPSessionListener when
this is 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/tomcat-6.0-doc
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/tomcat-6.0-doc/config/cluster-manager.html
Filip
/HttpSessionListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260
org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
com.nimbuzz.webx.jee.UserSessionListener
java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener
at java.lang.ClassLoader.defineClass1(Native Method
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-api.jar in your
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.jar
-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
it then resets to null
*/
package tcsi.webcvws.services.web;
import javax.servlet.*;
import javax.servlet.http.*;
public class CandidateSessionListener implements HttpSessionListener {
private static String expiredList = null;
public CandidateSessionListener() {
System.out.println
-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.
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 servlet /servlet section, another
Class is deployed in the listener/listener section that implements
HttpSessionListener
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
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 you
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 object if
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 can use static fields
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(HttpSessionEvent e
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 one was asking for cross
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
listener in my web.xml.
My listener class only sets a object in the session
(getSession().getAttribute(k, kk)), but when I try to recover
contents
- Original Message -
From: Juanjo Cuadrado [EMAIL PROTECTED]
To: users@tomcat.apache.org
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
listener class
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);
}
...
In my web.xml I
PROTECTED] 11/10/2006 16:27
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 ) end the end, otherwise your
code
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 Containers
29 matches
Mail list logo