----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I have the same "5 min problem" as well and spent a week trying to
resolve it. We are using LoadRunner from Mercury to do some benchmarking
tests and this is where we encountered this problem. In the end, I just
wrote a small servlet that sits is a loop for 5+ minutes and then prints
something out. This servlet works perfectly fine from any browser. But
if I hit it from LoadRunner, after about 5 minutes I get a "Wininet
12002" error which I looked up to be a INTERNET_TIMEOUT error as defined
by Microsoft's Wininet library. So it is probably some kind of a Wininet
issue rather than Apache or JServ.

If anybody has any more ideas on how to get this working, please let me
know as this issue is currently unresolved.

Thanks,
-Anupam



Kevin MacClay wrote:
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> One thing we've noticed is that it isn't just the cookie that is
> disappearing, it's the actual session object on the server as well.  When we
> list out sessions in the session context, and let users stand idle...  most
> users will be fine and sit in the list until their session expires like
> normal, but some seem to expire early for no apparent reason.  And indeed,
> real users have complained that they were in the middle of doing something
> when their session expired.
> 
> One question:  Do all of your sessions die prematurely?  Is EVERY one timing
> out at 5 mins?  Because with us it only seems to be with certain
> users/computers/browsers (we're trying to figure out what the difference
> is).
> 
> Kevin
> 
> -----Original Message-----
> From: Jonathon W. Ross <[EMAIL PROTECTED]>
> To: Java Apache Users <[EMAIL PROTECTED]>
> Date: Friday, June 23, 2000 8:07 PM
> Subject: Re: Session timeout problems
> 
> >----------------------------------------------------------------
> >BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> >WHEN YOU POST, include all relevant version numbers, log files,
> >and configuration files.  Don't make us guess your problem!!!
> >----------------------------------------------------------------
> >
> >The JVM is not dying, I watched it stay there for about an hour.
> >
> >Further to some other comments, these sessions only last
> >five minutes even IF the user is active.
> >
> >It could go:
> >
> >Minute 0 - User gets session cookie
> >Minute 1 - User accesses page, session is valid
> >Minute 4 - User accesses page, session is valid
> >Minute 5 - User accesses page, gets another new session cookie
> >
> >It has got me stumped.
> >
> >The configuration is copied from the example files with
> >only repositories and so forth changed.  The thing that
> >I don't get is that the session works fine for 5 minutes
> >and THEN disappears, but it DOES work for that short time!
> >
> >I'd love to hear if anyone else has any more ideas!
> >
> >                JWR
> >
> >
> >
> >On Fri, Jun 23, 2000 at 11:48:08AM -0400, Fernando Salazar said:
> >--> ----------------------------------------------------------------
> >--> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> >--> WHEN YOU POST, include all relevant version numbers, log files,
> >--> and configuration files.  Don't make us guess your problem!!!
> >--> ----------------------------------------------------------------
> >-->
> >-->
> >--> Just a thought ... are you using JServ in manual or automatic mode?
> >--> If automatic, maybe something is happening to kill the JVM every
> >--> 5 mins.  When that happens, all sessions would go away -- along
> >--> with everything else, of course.  The JVM would then get restarted,
> >--> and a client probably wouldn't notice anything.
> >-->
> >--> Like other folks have observed, I've used sessions for long periods
> >--> with no problems.
> >-->
> >--> - Fernando
> >-->
> >--> > > ----------------------------------------------------------------
> >--> > >
> >--> > > Same here. About 5 minutes.
> >--> > > I think it may have something to do with the users' inactivity
> >--> > period. We
> >--> > > are not using JServ in production environment (still in dev
> >--> > stage), but this
> >--> > > will be a big issue when we move to prod.
> >--> > > Anyone knows if this is fixed in Tomcat?
> >--> >
> >--> > Is what fixed? We have been using session control via cookies with a
> one
> >--> > hour timeout and have had no problems whatsoever with session
> timeouts.
> >--> > aybe you are not using cookies properly?
> >--> >
> >--> > Ben Ricker
> >--> > Web Administrator
> >--> > US-Rx, Inc.
> >--> >
> >-->
> >-->
> >-->
> >--> --
> >--> --------------------------------------------------------------
> >--> Please read the FAQ! <http://java.apache.org/faq/>
> >--> To subscribe:        [EMAIL PROTECTED]
> >--> To unsubscribe:      [EMAIL PROTECTED]
> >--> Archives and Other:  <http://java.apache.org/main/mail.html>
> >--> Problems?:           [EMAIL PROTECTED]
> >-->
> >
> >--
> >+---------------------------------------------------+----------------------
> +
> >| Jonathon W. Ross                                  | Web:  www.isa.net.au
> |
> >| Systems Administrator                             | Tel: +61 2 6230 4444
> |
> >| Internet Solutions Australia Pty Ltd              | Fax: +61 2 6230 4455
> |
> >| Wholly Owned Subsidiary of Ramsgate Resources Ltd | ACN:     086 692 211
> |
> >+---------------------------------------------------+----------------------
> +
> >
> >
> >
> >--
> >--------------------------------------------------------------
> >Please read the FAQ! <http://java.apache.org/faq/>
> >To subscribe:        [EMAIL PROTECTED]
> >To unsubscribe:      [EMAIL PROTECTED]
> >Archives and Other:  <http://java.apache.org/main/mail.html>
> >Problems?:           [EMAIL PROTECTED]
> >
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to