File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Help in interpreting logs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Help in interpreting logs" Watch "Help in interpreting logs" New topic
Author

Help in interpreting logs

Greg Soulsby
Greenhorn

Joined: Feb 01, 2011
Posts: 9


In my logs I am getting the following messages each day. What do they mean? Are sessions lasting 30 minutes? Does that mean memory is taken up the for the 30 min? How do you work out much?

Nov 5, 2011 11:21:22 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: sessionCreated('5909F4F5B107F15177F8F9A8C3BCDC53')
Nov 5, 2011 11:33:34 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: sessionCreated('74C1BD2F508E52DED6A7E61C79C31712')
Nov 5, 2011 11:51:52 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: sessionDestroyed('5909F4F5B107F15177F8F9A8C3BCDC53')

I am having intermittent Java heap size problems and maybe this has something to do with it.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Are sessions lasting 30 minutes?

That might be the default, or your web app might be configured that way (in web.xml).

Does that mean memory is taken up the for the 30 min?

Yes. Not much, though, if you don't put anything into the session.

Note that JSP pages automatically create sessions for each user unless you specifically tell them not to (via <%@ page session="false" %>).
Greg Soulsby
Greenhorn

Joined: Feb 01, 2011
Posts: 9
Thanks Tim, sounds like I can relax about this particular message.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help in interpreting logs