tomcat session problem

2012-01-11 Thread Weffen Cheung
Hello, I am using 2 tomcat(7.0.11) on my server, with clustering and session duplication. All the things are running smoothy except the session problem sometimes: 1. userA login, userB login 2. Sometimes when userB load a page, he found that he has became userA, it means that userB's login

Re: tomcat session problem

2012-01-11 Thread Daniel Mikusa
On Wed, 2012-01-11 at 02:29 -0800, Weffen Cheung wrote: Hello, I am using 2 tomcat(7.0.11) on my server, with clustering and session duplication. All the things are running smoothy except the session problem sometimes: 1. userA login, userB login Are userA and userB on the same TC

Re: tomcat session problem

2012-01-11 Thread Weffen Cheung
(7.0.11) on my server, with clustering and session duplication. All the things are running smoothy except the session problem sometimes: 1. userA login, userB login Are userA and userB on the same TC instance? 2. Sometimes when userB load a page, he found that he has became userA, it means

Re: tomcat session problem

2012-01-11 Thread Daniel Mikusa
tomcat(7.0.11) on my server, with clustering and session duplication. All the things are running smoothy except the session problem sometimes: 1. userA login, userB login Are userA and userB on the same TC instance? 2. Sometimes when userB load a page, he found that he has became

Re: tomcat session problem

2012-01-11 Thread Igor Cicimov
! Weffen 在 2012-1-11,下午9:52, Daniel Mikusa 写道: On Wed, 2012-01-11 at 02:29 -0800, Weffen Cheung wrote: Hello, I am using 2 tomcat(7.0.11) on my server, with clustering and session duplication. All the things are running smoothy except the session problem sometimes: 1

Re: tomcat session problem

2012-01-11 Thread Selvakumar Subramanian
the things are running smoothy except the session problem sometimes: 1. userA login, userB login Are userA and userB on the same TC instance? 2. Sometimes when userB load a page, he found that he has became userA, it means that userB's login session data has been

Re: tomcat session problem

2012-01-11 Thread Igor Cicimov
at 02:29 -0800, Weffen Cheung wrote: Hello, I am using 2 tomcat(7.0.11) on my server, with clustering and session duplication. All the things are running smoothy except the session problem sometimes: 1. userA login, userB login Are userA and userB

RE: tomcat session problem

2012-01-11 Thread Caldarale, Charles R
From: Igor Cicimov [mailto:icici...@gmail.com] Subject: Re: tomcat session problem But you said you are using Apache as front end right? Actually, he didn't, but that's because it appears Selvakumar Subramanian didn't even bother to read the subject line, let alone stick to his unrelated

Re: Tomcat 7 applet session problem

2011-07-07 Thread Michael Heinen
It could be caused by the useHttpOnly attribute of the context to prevent cross-site scripting attacks. HttpOnly cookies are not allowed to be passed to any client side script or Plug-in - such as a java applet. see e.g.

Tomcat 7 applet session problem

2011-07-06 Thread S Arvind
Hi All, Web application presently running in the tomcat 6 which has applet in it. In that applet we make a connection to server using URL class and get some data from the server after it loads. In this process we got error after updating to the tomcat 7. The problem is the session between

Re: Tomcat 7 applet session problem

2011-07-06 Thread Pid
On 06/07/2011 21:54, S Arvind wrote: Hi All, Web application presently running in the tomcat 6 which has applet in it. In that applet we make a connection to server using URL class and get some data from the server after it loads. In this process we got error after updating to the

Sticky Session Problem Tomcat 6.0.29

2011-03-10 Thread Richard Nduka
Hi Friends, I have recently configured sticky sessions in Tomcat 6.0.29 but i have found out that in some cases when i log into the application with several instances of tomcat running i get redirected to the login page. It looks as though that Tomcat is terminating the sessions. Env === Tomcat

Re: Sticky Session Problem Tomcat 6.0.29

2011-03-10 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Richard, On 03/10/2011 01:28 PM, Richard Nduka wrote: I have recently configured sticky sessions in Tomcat 6.0.29 but i have found out that in some cases when i log into the application with several instances of tomcat running i get

Re: Session problem

2010-08-27 Thread Hisham
Hi Chris, sorry for the late reply In your listener, why don't you dump a stack trace when a session attribute is removed? That will let you know where the code is that is removing your attributes. You may be surprised. This would be very useful, but how would i generate it since theres no

Re: Session problem

2010-08-27 Thread Pid
On 27/08/2010 18:16, Hisham wrote: Hi Chris, sorry for the late reply In your listener, why don't you dump a stack trace when a session attribute is removed? That will let you know where the code is that is removing your attributes. You may be surprised. Thread.dumpStack(); p This

RE: Session problem

2010-08-27 Thread Caldarale, Charles R
From: Hisham [mailto:mohis...@gmail.com] Subject: Re: Session problem how would i generate it since theres no exception that's been thrown? Standard API call: Thread.dumpStack(). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus

Re: Session problem

2010-08-27 Thread Hisham
Yeah i found that through google! Thanks pid and chuck! -h On Fri, Aug 27, 2010 at 1:25 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Hisham [mailto:mohis...@gmail.com] Subject: Re: Session problem how would i generate it since theres no exception that's been thrown

Re: Session problem

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hisham, On 8/24/2010 10:30 PM, Hisham wrote: Jason, you're right in that the tabs i was referring to were tabs within my application. I will verify tomorrow whether the domain is different, but i seriously doubt it. I have a few other things you

Re: Session problem

2010-08-25 Thread Stephen Caine
Jason, I was referring to an issue where a user opens several tabbed references to the same window. If the session value is changed in one window, the value will change in subsequent references in the other tabbed window(s). Actually, this is significant problem, but if this is not what was

Re: Session problem

2010-08-25 Thread Hisham
Chris, thanks for your reply! 1. Are you using cookies? If you don't properly encode all the URLs in your webapp, you could be losing session information when cookies are /not/ being used. It sounds like you are using cookies, though, given your statement about using Firebug to read the

Re: Session problem

2010-08-25 Thread Hisham
Btw, Jason, I have verified that the domain is the same. -h On Wed, Aug 25, 2010 at 9:55 AM, Hisham mohis...@gmail.com wrote: Chris, thanks for your reply! 1. Are you using cookies? If you don't properly encode all the URLs in your webapp, you could be losing session information when

Re: Session problem

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hisham, On 8/25/2010 9:55 AM, Hisham wrote: 1. Are you using cookies? If you don't properly encode all the URLs in your webapp, you could be losing session information when cookies are /not/ being used. It sounds like you are using cookies,

Re: Session problem

2010-08-25 Thread Hisham
Chris, Let me rephrase what I said: I am not using any custom cookies, the JsessionID cookie gets created by default. So i created an HttpSessionAttributeListener listener. And what i observed is truly weird. Once i click on Messages tab, the request goes through fine, there are a couple of

Re: Session problem

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hisham, On 8/25/2010 11:07 AM, Hisham wrote: Let me rephrase what I said: I am not using any custom cookies, the JsessionID cookie gets created by default. That makes a lot more sense. So i created an HttpSessionAttributeListener listener. And

Session problem

2010-08-24 Thread Hisham
Hello all, I have a problem that is driving me crazy. I don't even know if its a Tomcat issue but maybe someone out there can help me out. I have a webapp that I first developed locally. I tested this on my local environment (windows) and had no issues. I then deployed the same app to our QA

Re: Session problem

2010-08-24 Thread Stephen Caine
Jason, As each window shares the same session, a change to the session value in one window will effect the session value in the others. Stephen Caine On Aug 24, 2010, at 5:21 PM, Jason Britton wrote: I would make sure that the link for your Messages tab is going to the same domain as that

Re: Session problem

2010-08-24 Thread Jason Britton
Stephen - your statement doesn't really make sense in context to the problem he described or how I replied. From Hisham's first post I believe he's describing tabs within the context of a single web page interface, when he clicks on any of the three tabs a request is made (asynchronous or

Re: Session problem

2010-08-24 Thread Hisham
Jason, you're right in that the tabs i was referring to were tabs within my application. I will verify tomorrow whether the domain is different, but i seriously doubt it. Thanks for you reply. -h On Tue, Aug 24, 2010 at 8:06 PM, Jason Britton jbritto...@gmail.com wrote: Stephen - your

Re: session problem in Tomcat server when system date changes.

2009-09-03 Thread Mark Thomas
Nagineni wrote: Hi, I'm quite surprise to see this issue in the tomcat server.While running the application ,I've changed my system date ahead a day.I observed that tomcat server started creating new session for the same client. Any pointers on this to resolve ?Please help me. Sessions

session problem in Tomcat server when system date changes.

2009-09-02 Thread Nagineni
, Naga. - Regards, Naga. -- View this message in context: http://www.nabble.com/session-problem-in-Tomcat-server-when-system-date-changes.-tp25270026p25270026.html Sent from the Tomcat - User mailing list archive at Nabble.com

Tomact behind ISA server - session problem

2009-01-06 Thread Boban Jankovic
Hi, I have a Tomcat installed behind ISA server. It is properly(?) published, so I can reach it from outside world, as from LAN also. But, when I access my Tomcat application from LAN, all session attributes are fine, the app works as I want it to. When I access it from outside world,

Re: Tomact behind ISA server - session problem

2009-01-06 Thread David Smith
My first thought is some kind of caching proxy server. If you aren't the local IT admin, you might want to check with them what might exist on the border between the LAN and WAN. Tomcat itself doesn't treat the local LAN any different than the outside world. From it's perspective, a client is a

Re: Mod_jk balancing, session problem

2006-08-11 Thread Artur
you have any idea what my be the reason ? Best regards Artur -- View this message in context: http://www.nabble.com/Mod_jk-balancing%2C-session-problem-tf2073073.html#a5765997 Sent from the Tomcat - User forum at Nabble.com

Re: Mod_jk balancing, session problem

2006-08-09 Thread Rainer Jung
Hi, Artur schrieb: - does it happen in times, when you get errors in the mod_jk-log? Does it happen at all times, or do you have peaks at special times? I can't figure it out, when this happens, but there isn't any special moment I can observe. It happens randomly. There isn't any error

Re: Mod_jk balancing, session problem

2006-08-08 Thread Rainer Jung
Artur wrote: Hello, We have environment with Apache (2.2.0) + Tomcat (5.5.17) connected via mod_jk (1.2.18). Further tomcat makes some queries to databese through Tuxedo services (BEA). Everything works fine until heavy load when something stops responding (Service not available). We think it

Re: Mod_jk balancing, session problem

2006-08-08 Thread Artur
maxThreds. Think about using connect_timeout and prepost_timeout. Maybe also set recovery_options to 3. What values do you suggest for above parameters ? -- View this message in context: http://www.nabble.com/Mod_jk-balancing%2C-session-problem-tf2073073.html#a5710742 Sent from the Tomcat

j-_security_check session problem with load balancer

2006-04-24 Thread Andrew Arrow
Hello, We are using tomcat 5.5.16 with a Redline Networks Enterprise Application Processor load balancer between two machines. The balancer is session sticky. Every so often we get a problem with users not being able to log in. (We are using JDBC Realm form authentication.) The error the

Re: session problem

2005-10-21 Thread Tim Funk
Cookies might be blocked on the other pc's browser -Tim David Won wrote: I developed a very simple project, there is a jsp page and a servlet. In servlet: session.setAttribute(my,abc); In jsp: String mystring = (String) session.getAttribute(my); This project works perfect in one of my PC,

RE: session problem

2005-10-21 Thread Mauricio Fernandez A.
19:32 Para: Tomcat Users List Asunto: RE: session problem Hi Mauricio, It is really weired that after 2 weeks failuer, this morning it works! I did not change a single code but it works now. Also I did not change any system configuration related with network and any other enviorenment. Yesterday

session problem

2005-10-20 Thread David Won
I developed a very simple project, there is a jsp page and a servlet. In servlet: session.setAttribute(my,abc); In jsp: String mystring = (String) session.getAttribute(my); This project works perfect in one of my PC, but when I deployed it to another PC, mystring in jsp always gets a null