Re: How does Tomcat manage sesssions ?

2004-05-27 Thread Xavier MOGHRABI
I used that example to write my Manager config. However when the manager is nested inside the host it doesn't look to work since I don't have any row in my database. So I nest the manager in a context as below, and I can see my sessions in the database. Host name=localhost debug=0

RE: How does Tomcat manage sesssions ?

2004-05-27 Thread Shapira, Yoav
Hi, That solution doesn't pleased me a lot because I want to store the session for all deployed context. How can I do that ? Put the Manager inside the Host, not the Context. I have an other question : should I write something in my servlet to recover a session for example after a crash or

Re: How does Tomcat manage sesssions ?

2004-05-27 Thread Xavier MOGHRABI
Hello, That solution doesn't pleased me a lot because I want to store the session for all deployed context. How can I do that ? Put the Manager inside the Host, not the Context. I did it in the host but it doesn't seem to work. I don't see any Session stored in my database. Do you know

Re: How does Tomcat manage sesssions ?

2004-05-26 Thread Xavier MOGHRABI
Hi, I've read the documentation but I don't understand clearly where can I configure TOmcat to use *PersistentManager* instead of *StandardManager*. Do you know it ? Xavier Shapira, Yoav a écrit : Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html

RE: How does Tomcat manage sesssions ?

2004-05-26 Thread Shapira, Yoav
AM To: Tomcat Users List Subject: Re: How does Tomcat manage sesssions ? Hi, I've read the documentation but I don't understand clearly where can I configure TOmcat to use *PersistentManager* instead of *StandardManager*. Do you know it ? Xavier Shapira, Yoav a écrit : Hi, http

Re: How does Tomcat manage sesssions ?

2004-05-26 Thread Xavier MOGHRABI
. Yoav Shapira Millennium Research Informatics -Original Message- From: Xavier MOGHRABI [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 6:32 AM To: Tomcat Users List Subject: Re: How does Tomcat manage sesssions ? Hi, I've read the documentation but I don't understand clearly where

Re: How does Tomcat manage sesssions ?

2004-05-26 Thread QM
On Wed, May 26, 2004 at 03:09:23PM +0200, Xavier MOGHRABI wrote: : I've read all the server.xml file and there is no marks of the Manager : configuration. You should check out a stock server.xml, then -- it sounds like yours has been customized and trimmed. Read on: : I saw in the

RE: How does Tomcat manage sesssions ?

2004-05-26 Thread Shapira, Yoav
Hi, I've read all the server.xml file and there is no marks of the Manager configuration. The example was removed a while ago, but you can still see it in older versions of server.xml by going to the CVS or downloading an old release:

Re: How does Tomcat manage sesssions ?

2004-05-26 Thread Veniamin Fichin
Xavier MOGHRABI wrote: Hi, I've read the documentation but I don't understand clearly where can I configure TOmcat to use *PersistentManager* instead of *StandardManager*. Do you know it ? Shortly: Context docBase=app.war path=/app !-- ... -- Manager

Re: How does Tomcat manage sesssions ?

2004-05-25 Thread Filip Hanik - Dev
look into the PersistanceManager, that will store the session in a DB for you http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html Filip - Original Message - From: Xavier MOGHRABI [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 10:29

RE: How does Tomcat manage sesssions ?

2004-05-25 Thread Shapira, Yoav
Hi, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html http://jakarta.apache.org/tomcat/faq/misc.html#persist Yoav Shapira Millennium Research Informatics -Original Message- From: Xavier MOGHRABI [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 11:29 AM To: Tomcat