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 alon

Re: tomcat session problem

2012-01-11 Thread Igor Cicimov
> > session, request or response objects to a field on your Servlet > objects. > > > This is not thread safe and can cause a problem very similar to you are > > > reporting. > > > > > > Dan > > > > > > > > > > > > > &g

Re: tomcat session problem

2012-01-11 Thread Selvakumar Subramanian
gt; > > Dan > > > > > > > > > > 3. But one thing I am sure is that the two users use different PC to > > login, which means that cookie is not the reason at all. > > > > > > Any fellows have such a problem? This problem is so bad

Re: tomcat session problem

2012-01-11 Thread Igor Cicimov
> > > > Any advice is high appreciated! > > > > Thanks in advance! > > > > > > Weffen > > > > > > 在 2012-1-11,下午9:52, Daniel Mikusa 写道: > > > > > On Wed, 2012-01-11 at 02:29 -0800, Weffen Cheung wrote: > > >> H

Re: tomcat session problem

2012-01-11 Thread Daniel Mikusa
ance! > > > 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 > >> duplicati

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

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

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

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. http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Common_Attri

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 th

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: 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 redire

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 6

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 wrote: >> From: Hisham [mailto:mohis...@gmail.com] >> Subject: Re: Session problem > >> how would i generate it since theres no >> exception that'

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 MAT

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 > Th

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 e

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. An

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 ima

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, t

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 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 cookies are >> /no

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 he

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 b

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 y

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 wrote: > Stephen - your statement doesn't really

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 otherwis

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 tha

Re: Session problem

2010-08-24 Thread Jason Britton
I would make sure that the link for your "Messages" tab is going to the same domain as that your session was established under and is hitting the same domain as your "Home" and "Admin" links. This doesn't seem to have anything to do with Tomcat though. On Tue, Aug 24, 2010 at 1:53 PM, Hisham wr

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 e

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. Sess

session problem in Tomcat server when system date changes.

2009-09-02 Thread Nagineni
. Regards, 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

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

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, somethin

Re: Mod_jk balancing, session problem

2006-08-11 Thread Artur
ARNING: processCallbacks status 2 Do 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 To

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

Re: Mod_jk balancing, session problem

2006-08-08 Thread Artur
this is efficient. > > We have decresed this value because we thought that maybe Apache is > opening too many threads to Tomcat. We had in Tomcat's log entries saying" > "All threads (500) are curently busy, increase maxThreds". > > Think about using connect

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 is

Mod_jk balancing, session problem

2006-08-08 Thread Artur
: ###server2.xml - connector section -- View this message in context: http://www.nabble.com/Mod_jk-balancing%2C-session-problem-tf2073073.html#a5707787 Sent from the Tomcat - User forum at Nabble.com.

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 user

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

Re: session problem

2005-10-21 Thread David Won
Hi Tim, My project suddenly works today, I am really confused about this problem. As for your solution, I always use the same PC's browser to access the problem-PC's project, so I guess this has nothing to do with the browser in that PC, right? Thank you very much. David Tim Funk <[EMAIL

RE: session problem

2005-10-21 Thread David Won
el: viernes, 21 octubre, 2005 7:21 Para: users@tomcat.apache.org Asunto: session problem 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&qu

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 m

RE: session problem

2005-10-21 Thread Mauricio Fernandez A.
d Won [mailto:[EMAIL PROTECTED] Enviado el: viernes, 21 octubre, 2005 7:21 Para: users@tomcat.apache.org Asunto: session problem I developed a very simple project, there is a jsp page and a servlet. In servlet: session.setAttribute("my","abc"); In jsp: String mystring = (Strin

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 n