Re: To get the session size

2006-06-23 Thread Frank W. Zammetti
es > only the size of the HttpSession instance and the object references it > holds. It does not measure the physical size of the objects which are > referenced by the session. > > http://martin.nobilitas.com/java/sizeof.html > > > On 6/23/06, starki78 <[EMAIL PROTECTED]>

Re: To get the session size

2006-06-23 Thread Monkeyden
size of the HttpSession instance and the object references it holds. It does not measure the physical size of the objects which are referenced by the session. http://martin.nobilitas.com/java/sizeof.html On 6/23/06, starki78 <[EMAIL PROTECTED]> wrote: > > Well I can remember having u

Re: To get the session size

2006-06-23 Thread Monkeyden
enced by the session. http://martin.nobilitas.com/java/sizeof.html On 6/23/06, starki78 <[EMAIL PROTECTED]> wrote: Well I can remember having used session-size tags that worked fine, but after a while I came to the conclusion that this is not so important. http://www.servletsuite.c

Re:To get the session size

2006-06-23 Thread starki78
Well I can remember having used session-size tags that worked fine, but after a while I came to the conclusion that this is not so important. http://www.servletsuite.com/servlets/ssizetag.htm Nice greetings Starky -- Initial Header --- >From : "Carl Smith" [EM

To get the session size

2006-06-22 Thread Carl Smith
I am trying to get the session size of our J2EE Struts based, and runing in WebSphere environment, application. Can some one point me what is the good way to get the session size? What tool is a good tool for using? WSAD Profiling? - Yahoo

Re: Strategy for Controlling the Session Size

2006-03-23 Thread Julian Tillmann
thanks for all your ideas and advice especially the one with the filter was very helpful. :) ciao 4 now Julian > --- Ursprüngliche Nachricht --- > Von: "Mark Lowe" <[EMAIL PROTECTED]> > An: "Struts Users Mailing List" > Betreff: Re: Strategy for Controlling

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > Population of indexed properties is a nice gift, but then I cant think > > of many situations where needing to scope anything that extreme is > > required. A bean with simple properties w

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Michael Jouravlev
On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > Population of indexed properties is a nice gift, but then I cant think > of many situations where needing to scope anything that extreme is > required. A bean with simple properties will do > > > > > takes care of any simple properties I don't w

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
need to store across lots of requests, you can create a > > > > simple javaclass to hold the data you need. Something like a StateBean > > > > or even a hashmap, the point is that if you have one object that your > > > > storing things in you know where to look

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Michael Jouravlev
avaclass to hold the data you need. Something like a StateBean > > > or even a hashmap, the point is that if you have one object that your > > > storing things in you know where to look if and when you find you need > > > to address session size. If you have folk adding the

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
even a hashmap, the point is that if you have one object that your > > storing things in you know where to look if and when you find you need > > to address session size. If you have folk adding the world into the > > session all over the place, its going to be harder to address any

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Michael Jouravlev
things in you know where to look if and when you find you need > to address session size. If you have folk adding the world into the > session all over the place, its going to be harder to address any > issues later in the day. e.g. Map state = (Map) > session.getAttribute("state"

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Rick Reumann
Julian Tillmann wrote the following on 3/22/2006 4:04 AM: Can someone give me advice how to control and clean the amount of Collections (HashTables/ArrayList) that are stored in the session. Are you actually sure you have a performance problem with too much stuff stored in Session scope? So

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
session.removeAttribute("collectionname"); chain.doFilter(..); } HTH Mark > > greetings > > > --- Ursprüngliche Nachricht --- > > Von: "Mark Lowe" <[EMAIL PROTECTED]> > > An: "Struts Users Mailing List" > &g

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Julian Tillmann
interesting I'll take a look. As a last resort would my proposal be an acceptable alternative? greetings > --- Ursprüngliche Nachricht --- > Von: "Mark Lowe" <[EMAIL PROTECTED]> > An: "Struts Users Mailing List" > Betreff: Re: Strategy for Controlling th

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
l parameters if session.getAttribute.equals("collection_name > > and to remove all last Action's Collection_data in order to minimalize my > > session data. > > > > Regarding to you, does it make sense to control the session-size > > within a struts applicatio

Strategy for Controlling the Session Size

2006-03-22 Thread Julian Tillmann
_name", and always when an action is executed to look for all parameters if session.getAttribute.equals("collection_name and to remove all last Action's Collection_data in order to minimalize my session data. Regarding to you, does it make sense to control the session-s

Re: file upload, HttpSession content serialization failure, session size

2004-11-16 Thread Bill Siggelkow
side-effects of doing such a kludge ? Restoring the user's session on failover will still have unpredictable results, if in the middle of file upload, but at least the rest of the user's session will now be restored. => session size now expectedly grows, but not proportiona

Re: file upload, HttpSession content serialization failure, session size

2004-11-16 Thread Markku . Luotamo
ing such a kludge ? Restoring the user's session on failover will still have unpredictable results, if in the middle of file upload, but at least the rest of the user's session will now be restored. => session size now expectedly grows, but not proportionately to uploaded file size. Ap

file upload, HttpSession content serialization failure, session size

2004-11-16 Thread Markku . Luotamo
cs on session size) I have a layer in my app framework that attempts to serialize all session content to a ByteArrayOutputStream at development time. There is something that looks like a serialization problem with the commons internals - java.io.NotSerializableExce

RE: Session size

2004-05-27 Thread Jose Ramon Diaz
, or in application scope it the data is shared beetwen all the users. Regards Jose R. Díaz > -Mensaje original- > De: Hookom, Jacob [mailto:[EMAIL PROTECTED] > Enviado el: jueves, 27 de mayo de 2004 21:08 > Para: 'Struts Users Mailing List' > Asunto: RE: Session

RE: Session size

2004-05-27 Thread Hookom, Jacob
d refetching it all the time, causing high processor usage and low memory consumption. -Original Message- From: Riyad Kalla [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 12:11 PM To: Struts Users Mailing List Subject: Re: Session size On Thursday 27 May 2004 09:53 am, Zhang, L

Re: Session size

2004-05-27 Thread Riyad Kalla
On Thursday 27 May 2004 09:53 am, Zhang, Larry (L.) wrote: > It sounds like very promising to me. The only consideration is that caching > those objects may cause another issue of usage of the memory. And also when Yes absolutely a concern, which is where you can tune how big your cache for DAO i

RE: Session size

2004-05-27 Thread Zhang, Larry \(L.\)
this approach sometimes called object pool? Thanks. -Original Message- From: Riyad Kalla [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 12:25 PM To: Struts Users Mailing List Subject: Re: Session size Hmm, I should clarify what I meant: The DAO will be at the application scope, so

RE: Session size

2004-05-27 Thread Zhang, Larry \(L.\)
: Struts Users Mailing List Subject: Re: Session size Larry, It depends on how you load the elements. If you are creating the smaller objects by first loading the full objects, then just save the time and use the full ones. If however you are loading the DisplayObjects directly via a Hibernate

Re: Session size

2004-05-27 Thread Riyad Kalla
: Thursday, May 27, 2004 11:53 AM > To: Struts Users Mailing List > Subject: Re: Session size > > > Mike, > Good suggestions. I was dealing with something like this recently and > decided that for me, adding caching at the DAO level: > > e.g. List userList = UserDAO.getAllU

Re: Session size

2004-05-27 Thread Riyad Kalla
Larry, It depends on how you load the elements. If you are creating the smaller objects by first loading the full objects, then just save the time and use the full ones. If however you are loading the DisplayObjects directly via a Hibernate query of course that will be magnitudes smaller. Also

RE: Session size

2004-05-27 Thread Zhang, Larry \(L.\)
: Session size Mike, Good suggestions. I was dealing with something like this recently and decided that for me, adding caching at the DAO level: e.g. List userList = UserDAO.getAllUsers(); would offer the biggest performance benefit since it would be: (a) application wide, instead of per

Re: Session size

2004-05-27 Thread Riyad Kalla
me sort of mutlithreaded access to this > >>collection. > >> > >>Riyad Kalla wrote: > >>>Larry, > >>>Good question. I am curious what others think about this situation as > >>>well. > >>> > >>>On Thursday 27 May 200

Re: Session size

2004-05-27 Thread Paul Barry
hursday 27 May 2004 08:24 am, Zhang, Larry (L.) wrote: It is apparent true that if the session size is big, the performance will be negatively affected. The question is that how to actively control the size of session. Let's discuss this question: I have a page which displays all the subordinat

RE: Session size

2004-05-27 Thread Zhang, Larry \(L.\)
second part of question) at all? Thanks. Larry -Original Message- From: Mike Zatko [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 11:50 AM To: Struts Users Mailing List Subject: Re: Session size I personally think its too big. Large amounts of data like that should be put in

Re: Session size

2004-05-27 Thread Riyad Kalla
ection. > > Riyad Kalla wrote: > >Larry, > >Good question. I am curious what others think about this situation as > > well. > > > >On Thursday 27 May 2004 08:24 am, Zhang, Larry (L.) wrote: > >>It is apparent true that if the session size is big, the perform

Re: Session size

2004-05-27 Thread Mike Zatko
this situation as well. On Thursday 27 May 2004 08:24 am, Zhang, Larry (L.) wrote: It is apparent true that if the session size is big, the performance will be negatively affected. The question is that how to actively control the size of session. Let's discuss this question: I have a page which di

Re: Session size

2004-05-27 Thread Riyad Kalla
Larry, Good question. I am curious what others think about this situation as well. On Thursday 27 May 2004 08:24 am, Zhang, Larry (L.) wrote: > It is apparent true that if the session size is big, the performance will > be negatively affected. The question is that how to actively contr

Session size

2004-05-27 Thread Zhang, Larry \(L.\)
It is apparent true that if the session size is big, the performance will be negatively affected. The question is that how to actively control the size of session. Let's discuss this question: I have a page which displays all the subordinates of a manager, for some reasons I want to cre