Re: handling expired sessions in Tomcat

2012-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 11/5/12 9:51 AM, Miguel Gonzalez wrote: > > >>> Dear all, >>> >>> When an user is logged on our system (a Struts app), when the >>> session expires, the user gets a java error report. > >> What does the user see when this happens? Is

Re: handling expired sessions in Tomcat

2012-11-05 Thread Daniel Mikusa
On Nov 5, 2012, at 10:24 AM, Miguel Gonzalez wrote: > > >> Hard to say without more details. Seeing the stack trace would be a good >> start. > > I attach a screenshot of one one of the stack traces we get Please don't send stuff directly to people off the list. This creates a gap in the

Re: handling expired sessions in Tomcat

2012-11-05 Thread Daniel Mikusa
On Nov 5, 2012, at 10:24 AM, Miguel Gonzalez wrote: > > >> Hard to say without more details. Seeing the stack trace would be a good >> start. > > I attach a screenshot of one one of the stack traces we get Sorry. The attachment didn't come through. The list usually removes them. Dan >

Re: handling expired sessions in Tomcat

2012-11-05 Thread Miguel Gonzalez
>Hard to say without more details.  Seeing the stack trace would be a good >start. I attach a screenshot of one one of the stack traces we get Miguel - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additiona

Re: handling expired sessions in Tomcat

2012-11-05 Thread Miguel Gonzalez
>> Dear all, >> >>  When an user is logged on our system (a Struts app), when the session >>expires, the user gets a java error report. Is there any way to handle this >>and either to show a custom jsp page or redirect the user to the login form? >>I have googled this, but I can't find this in

Re: handling expired sessions in Tomcat

2012-11-05 Thread Daniel Mikusa
On Nov 5, 2012, at 9:51 AM, Miguel Gonzalez wrote: > > >>> Dear all, >>> >>>When an user is logged on our system (a Struts app), when the session >>> expires, the user gets a java error report. > >> What does the user see when this happens? Is there a stack trace? If so, >> can you inc

Re: handling expired sessions in Tomcat

2012-11-05 Thread Miguel Gonzalez
>> Dear all, >> >>   When an user is logged on our system (a Struts app), when the session >>expires, the user gets a java error report. >What does the user see when this happens?  Is there a stack trace?  If so, can >you include the stack trace here. Yes, they get a stack trace. I would ha

Re: handling expired sessions in Tomcat

2012-11-05 Thread Jose María Zaragoza
2012/11/5 Miguel Gonzalez : > Dear all, > > When an user is logged on our system (a Struts app), when the session > expires, the user gets a java error report. Is there any way to handle this > and either to show a custom jsp page or redirect the user to the login form? > I have googled this,

Re: handling expired sessions in Tomcat

2012-11-05 Thread Daniel Mikusa
On Nov 5, 2012, at 4:04 AM, Miguel Gonzalez wrote: > Dear all, > > When an user is logged on our system (a Struts app), when the session > expires, the user gets a java error report. What does the user see when this happens? Is there a stack trace? If so, can you include the stack trace he

handling expired sessions in Tomcat

2012-11-05 Thread Miguel Gonzalez
Dear all,   When an user is logged on our system (a Struts app), when the session expires, the user gets a java error report. Is there any way to handle this and either to show a custom jsp page or redirect the user to the login form? I have googled this, but I can't find this info.   Regards,

Re: [OT - question] Limit user sessions in tomcat

2009-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 12/15/2009 5:01 PM, Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Re: [OT - question] Limit user sessions in tomcat >> >> It would seem that there ought to be some low-

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Bill Barker
"Caldarale, Charles R" wrote in message news:99c8b2929b39c24493377ac7a121e21f9680850...@usea-exch8.na.uis.unisys.com... >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Re: [OT - question] Limit user sessions in tomcat >> >> It would seem tha

RE: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Subject: Re: [OT - question] Limit user sessions in tomcat > > Hmm, last time I implemented a tcp/ip stack (which is more than 10 > years ago) there were no possibility in the tcp protocol to detect a > broken (not

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Leon Rosenberg
On Tue, Dec 15, 2009 at 11:01 PM, Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Re: [OT - question] Limit user sessions in tomcat >> >> It would seem that there ought to be some low-level response-direction >> socket flag tha

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Pid
On 15/12/2009 22:01, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT - question] Limit user sessions in tomcat It would seem that there ought to be some low-level response-direction socket flag that should be available, to tell whether the receiving end

RE: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT - question] Limit user sessions in tomcat > > It would seem that there ought to be some low-level response-direction > socket flag that should be available, to tell whether the receiving end > has gone, without

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Ken Bowen wrote: Chris, Thanks. We do #1 routinely, usually setting the thread(s) up as workers managing a queue. #2 can be problematic as you note: long-running db queries or long graphics generation are hard to fit into this model simply because one is using someone else's monolithic code th

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Ken Bowen
Chris, Thanks. We do #1 routinely, usually setting the thread(s) up as workers managing a queue. #2 can be problematic as you note: long-running db queries or long graphics generation are hard to fit into this model simply because one is using someone else's monolithic code that makes no suc

Re: Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Chetan Chheda wrote: Thanks Peter for the clarification. My background is that of a UNIX administrator not a web administrator and its showing from my posts.. My problem is long running requests. If the requests take longer than their fancy, the users just close the browser window, open a new o

Re: Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Chetan Chheda wrote: Andre, We have a vast user population thats geographically dispersed, so implementing something thru the system would be the favourable approach.. Can you point me to links on the web that explain the add on modules and their implementation? All, Is there a 3rd par

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 12/15/2009 1:52 PM, Ken Bowen wrote: > Are there any standard techniques that a /developer/ of such a long > running proccess could apply to wrap the process in a cocoon which > periodically updates a browser with (real) progress data, and at

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Ken Bowen
Are there any standard techniques that a /developer/ of such a long running prccess could apply to wrap the process in a cocoon which periodically updates a browser with (real) progress data, and at the same time, such updates are verifications that the socket is still live and the user hasn'

Re: Limit user sessions in tomcat

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, On 12/15/2009 11:03 AM, Chetan Chheda wrote: > We frequently have situations where a user has brought down a tomcat > entirely by himself by running the same transaction multiple times > because the response was not quick enough. Does this us

Re: Limit user sessions in tomcat

2009-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/15/2009 12:01 PM, André Warnier wrote: > On another level, I don't quite understand yet how this squares with the > fact that most browsers will not establish more than 2 connections with > the same webserver at the same time. Things hav

Re: Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
r To: Tomcat Users List Sent: Tue, December 15, 2009 12:42:01 PM Subject: Re: Limit user sessions in tomcat 2009/12/15 Chetan Chheda >    Is there a 3rd party tool available to manage tomcat sessions and kill > them once they go rogue? > > Can I just check two pieces of terminology

Re: Limit user sessions in tomcat

2009-12-15 Thread Peter Crowther
2009/12/15 Chetan Chheda > Is there a 3rd party tool available to manage tomcat sessions and kill > them once they go rogue? > > Can I just check two pieces of terminology? In Tomcat (and many other web servers), a "session" is the notion that a user will make multiple requests to the server

Re: Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
, 2009 12:07:15 PM Subject: Re: Limit user sessions in tomcat 2009/12/15 André Warnier > On another level, I don't quite understand yet how this squares with the > fact that most browsers will not establish more than 2 connections with the > same webserver at the same time. 

RE: Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Limit user sessions in tomcat > > On another level, I don't quite understand yet how this squares with > the fact that most browsers will not establish more than 2 connections > with the same webserver at the s

Re: Limit user sessions in tomcat

2009-12-15 Thread Peter Crowther
2009/12/15 André Warnier > On another level, I don't quite understand yet how this squares with the > fact that most browsers will not establish more than 2 connections with the > same webserver at the same time. It seems a bit difficult to imagine that > one single user can "crash" a Tomcat jus

Re: Limit user sessions in tomcat

2009-12-15 Thread André Warnier
Caldarale, Charles R wrote: From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: Limit user sessions in tomcat Is there a way through configuation of tomcat and mod_jk to control the number of concurrent transactions/sessions a user can maintain? Don't know about what you mig

RE: Limit user sessions in tomcat

2009-12-15 Thread Caldarale, Charles R
> From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] > Subject: Limit user sessions in tomcat > > Is there a way through configuation of tomcat and mod_jk to control > the number of concurrent transactions/sessions a user can maintain? Don't know about what you might be

RE: Limit user sessions in tomcat

2009-12-15 Thread George Sexton
them wait. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] > Sent: Tuesday, December 15, 2009 9:04 AM > To: users@tomcat.apache.org > Subject: Limit user sessions

Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
Hello,     We frequently have situations where a user has brought down a tomcat entirely by himself by running the same transaction multiple times because the response was not quick enough.   Is there a way through configuation of tomcat and mod_jk to control the number of concurrent transac

Sticky and asynchronous sessions in Tomcat cluster

2008-01-14 Thread Shiby Maria John
Hi, I am using a set up of Tomcat cluster with 2 instances (tomcatA and tomcatB, tomcatA being the primary server and tomcatB being the standby server) under an Apache Server used for load balancing. I am using Tomcat only for failover balancing and load balancing is entirely done by apache. In

Re: Different aliases have different sessions in Tomcat, why?

2007-04-04 Thread Burak Yýlmaz
? thanks - Original Message From: Martin Gainty <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Wednesday, April 4, 2007 2:46:42 AM Subject: Re: Different aliases have different sessions in Tomcat, why? Burak- nslookup www.mydomain.com qill display a IP address then put the IP en

Re: Different aliases have different sessions in Tomcat, why?

2007-04-03 Thread Martin Gainty
s have different sessions in Tomcat, why? Hi all i have a Tomcat 6.0.10 running on Centos 4.4 My configuration file(server.xml) is as below. Now i am explaning whats happening..I have changed the default webapplication by setting context path to zero length string and set my host applicationb

Different aliases have different sessions in Tomcat, why?

2007-04-03 Thread Burak Yýlmaz
Hi all i have a Tomcat 6.0.10 running on Centos 4.4 My configuration file(server.xml) is as below. Now i am explaning whats happening..I have changed the default webapplication by setting context path to zero length string and set my host applicationbase to "webapps/mydomainapp" value... By the

RE: Sessions in Tomcat

2006-08-01 Thread Skidmore, Donald \(GTI PE\)
tz [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 12:46 PM To: Tomcat Users List Subject: Re: Sessions in Tomcat * PGP Signed by an unknown key: 08/01/2006 at 12:46:13 PM Donald, > The first browser session works fine and I can > navigate thru all my pages without a problem. A f

Re: Sessions in Tomcat

2006-08-01 Thread Christopher Schultz
Donald, > The first browser session works fine and I can > navigate thru all my pages without a problem. A few minutes later I open > another browser window and I immediately get a null pointer exception. Is it possible that you are have cookies turned off and are having the JSP encode the jsessi

Sessions in Tomcat

2006-08-01 Thread Skidmore, Donald \(GTI PE\)
I am running into a strange situation with my session using tomcat 5.0.I have a jsp that puts two objects into a session which is used by all succeeding jsp pages. The first browser session works fine and I can navigate thru all my pages without a problem. A few minutes later I open another browser