tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yansheng Lin" <yansheng....@silvacom.com>
Subject RE: session.ManagerBase tries to write something?
Date Fri, 13 Feb 2004 18:32:24 GMT
um, that's weird.  I don't get the same exception in tomcat 4 though.  

I did a stop&start, still I get the exception in tomcat 5.  Maybe I have been
always getting this, except in 4, there is no console out?  Shouldn't be though,
it's an exception.


-----Original Message-----
From: Filip Hanik [mailto:devlists@hanik.com] 
Sent: Friday, February 13, 2004 11:18 AM
To: Tomcat Users List
Subject: Re: session.ManagerBase tries to write something?


it always tries to persist sessions across restarts and reloads of the
context.
it is what it does

if you want to disable it, you have to set the pathname="someinvalidpath" in
a manager element in server.xml.

Filip
----- Original Message -----
From: "Yansheng Lin" <yansheng.lin@silvacom.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Friday, February 13, 2004 10:10 AM
Subject: RE: session.ManagerBase tries to write something?


Is this default behaviour new in Tomcat5?  Since I didn't do anything with
the
Manager element, I am using the default StandardManager, right?   I guess
this
is the main reason why I couldn't understand why it's trying to write myVO
class, i.e., persist sessions.

Is there any other way to cause tomcat to do this in Tomcat 5?  I tested the
above in tomcat 4, and I didn't get the same exception.

Thanks!

-----Original Message-----
From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
Sent: Friday, February 13, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: session.ManagerBase tries to write something?



Howdy,

>I don't
>want the
>sessions to be persistent in the first place,

You need to configure tomcat not to persist sessions then.  There is
advice on this on the Manager configuration reference page as well as in
this list's archives.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom
it is addressed, and may not be saved, copied, printed, disclosed or used by
anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank
you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message