Thanks for the tips guys. Will have a look at these. -----Original Message----- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: 21 November 2003 15:01 To: Struts Users Mailing List Subject: RE: Actions which create sessions seem to hang
All that will do is get you the names of the attributes bound to a *single* session. A common approach to session counting in a Servlet 2.3 container is to use javax.servlet.http.HttpSessionListener. For either Servlet 2.2 or 2.3, you can make use of javax.servlet.http.HttpSessionBindingListener, but it's more of a manual process. Alternatively, JBoss might provide some sort of admin console or JMX access to the current sessions. Quoting chekuri raju <[EMAIL PROTECTED]>: > hi brian , > > java.util.Enumeration enum = session.getAttributeNames(); > > may be this will help u find out how many sessions are there. > > cheers > srinivas > > Brian McSweeney <[EMAIL PROTECTED]> wrote: > Hi Mike, > > Thanks very much for the reply. I think in jboss there is a standard > session timeout anyway of 30 minutes. I've changed this now to 10 > minutes. Is there a way to tell how many sessions you have running on an > application server? > > Cheers, > > Brian > > > -----Original Message----- > From: Mainguy, Mike [mailto:[EMAIL PROTECTED] > Sent: 21 November 2003 13:48 > To: 'Struts Users Mailing List' > Subject: RE: Actions which create sessions seem to hang > > Perhaps you don't have a session timeout set in JBoss and you are > hitting an > upper limit (65K sessions or something)? > > worse is better > > -----Original Message----- > From: Brian McSweeney [mailto:[EMAIL PROTECTED] > Sent: Friday, November 21, 2003 6:11 AM > To: 'Struts Users Mailing List' > Subject: Actions which create sessions seem to hang > > > Hi guys, > > This is a bit of a vague question I know, but perhaps someone can help. > It > may be a struts issue or a jboss issue. I'm not sure. > > I'm using JBoss 3.2.2 and struts. After about 24 hours of my application > running, struts actions which create a http session seem to hang. I have > no > idea why this would be. If I restart jboss the behaviour goes away. Is > there > anything I can do to see why this would be? Or what I could do about it? > Any > help would be so greatly appreciated. > > Thanks very much, > > Brian -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]