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

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?
Thanks,

Otis

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jonathon W.
Ross
Sent: Friday, June 23, 2000 3:20 AM
To: [EMAIL PROTECTED]
Subject: 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!!!
----------------------------------------------------------------

Hi Guys

Using JServ 1.1.2, GNUJSP1.0, Apache 1.3.12, JSDK2.0, JDK1.2

Just testing the waters to see if anyone else is experiencing the
same problem we are, that being that sessions seem to time out
after five minutes or so.

The session.timeout is set to 18000 and the session.checkfrequency
is set to 30, and this is also reported by Jserv when starting.
Hitting a very simple test session page:


             Integer val = (Integer)session.getValue("blah");
             if (val == null) {
                  val = new Integer(1);
             } else {
                  val = new Integer(val.intValue() + 1);
             }
             session.putValue("blah", val);

(This has some JSP that just outputs val, but the list server
software seemed to choke on it for some reason)

This page 'remebers' an integer and increments it by one every time
you hit the page.

Works great for about five minutes (sometimes less, however) but then
a new session ID is set and the data forgotten.  The default timeout
should be 30 minutes, and no matter what I set the timeout values to
it is still 'about' 5 minutes before it issues a new ID.

I've spent quite a bit of time reading through JServSession.java and
I am no closer to understanding what the problem could be!  Does
anyone have any idea before I set some programmers upon this?

                JWR


--
+---------------------------------------------------+----------------------+
| 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]

Reply via email to