Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 9/8/2011 2:17 PM, Ashish Kulkarni wrote: Has anyone configured tomcat to save session information in memory database like java DB or hsqldb, I'm sure it can be done, as Tomcat provides

RE: Save session information in Memory database

2011-09-09 Thread Caldarale, Charles R
From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Subject: Re: Save session information in Memory database What do you mean it will slow down? You would be making requests across a wire rather than reads and writes to memory. we go about 1 GB of ram and Tomcat starts running out

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
database instead or conventional database Regards Ashish On Fri, Sep 9, 2011 at 10:50 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Subject: Re: Save session information in Memory database What do you mean it will slow

Re: Save session information in Memory database

2011-09-09 Thread Pid
[mailto:ashish.kulkarn...@gmail.com] Subject: Re: Save session information in Memory database What do you mean it will slow down? You would be making requests across a wire rather than reads and writes to memory. we go about 1 GB of ram and Tomcat starts running out of heap memory So what

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
could save session information in a database instead of in heap it would work, and so in memory database and it would be faster to access then regular DB2 database So any ideas Ashish On Fri, Sep 9, 2011 at 12:46 PM, Pid p...@pidster.com wrote: On 09/09/2011 15:58, Ashish Kulkarni wrote: Hi

Re: Save session information in Memory database

2011-09-09 Thread Bob Hall
From: Ashish Kulkarni ashish.kulkarn...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 9, 2011 11:38 AM Subject: Re: Save session information in Memory database Hi I have inherited this application, and it was developed this way

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
: From: Ashish Kulkarni ashish.kulkarn...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 9, 2011 11:38 AM Subject: Re: Save session information in Memory database Hi I have inherited this application, and it was developed this way, i dont have time and resources

Re: Save session information in Memory database

2011-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 9/9/2011 10:22 AM, Ashish Kulkarni wrote: What do you mean it will slow down? Tomcat's JDBC-based session store serializes session objects in order to save them. Serialization takes time. Ergo, using an in-memory database will be slower

Re: Save session information in Memory database

2011-09-09 Thread Christopher Schultz
it working without having to go through this process of removing data from session, I thought if i could save session information in a database instead of in heap it would work You may find that much of this data is not serializable, which might mean that you will have to go through a process

Re: Save session information in Memory database

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 9/8/2011 2:17 PM, Ashish Kulkarni wrote: Has anyone configured tomcat to save session information in memory database like java DB or hsqldb, I'm sure it can be done, as Tomcat provides org.apache.catalina.session.JDBCStore for use

Re: save session information

2010-02-03 Thread Ashish Kulkarni
Hi Is there any document which explains how to do so Ashish On Wed, Feb 3, 2010 at 1:49 AM, Mark Thomas ma...@apache.org wrote: On 03/02/2010 05:28, Ashish Kulkarni wrote: Hi Is it possible with tomcat to save session information in database or some where which can be retrieved after

RE: save session information

2010-02-03 Thread Caldarale, Charles R
From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Subject: Re: save session information Is there any document which explains how to do so In a word, yes. Note that Tomcat persists active sessions automatically across restarts by default. A brief perusal of the Tomcat doc will get

Re: save session information

2010-02-03 Thread Martin Grotzke
. Cheers, Martin On Wed, 2010-02-03 at 00:28 -0500, Ashish Kulkarni wrote: Hi Is it possible with tomcat to save session information in database or some where which can be retrieved after restart, for example raisin provides symmetrical session which can be saved to database or file system

Re: save session information

2010-02-02 Thread Mark Thomas
On 03/02/2010 05:28, Ashish Kulkarni wrote: Hi Is it possible with tomcat to save session information in database or some where which can be retrieved after restart, for example raisin provides symmetrical session which can be saved to database or file system Hi. Yes