This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Session-timeout problem on Oracle application server  RSS feed

Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
currently I have a ws deployed on Oracle 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).

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!