tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex79 <asoar...@gmail.com>
Subject RE: Problem with session
Date Mon, 08 Oct 2007 17:53:09 GMT

Java version:
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode)

I modified the log4j.properties file to receive all logs from INFO. When the
problem occurs, I see a WARN level message that says that there is no header
(custom info stored by the webapp) in session (managed by tomcat I guess)
for session id XXXX and that this is a normal condition after a server
reboot and that it will occur until the client refreshes (that is, until the
client send another type of request that initializes the header in the
session). This message comes from the webapp (I have the source code and saw
the message in it). That's why it makes me think that it has something to do
with tomcat (or the webapp) restarting alone for some reason. I'll try to
look further in the source code and try to see if the sessionid comes from
tomcat, maybe I got that wrong and that it does come from tomcat.

Where can I find the exact tomcat version?

Thank you,


Caldarale, Charles R wrote:
> 
>> From: Alex79 [mailto:asoares1@gmail.com] 
>> Subject: RE: Problem with session
>> 
>> I checked the log in the logs directory, there's nothing that 
>> says tomcat has been restarted.
> 
> What about the webapp being restarted?  (Not likely either.)
> 
>> I run tomcat 5.0.
> 
> Tomcat 5.0.what?
> 
>> It's an internal session id that is stored in the session.
> 
> So this is not a Tomcat issue - it's a problem with your webapp.
> 
>> The JRE says version 6 in the readme.
> 
> You need to be more precise; run java -version to get the exact level.
> 
>> I'm going to have a look at the keepalive and let you know if 
>> it has an impact. 
> 
> Since this appears to be an application-specific session identifier, and
> not the one defined by the servlet spec, the keepalive setting shouldn't
> matter.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-session-tf4585082.html#a13101555
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message