RE: How to turn off perssitent sessions in Tomcat 4.1?
Hmm, I assume you have read the documentation on this: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/manager.html If so, have you tried leaving the manager element out? HTH - Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 3:26 AM To: tomcat-user@jakarta.apache.org Subject: RE: How to turn off perssitent sessions in Tomcat 4.1? Can any one help me out in this issue? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 11:27 AM To: tomcat-user@jakarta.apache.org Subject: RE: How to turn off perssitent sessions in Tomcat 4.1? I am waiting for a good response. Can any body help me out in this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 6:01 PM To: tomcat-user@jakarta.apache.org Subject: RE: How to turn off perssitent sessions in Tomcat 4.1? Hi Edgar, Thanks for the reply. But I am using Tomcat 4.1.29 and I tried this option (I mean, pathname= in Manager element of server.xml) in Tomcat 4.1.29, which is not successful. Is there any way to turn off session persistence in Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0. In order to avoid the exception we have to make all the objects that is put in session to be serializable, right no?. I am using struts framework. So by default all form beans are serializable and all primitive data types are also serializable. Why Tomcat complains about CoyoteRequestFacade is not serializable? Please clarify my doubts. Advance thanks to all of u !!! -Original Message- From: Edgar Alves [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 5:00 PM To: Tomcat Users List Subject: Re: How to turn off perssitent sessions in Tomcat 4.1? Hi, On Tomcat 5.5 you can turn persistent session loading off by setting the SessionManager pathname attribute to . Hope that helps. -- Edgar Alves [EMAIL PROTECTED] wrote: Hi, I am using Apache+Tomcat 4.1.29 for running my application. When I am restarting Tomcat I am getting persistent session loading exception like this: 2004-03-11 13:52:18 StandardManager[] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.catalina.session.StandardSession.readObject(StandardSession. j ava:1369) I am not using clustering. I want to turn off the session persistence in Tomcat 4.1.29? I have tried so many options with StandardManager in server.xml. But I was not successful. Please help me out in this? Regards AK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail
RE: How to turn off perssitent sessions in Tomcat 4.1?
Can any one help me out in this issue? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 11:27 AM To: tomcat-user@jakarta.apache.org Subject: RE: How to turn off perssitent sessions in Tomcat 4.1? I am waiting for a good response. Can any body help me out in this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 6:01 PM To: tomcat-user@jakarta.apache.org Subject: RE: How to turn off perssitent sessions in Tomcat 4.1? Hi Edgar, Thanks for the reply. But I am using Tomcat 4.1.29 and I tried this option (I mean, pathname= in Manager element of server.xml) in Tomcat 4.1.29, which is not successful. Is there any way to turn off session persistence in Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0. In order to avoid the exception we have to make all the objects that is put in session to be serializable, right no?. I am using struts framework. So by default all form beans are serializable and all primitive data types are also serializable. Why Tomcat complains about CoyoteRequestFacade is not serializable? Please clarify my doubts. Advance thanks to all of u !!! -Original Message- From: Edgar Alves [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 5:00 PM To: Tomcat Users List Subject: Re: How to turn off perssitent sessions in Tomcat 4.1? Hi, On Tomcat 5.5 you can turn persistent session loading off by setting the SessionManager pathname attribute to . Hope that helps. -- Edgar Alves [EMAIL PROTECTED] wrote: Hi, I am using Apache+Tomcat 4.1.29 for running my application. When I am restarting Tomcat I am getting persistent session loading exception like this: 2004-03-11 13:52:18 StandardManager[] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.catalina.session.StandardSession.readObject(StandardSession. j ava:1369) I am not using clustering. I want to turn off the session persistence in Tomcat 4.1.29? I have tried so many options with StandardManager in server.xml. But I was not successful. Please help me out in this? Regards AK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments
Re: How to turn off perssitent sessions in Tomcat 4.1?
Only put objects into the session that are serializable. This is a best practice anyway. Tomcat complains about CoyoteRequestFacade not being serializable because it isn't. If you need data from the request (parameter, attributes etc.) in your session then extract them and put them alone into the session. Or you could simply ignore the error messages at startup. [EMAIL PROTECTED] wrote: Can any one help me out in this issue? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 11:27 AM To: tomcat-user@jakarta.apache.org Subject: RE: How to turn off perssitent sessions in Tomcat 4.1? I am waiting for a good response. Can any body help me out in this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 6:01 PM To: tomcat-user@jakarta.apache.org Subject: RE: How to turn off perssitent sessions in Tomcat 4.1? Hi Edgar, Thanks for the reply. But I am using Tomcat 4.1.29 and I tried this option (I mean, pathname= in Manager element of server.xml) in Tomcat 4.1.29, which is not successful. Is there any way to turn off session persistence in Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0. In order to avoid the exception we have to make all the objects that is put in session to be serializable, right no?. I am using struts framework. So by default all form beans are serializable and all primitive data types are also serializable. Why Tomcat complains about CoyoteRequestFacade is not serializable? Please clarify my doubts. Advance thanks to all of u !!! -Original Message- From: Edgar Alves [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 5:00 PM To: Tomcat Users List Subject: Re: How to turn off perssitent sessions in Tomcat 4.1? Hi, On Tomcat 5.5 you can turn persistent session loading off by setting the SessionManager pathname attribute to . Hope that helps. -- Edgar Alves [EMAIL PROTECTED] wrote: Hi, I am using Apache+Tomcat 4.1.29 for running my application. When I am restarting Tomcat I am getting persistent session loading exception like this: 2004-03-11 13:52:18 StandardManager[] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.catalina.session.StandardSession.readObject(StandardSession. j ava:1369) I am not using clustering. I want to turn off the session persistence in Tomcat 4.1.29? I have tried so many options with StandardManager in server.xml. But I was not successful. Please help me out in this? Regards AK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: How to turn off perssitent sessions in Tomcat 4.1?
I am waiting for a good response. Can any body help me out in this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 6:01 PM To: tomcat-user@jakarta.apache.org Subject: RE: How to turn off perssitent sessions in Tomcat 4.1? Hi Edgar, Thanks for the reply. But I am using Tomcat 4.1.29 and I tried this option (I mean, pathname= in Manager element of server.xml) in Tomcat 4.1.29, which is not successful. Is there any way to turn off session persistence in Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0. In order to avoid the exception we have to make all the objects that is put in session to be serializable, right no?. I am using struts framework. So by default all form beans are serializable and all primitive data types are also serializable. Why Tomcat complains about CoyoteRequestFacade is not serializable? Please clarify my doubts. Advance thanks to all of u !!! -Original Message- From: Edgar Alves [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 5:00 PM To: Tomcat Users List Subject: Re: How to turn off perssitent sessions in Tomcat 4.1? Hi, On Tomcat 5.5 you can turn persistent session loading off by setting the SessionManager pathname attribute to . Hope that helps. -- Edgar Alves [EMAIL PROTECTED] wrote: Hi, I am using Apache+Tomcat 4.1.29 for running my application. When I am restarting Tomcat I am getting persistent session loading exception like this: 2004-03-11 13:52:18 StandardManager[] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.catalina.session.StandardSession.readObject(StandardSession. j ava:1369) I am not using clustering. I want to turn off the session persistence in Tomcat 4.1.29? I have tried so many options with StandardManager in server.xml. But I was not successful. Please help me out in this? Regards AK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to turn off perssitent sessions in Tomcat 4.1?
Hi, I am using Apache+Tomcat 4.1.29 for running my application. When I am restarting Tomcat I am getting persistent session loading exception like this: 2004-03-11 13:52:18 StandardManager[] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.catalina.session.StandardSession.readObject(StandardSession.j ava:1369) I am not using clustering. I want to turn off the session persistence in Tomcat 4.1.29? I have tried so many options with StandardManager in server.xml. But I was not successful. Please help me out in this? Regards AK Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments.
Re: How to turn off perssitent sessions in Tomcat 4.1?
Hi, On Tomcat 5.5 you can turn persistent session loading off by setting the SessionManager pathname attribute to . Hope that helps. -- Edgar Alves [EMAIL PROTECTED] wrote: Hi, I am using Apache+Tomcat 4.1.29 for running my application. When I am restarting Tomcat I am getting persistent session loading exception like this: 2004-03-11 13:52:18 StandardManager[] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.catalina.session.StandardSession.readObject(StandardSession.j ava:1369) I am not using clustering. I want to turn off the session persistence in Tomcat 4.1.29? I have tried so many options with StandardManager in server.xml. But I was not successful. Please help me out in this? Regards AK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to turn off perssitent sessions in Tomcat 4.1?
Hi Edgar, Thanks for the reply. But I am using Tomcat 4.1.29 and I tried this option (I mean, pathname= in Manager element of server.xml) in Tomcat 4.1.29, which is not successful. Is there any way to turn off session persistence in Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0. In order to avoid the exception we have to make all the objects that is put in session to be serializable, right no?. I am using struts framework. So by default all form beans are serializable and all primitive data types are also serializable. Why Tomcat complains about CoyoteRequestFacade is not serializable? Please clarify my doubts. Advance thanks to all of u !!! -Original Message- From: Edgar Alves [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 5:00 PM To: Tomcat Users List Subject: Re: How to turn off perssitent sessions in Tomcat 4.1? Hi, On Tomcat 5.5 you can turn persistent session loading off by setting the SessionManager pathname attribute to . Hope that helps. -- Edgar Alves [EMAIL PROTECTED] wrote: Hi, I am using Apache+Tomcat 4.1.29 for running my application. When I am restarting Tomcat I am getting persistent session loading exception like this: 2004-03-11 13:52:18 StandardManager[] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.coyote.tomcat4.CoyoteRequestFacade at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164 6 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.catalina.session.StandardSession.readObject(StandardSession. j ava:1369) I am not using clustering. I want to turn off the session persistence in Tomcat 4.1.29? I have tried so many options with StandardManager in server.xml. But I was not successful. Please help me out in this? Regards AK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SSL Sessions in Tomcat 5.5.4
Hello, how do I track sessions without using cookies or URL-writing? Following the Servlet API 2.3, the third way to track sessions is by using the SSL-Layer to hold the ID. I have tried that out with my installation (Apache 2.0.47, mod_jk2, Tomcat 5.5.4) and followed the configuration hints about mod_jk and ssl. However, using form-based authentication, the server seems not to save any session id as an attribute, ssl or anything. In Bugzilla there was something about using request.getAttribute(javax.servlet.request.key_size) which would activate another attribute which one should get with request.getAttribute(javax.servlet.request.ssl_session). I tried that out - no effect. Does someone use session tracking under SSL with a similar configuration like mine above? How do you set/access the session id and get hold of the Session (or SSLSession)? Thank you in advance, Oliver Schönwald University of Hagen, Germany - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
User sessions in Tomcat
It there a way to count or view details from all open user sessions in a Tomcat instalation? Any help is welcome. Thanks
Re: User sessions in Tomcat
The Tomcat Manager application shows a session count for each running app. On Friday 21 November 2003 09:26 am, Walter do Valle wrote: It there a way to count or view details from all open user sessions in a Tomcat instalation? Any help is welcome. Thanks -- Ben Souther F.W. Davison Company, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: User sessions in Tomcat
Howdy, You can write any number of HttpSession*Listener listeners to do whatever you want with session. Yoav Shapira Millennium ChemInformatics -Original Message- From: Walter do Valle [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 9:26 AM To: [EMAIL PROTECTED] Subject: User sessions in Tomcat It there a way to count or view details from all open user sessions in a Tomcat instalation? Any help is welcome. Thanks This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: User sessions in Tomcat
And, if you're not trying to do it in code... Tomcat Web Application Manager... ala http://localhost:8080/manager/html gary... From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Fri, 21 Nov 2003 08:53:23 -0500 To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: User sessions in Tomcat Howdy, You can write any number of HttpSession*Listener listeners to do whatever you want with session. Yoav Shapira Millennium ChemInformatics -Original Message- From: Walter do Valle [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 9:26 AM To: [EMAIL PROTECTED] Subject: User sessions in Tomcat It there a way to count or view details from all open user sessions in a Tomcat instalation? Any help is welcome. Thanks This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Your help is still needed ... (RE: Sessions in Tomcat)
Classpathes seem to be ok ... remains the question why every click on a button or link let Tomcat start a new session and putting the following things (pages or, in the case of Struts, actions) into that new session context Help me . - Howdy, Now, please give me a hint ... what am I doing wrong in case of my Tomcat configuration? (It does not seem to be the app, which is running just fine when started inside of the IDE and its implemented Tomcat engine.) When people say it runs fine within an IDE and not by itself, the culprit is usually the classpath. I can't help much more than that, except to say this is why I never run webapps within an IDE. Rather, from the beginning package your webapp as a war and deploy it to the container to be run/tested. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sparen sie sich reich - Werden Sie Premium Mitglied bei freenet.de und erleben Sie eine exklusive aufregende Vorteilswelt! http://www.freenet.de/tipp/premium/vorteile/index.html
RE: Your help is still needed ... (RE: Sessions in Tomcat)
Howdy, Classpathes seem to be ok ... remains the question why every click on a button or link let Tomcat start a new session and putting the following things (pages or, in the case of Struts, actions) into that new session context Help me . I've already helped as much as I can ;) Hopefully other people have different ideas on this issue... Personally, I don't buy that the classpaths are OK, I believe the IDE is at fault, I've never seen the behavior you describe on an out of the box tomcat installation. Can you tell us how to reproduce the problem without an IDE? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Your help is still needed ... (RE: Sessions in Tomcat)
Alright, let's take the number guess example ... every time I push the 'guess' button and the page reloads, there is a new number to be guessed (I checked it through an output) ... and when I take a look at the Web App Tool, I see that there are as many sessions (for this app) running as I pushed the button (+1 for the first call). My conclusion: every click on a button, link, etc. starts a new session and the next page is put into that context. Which would also explain why my Struts app does not work ... the web.xml and/or struts-config.xml isn't known to the app anymore with every new page or action called. Btw, requests work fine. Now, please give me a hint ... what am I doing wrong in case of my Tomcat configuration? (It does not seem to be the app, which is running just fine when started inside of the IDE and its implemented Tomcat engine.) Thanks for any clap on the head, Steph Kimbrough - Howdy, You'll need to provide more information so we can help you ;) Needless to say, the number guess example works properly for nearly everyone ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 11:33 AM To: [EMAIL PROTECTED] Subject: Sessions in Tomcat Hi everybody! In a webapp (Struts/Tomcat) we have the problem, that actions will not be found. Besides that we encountered another more universal problem with Tomcat: A Session is started for each request. So eg in the Number Guess example the Number to be guessed doesn't stay the same and you get very strange lower/higher tips ;-) How comes? Tomcat4.1.18/Struts1.01/SUSELinux8.1 Bye -- -- 60% Onlinekosten sparen! Jetzt Premium Mitglied bei freenet.de werden und mit dem Tarifnavigator guenstiger surfen. http://www.freenet.de/tipp/premium/tarif/index.html
RE: Your help is still needed ... (RE: Sessions in Tomcat)
Howdy, Now, please give me a hint ... what am I doing wrong in case of my Tomcat configuration? (It does not seem to be the app, which is running just fine when started inside of the IDE and its implemented Tomcat engine.) When people say it runs fine within an IDE and not by itself, the culprit is usually the classpath. I can't help much more than that, except to say this is why I never run webapps within an IDE. Rather, from the beginning package your webapp as a war and deploy it to the container to be run/tested. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sessions in Tomcat
Hi everybody! In a webapp (Struts/Tomcat) we have the problem, that actions will not be found. Besides that we encountered another more universal problem with Tomcat: A Session is started for each request. So eg in the Number Guess example the Number to be guessed doesn't stay the same and you get very strange lower/higher tips ;-) How comes? Tomcat4.1.18/Struts1.01/SUSELinux8.1 Bye -- Sparen sie sich reich - Werden Sie Premium Mitglied bei freenet.de und erleben Sie eine exklusive aufregende Vorteilswelt! http://www.freenet.de/tipp/premium/vorteile/index.html
RE: Sessions in Tomcat
Howdy, You'll need to provide more information so we can help you ;) Needless to say, the number guess example works properly for nearly everyone ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 11:33 AM To: [EMAIL PROTECTED] Subject: Sessions in Tomcat Hi everybody! In a webapp (Struts/Tomcat) we have the problem, that actions will not be found. Besides that we encountered another more universal problem with Tomcat: A Session is started for each request. So eg in the Number Guess example the Number to be guessed doesn't stay the same and you get very strange lower/higher tips ;-) How comes? Tomcat4.1.18/Struts1.01/SUSELinux8.1 Bye -- Sparen sie sich reich - Werden Sie Premium Mitglied bei freenet.de und erleben Sie eine exklusive aufregende Vorteilswelt! http://www.freenet.de/tipp/premium/vorteile/index.html This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How do I determine sessions within Tomcat?
I am required to track users and their sessions in my web application. Is there a way to access all the sessions currently held in server memory? My application is tracking users in a database table. Upon login, I log the session id along with a timestamp and other pertinent information. If the user specifically clicks the log out button, I can update my table with another timestamp, but I assume many will simply timeout. How do I update my table with their logout timestamp in the event of timeout? I was hoping to make a simple maintenance thread in the background that would check existing sessions against my database table for this purpose. Thanks in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I determine sessions within Tomcat?
you would probably want to write a SessionListener, and plug it into tomcat. Turansky, Mark wrote: I am required to track users and their sessions in my web application. Is there a way to access all the sessions currently held in server memory? My application is tracking users in a database table. Upon login, I log the session id along with a timestamp and other pertinent information. If the user specifically clicks the log out button, I can update my table with another timestamp, but I assume many will simply timeout. How do I update my table with their logout timestamp in the event of timeout? I was hoping to make a simple maintenance thread in the background that would check existing sessions against my database table for this purpose. Thanks in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How do I determine sessions within Tomcat?
ok, I see th session listener interface in the javadocs as well as the session event class. any advice regarding *how* I plug it into tomcat? Is your method a standard J2EE solution or will this be Tomcat specific? thanks for the quick reply, mark -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:30 PM To: Tomcat Users List Subject: Re: How do I determine sessions within Tomcat? you would probably want to write a SessionListener, and plug it into tomcat. Turansky, Mark wrote: I am required to track users and their sessions in my web application. Is there a way to access all the sessions currently held in server memory? My application is tracking users in a database table. Upon login, I log the session id along with a timestamp and other pertinent information. If the user specifically clicks the log out button, I can update my table with another timestamp, but I assume many will simply timeout. How do I update my table with their logout timestamp in the event of timeout? I was hoping to make a simple maintenance thread in the background that would check existing sessions against my database table for this purpose. Thanks in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I determine sessions within Tomcat?
All you need is the following in your context's web.xml file : listener listener-classmy.own.SessionListener/listener-class /listener there should be an example in the examples context. That is where I got mine from Turansky, Mark wrote: ok, I see th session listener interface in the javadocs as well as the session event class. any advice regarding *how* I plug it into tomcat? Is your method a standard J2EE solution or will this be Tomcat specific? thanks for the quick reply, mark -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:30 PM To: Tomcat Users List Subject: Re: How do I determine sessions within Tomcat? you would probably want to write a SessionListener, and plug it into tomcat. Turansky, Mark wrote: I am required to track users and their sessions in my web application. Is there a way to access all the sessions currently held in server memory? My application is tracking users in a database table. Upon login, I log the session id along with a timestamp and other pertinent information. If the user specifically clicks the log out button, I can update my table with another timestamp, but I assume many will simply timeout. How do I update my table with their logout timestamp in the event of timeout? I was hoping to make a simple maintenance thread in the background that would check existing sessions against my database table for this purpose. Thanks in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Webb Software Engineer Dolphin Technology 474 Phoenix Drive Rome, NY 13441-4911 Phone : 315.838.7000 : 315.838.7024 Fax : 315.838.7096 Email : [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How do I determine sessions within Tomcat?
Mark, Another option is to write a callback class that is registered with each session using the HttpSessionBindingListener interface. Each time a session is destroyed, either explicitly by the user or implicitly by Tomcat (user just closed browser) then your widget should have its valueUnbound method called and you could update your DB. I haven't worked with the SessionListener before but that sounds more tailor made for the purpose you intend than my solution above. Jamey -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 1:36 PM To: Tomcat Users List Subject: Re: How do I determine sessions within Tomcat? All you need is the following in your context's web.xml file : listener listener-classmy.own.SessionListener/listener-class /listener there should be an example in the examples context. That is where I got mine from Turansky, Mark wrote: ok, I see th session listener interface in the javadocs as well as the session event class. any advice regarding *how* I plug it into tomcat? Is your method a standard J2EE solution or will this be Tomcat specific? thanks for the quick reply, mark -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:30 PM To: Tomcat Users List Subject: Re: How do I determine sessions within Tomcat? you would probably want to write a SessionListener, and plug it into tomcat. Turansky, Mark wrote: I am required to track users and their sessions in my web application. Is there a way to access all the sessions currently held in server memory? My application is tracking users in a database table. Upon login, I log the session id along with a timestamp and other pertinent information. If the user specifically clicks the log out button, I can update my table with another timestamp, but I assume many will simply timeout. How do I update my table with their logout timestamp in the event of timeout? I was hoping to make a simple maintenance thread in the background that would check existing sessions against my database table for this purpose. Thanks in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Webb Software Engineer Dolphin Technology 474 Phoenix Drive Rome, NY 13441-4911 Phone : 315.838.7000 : 315.838.7024 Fax : 315.838.7096 Email : [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
invalidate all sessions on tomcat start
Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: invalidate all sessions on tomcat start
what do mean you by invalidating on startup. Startup an instance there are no sessions, unless they have been saved from a previous run. so are you really asking how to prevent them being saved on shutdown? Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: invalidate all sessions on tomcat start Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: invalidate all sessions on tomcat start
Can this be done with a listener? -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 4:14 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Either or. I don't wish anything to timeout, yet I want them to be invalidated when the server is restarted (at shutdown, or at startup). Thanks, Derrick -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:03 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start what do mean you by invalidating on startup. Startup an instance there are no sessions, unless they have been saved from a previous run. so are you really asking how to prevent them being saved on shutdown? Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: invalidate all sessions on tomcat start Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: invalidate all sessions on tomcat start
still not sure what you are trying to achieve and why. if you don't want sessions to be saved to disk on shutdown, just simply add the Manager className=org.apache.catalina.session.StandardManager element where you set the attribute path=null and this will cause the Manager not to save the sessions when the server is shutdown. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 1:17 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Can this be done with a listener? -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 4:14 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Either or. I don't wish anything to timeout, yet I want them to be invalidated when the server is restarted (at shutdown, or at startup). Thanks, Derrick -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:03 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start what do mean you by invalidating on startup. Startup an instance there are no sessions, unless they have been saved from a previous run. so are you really asking how to prevent them being saved on shutdown? Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: invalidate all sessions on tomcat start Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: invalidate all sessions on tomcat start
oops, sent the wrong link to you :) -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 1:17 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Can this be done with a listener? -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 4:14 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Either or. I don't wish anything to timeout, yet I want them to be invalidated when the server is restarted (at shutdown, or at startup). Thanks, Derrick -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:03 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start what do mean you by invalidating on startup. Startup an instance there are no sessions, unless they have been saved from a previous run. so are you really asking how to prevent them being saved on shutdown? Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: invalidate all sessions on tomcat start Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: invalidate all sessions on tomcat start
or use the persistence manager Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 1:17 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Can this be done with a listener? -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 4:14 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Either or. I don't wish anything to timeout, yet I want them to be invalidated when the server is restarted (at shutdown, or at startup). Thanks, Derrick -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:03 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start what do mean you by invalidating on startup. Startup an instance there are no sessions, unless they have been saved from a previous run. so are you really asking how to prevent them being saved on shutdown? Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: invalidate all sessions on tomcat start Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: invalidate all sessions on tomcat start
Below is my configuration. SESSIONS.ser is still written despite this configuration. Engine name=TomcatApache defaultHost=localhost debug=0 Realm className=org.apache.catalina.realm.JDBCRealm connectionName=dora connectionPassword=dora connectionURL=jdbc:oracle:oci:@doradb digest=MD5 driverName=oracle.jdbc.OracleDriver roleNameCol=D_RoleId userCredCol=D_Password userNameCol=D_Username userRoleTable=Dora_User userTable=Dora_User/ !-- Define the default virtual host -- Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true forwardAll=false noRoot=false/ Context docBase=dora path=dora Manager className=org.apache.catalina.session.StandardManager pathname= /Manager /Context Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ /Host /Engine -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:27 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start or use the persistence manager Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 1:17 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Can this be done with a listener? -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 4:14 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Either or. I don't wish anything to timeout, yet I want them to be invalidated when the server is restarted (at shutdown, or at startup). Thanks, Derrick -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:03 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start what do mean you by invalidating on startup. Startup an instance there are no sessions, unless they have been saved from a previous run. so are you really asking how to prevent them being saved on shutdown? Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: invalidate all sessions on tomcat start Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely
RE: invalidate all sessions on tomcat start
oops, try pathname= and set the debug=10 on your standardmanager to see what is going on, Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 2:44 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Below is my configuration. SESSIONS.ser is still written despite this configuration. Engine name=TomcatApache defaultHost=localhost debug=0 Realm className=org.apache.catalina.realm.JDBCRealm connectionName=dora connectionPassword=dora connectionURL=jdbc:oracle:oci:@doradb digest=MD5 driverName=oracle.jdbc.OracleDriver roleNameCol=D_RoleId userCredCol=D_Password userNameCol=D_Username userRoleTable=Dora_User userTable=Dora_User/ !-- Define the default virtual host -- Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true forwardAll=false noRoot=false/ Context docBase=dora path=dora Manager className=org.apache.catalina.session.StandardManager pathname= /Manager /Context Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ /Host /Engine -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:27 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start or use the persistence manager Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 1:17 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Can this be done with a listener? -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 4:14 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Either or. I don't wish anything to timeout, yet I want them to be invalidated when the server is restarted (at shutdown, or at startup). Thanks, Derrick -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:03 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start what do mean you by invalidating on startup. Startup an instance there are no sessions, unless they have been saved from a previous run. so are you really asking how to prevent them being saved on shutdown? Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: invalidate all sessions on tomcat start Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy
RE: invalidate all sessions on tomcat start
Thanks. This caused me to look a bit more closely. The path was missing the beginning /. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 5:49 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start oops, try pathname= and set the debug=10 on your standardmanager to see what is going on, Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 2:44 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Below is my configuration. SESSIONS.ser is still written despite this configuration. Engine name=TomcatApache defaultHost=localhost debug=0 Realm className=org.apache.catalina.realm.JDBCRealm connectionName=dora connectionPassword=dora connectionURL=jdbc:oracle:oci:@doradb digest=MD5 driverName=oracle.jdbc.OracleDriver roleNameCol=D_RoleId userCredCol=D_Password userNameCol=D_Username userRoleTable=Dora_User userTable=Dora_User/ !-- Define the default virtual host -- Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true forwardAll=false noRoot=false/ Context docBase=dora path=dora Manager className=org.apache.catalina.session.StandardManager pathname= /Manager /Context Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ /Host /Engine -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:27 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start or use the persistence manager Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 1:17 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Can this be done with a listener? -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 4:14 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Either or. I don't wish anything to timeout, yet I want them to be invalidated when the server is restarted (at shutdown, or at startup). Thanks, Derrick -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:03 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start what do mean you by invalidating on startup. Startup an instance there are no sessions, unless they have been saved from a previous run. so are you really asking how to prevent them being saved on shutdown? Filip -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: invalidate all sessions on tomcat start Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may
Problem With Using allowLinking and Sessions in Tomcat 4.1.18
Hello, I generally create a WebApp directory that uses symlinks to reference all the top level JSP directory trees in my WebApp. I do this so I can have a single JSP source tree in multiple App Server instances. With Tomcat 4.1 I am forced to add a Resources element to the Context definition to get JSP pages to compile. My Resources entry in my server.xml looks like this: Resources className=org.apache.naming.resources.FileDirContext allowLinking=true docBase=/home/mikem/web/tomcat-4.1/SPRTmikem / Here SPRTmikem is the root directory of my Web App. This allows the JSPs to compile, but if I hit a page referenced through a symlink I get a new Session object with every page hit. For example if I have two directories under SPRTmikem called symtest and phystest each with a sesstest.jsp file in them, and symtest is a symlink to a directory outside the SPRTmikem web app directory each time I hit /SPRTmikem/symtest/sesstest.jsp I get a new Session object. If I hit /SPRTmikem/phystest/sesstest.jsp the request.getSession() function behaves as expected. This seems like a bug, and I'm willing to track it down if someone knows a good place to start looking in the code. Of course if there is a configuration setting to correct the problem that would be a lot easier. Does anyone have any clues? --MDM -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Distributed Sessions in Tomcat ?
Hi: I'm implementing load balancing with Tomcat 3.3.1, and I would like to use distributed sessions too. I didn't find any reference about this topic in Tomcat docs, neither this list. However, there are some references about this topic Tomcat 4.0.x/4.1.x getting around (Tomcat 4.0.x / Tomcat 4.1.x). Please, can anybody confirm the status of this topic. Thanks in advance. Hector Adolfo Alonso Consist Teleinformatica -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Distributed Sessions in Tomcat ?
As I understand it, TC 3.3.1 doesn't support distributed sessions at all. TC 4.x has experimental support for distributed sessions (IMHO, should be considered Alpha). TC 5.x will likely have full support for distributed sessions. Hector Adolfo Alonso [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi: I'm implementing load balancing with Tomcat 3.3.1, and I would like to use distributed sessions too. I didn't find any reference about this topic in Tomcat docs, neither this list. However, there are some references about this topic Tomcat 4.0.x/4.1.x getting around (Tomcat 4.0.x / Tomcat 4.1.x). Please, can anybody confirm the status of this topic. Thanks in advance. Hector Adolfo Alonso Consist Teleinformatica -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Distributed Sessions in Tomcat ?
Jeff Turner has a web page with the documentation for multiple Tomcats (3.2). Hope it helps. http://webmap.socialchange.net.au/support/download/multi-tomcats.txt Thank you, -Sri At 07:37 PM 12/18/2002 -0800, Bill Barker wrote: As I understand it, TC 3.3.1 doesn't support distributed sessions at all. TC 4.x has experimental support for distributed sessions (IMHO, should be considered Alpha). TC 5.x will likely have full support for distributed sessions. Hector Adolfo Alonso [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi: I'm implementing load balancing with Tomcat 3.3.1, and I would like to use distributed sessions too. I didn't find any reference about this topic in Tomcat docs, neither this list. However, there are some references about this topic Tomcat 4.0.x/4.1.x getting around (Tomcat 4.0.x / Tomcat 4.1.x). Please, can anybody confirm the status of this topic. Thanks in advance. Hector Adolfo Alonso Consist Teleinformatica -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Problem regarding Sessions in Tomcat 4.0.1
Hi, I have a web application installed on Tomcat 4.0. The server seem to be creating new sessions for the initial requests to the pages in the same application. I can see that from the difference in jsessionids in the cookie header . But after that it maintains the session. Anybody have any hints ... Any help will be appreciated.. Thanx, NM -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Clustering HTTP Sessions in Tomcat
Filip Hanik has written a great article on HTTP Session Replication using Tomcat 4. http://www.theserverside.com/resources/index.jsp In this article we will cover one of the clustering technologies, HTTP session replication, that is used within the J2EE model. In the second half of the article, an example is provided of how session replication can be implemented using Tomcat in conjunction with JavaGroups, a communication protocol which can perform reliable multicast operations to transfer session state between nodes. Dion -- \\|// (o o) +oOOo-(_)-oOOo--+ | [EMAIL PROTECTED] | Dew knot trussed yore spell chequer two| | www.almaer.com/dion | fined awl yore mistakes | +---+ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Clustering HTTP Sessions in Tomcat
anyone got anything like this for the tomcat 3 series ? Ta D Dion Almaer wrote: Filip Hanik has written a great article on HTTP Session Replication using Tomcat 4. http://www.theserverside.com/resources/index.jsp In this article we will cover one of the clustering technologies, HTTP session replication, that is used within the J2EE model. In the second half of the article, an example is provided of how session replication can be implemented using Tomcat in conjunction with JavaGroups, a communication protocol which can perform reliable multicast operations to transfer session state between nodes. Dion -- \\|// (o o) +oOOo-(_)-oOOo--+ | [EMAIL PROTECTED] | Dew knot trussed yore spell chequer two| | www.almaer.com/dion | fined awl yore mistakes | +---+ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Sessions in tomcat 4.03
Hi All, I am trying to store some objects in the session which are shared across multiple jsp's servlets. To my surprise the session object I get from request.getSession() is different in different servlets and jsp's and hence I am unable to access the objects that I store in the session in one jsp from another servlet. The same set of pages work neatly in weblogic 6.1. I am using tomcat4.03 on linux. Any ideas. Thanks, Kishore 2,000,000,000 Web Pages--you only need 1. Save time with My Lycos. http://my.lycos.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
sessions in tomcat
hi, i am having problems creating a session id of my own. i have tried the setId(), but comes up with a error message when it comes it compiling it can someone please help me! thanks _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
2 or more sessions in tomcat
Hi, Can there be 2 or more sessions handled by tomcat server in IE 5.0 browser of a PC using its inbuilt session tracking property? I can see only one session being able to be handled till now. Whenever there are 2 sessions then the session values get interchanged between them. Thanks Rinku
problem to handle sessions with Tomcat
Hello Here I face a problem with Apache1.3.14+Tomcat3.2.1 . I am building up a login module in which the process flows like: login.jsp--LoginServlet--login_success.jsp. In the servlet , on the successful login , i am initiating a session and putting some values. But I am not able to get back the same vakues in the login_success.jsp. In fact the session id of the session initiated in the servlet and the same of the session retrieved in jsp are different. I have tested the code in JavaWebserver2.0 and also in the same Tomcat-Apache environment at some other place.In both the case the problem did not arise. So i guess in my environmental set up , i missed out some configuration. But nobody yet able to point out exactly what configuration is missing and what is the remedy. I am using JDK1.2.2 on WIN2K and Oracle8i. The problem persists even after complete reinstallation of everything. If somebody already faced it and knows the solution, please help me as soon as possible. Regards and best wishes Sibendu
Is there a maximum number of sessions in tomcat?
Title: Is there a maximum number of sessions in tomcat? at around 800 connections a red hat 7.0 machine with apache 1.3.19 and tomcat 3.2.1 starts dropping the established sessions saying, nope, i don't recall you logging in and then eventually *no one* gets in. is there some configable param in tomcat or should i just minimize the use of session variables?
disbale sessions in Tomcat
Is there a way to disable sessions in Tomcat? Do I just remove the entries for the request.SessionInterceptor and session.StandardSessionInterceptor from server.xml? Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: disbale sessions in Tomcat
On Tue, 6 Mar 2001, William Au wrote: | Is there a way to disable sessions in Tomcat? Just don't ever ask the HttpServletRequest for a HttpSession? ;) | Do I just remove the entries for the request.SessionInterceptor and | session.StandardSessionInterceptor from server.xml? This I don't know the implications of.. -- Mvh, Endre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Creating Maintanin Sessions using Tomcat 3.2
Pravin Jain typed the following on 03:42 PM 2/9/2001 +0500 Tomcat is configured perfectly ok and is running fine. The only problems I have is while implementiong "Session" in my servlets. I have a servlet say "First" servlet, that create's an Httpsession using the getSession() method and uses the setAttribute() method to bind/set the object in the session. Below is an example code that I write in doPost()/doGet() method to create a Session is servlet "First": HttpSession session = request.getSession(); String usrid = "tomcat"; session.setAttribute("UserId",usrid); Now in another servlet, lets call it "Second" servlet, when I try to create a session and extract the value that is set in the above code, it throws a NullPointerException, meaning that it did not find the session, which was successfully created in the First servlet. Example code in "Second" servlet to get the values bound/set in the session created by the "First" servlet: HttpSession session = request.getSession(false); String test = (String) session.getAttribute("Userid"); The above line throws a NullPointerException. Are you sure the cookie is being set? Set your browser to warn you when cookies are set by the server. Are both servlets in the same webapp? Kief - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Maximum Sessions allow, Tomcat Startup
Sun Solaris, and Apache - Original Message - From: Michael Wentzel To: '[EMAIL PROTECTED]' Sent: Wednesday, January 24, 2001 10:29 AM Subject: RE: Maximum Sessions allow, Tomcat Startup How can I make tomcat to start whe the machine reboots What OS? ---Michael WentzelSoftware DeveloperA HREF="http://www.aswethink.com"Software As We Think/AA HREF="mailto:[EMAIL PROTECTED]"Michael Wentzel/A