File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session-timeout problem on Oracle 10.1.2.0.2 application server

 
Mat Anthony
Ranch Hand
Posts: 259
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
currently I have a ws deployed on Oracle 10.1.2.0.2 app server. I have set the session-timeout to 3 (i.e. 3min) in web.xml.
I have a client that makes 2 web service request every second. Looking at the application debug logs (i.e. log4j) the sessions
seem to be destroyed by the server at the same time. Hence if the client has been calling for 10 min this would equate to (2*60*10=1200 sessions)
created on the app server, the server then attempts to destroy 12000 all these at the same time, why?
I thought that a session lifecycle for a given user starts with the first request from that user.
It ends when the user session terminates (such as when the user quits the application or there is a timeout).

Mat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic