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
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
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.
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
-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
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
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
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
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
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/
. Is
there any way to gets a count of logins to each machine using
HTTPSessionListener when the session replication is enabled.
Thnx,
Sanjaya.
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
> 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-
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
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
-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
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
-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 section, another
Class is deployed in the section that implements
HttpSessionListener (and all other listeners too) and
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
> 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
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
> 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
"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
> 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
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
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
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 ")"
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");
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
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
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
32 matches
Mail list logo