• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session-timeout problem on Oracle 10.1.2.0.2 application server

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic