Leave feedback
  • StreamStudio HTTP Session Timeout

Write an Article
Friday 28 November, 2014
Ronnie Wilhelmsen Ronnie Wilhelmsen StreamServe Employee
3 likes 1970 views

How to change http session timeout for StreamStudio on Tomcat and SAP Netweaver JAVA Application Servers.

The settings presented below are not specific for StreamStudio. They are valid for any JAVA application deployed on the JAVA Application Server. There is to my knowledge no easy way of changing the http session timeout from within the StreamStudio JAVA application (other than changing the source code that is).

Tomcat

Session timeout hierarchy

  1. $tomcat_home/conf/web.xml - Changes the session timeout for all deployed applications(the path could differ in LINUX/UNIX)
  2. $your_webapp/WEB-INF/web.xml - Changes the session time-out for one specific application
  3. manual invocation of HttpSession.setMaxInactiveInterval(int[seconds]) - Programatically changes the session for one specific session object.

Attention! Each subsequent entry overrides others above. Restart server or application depending on change level.

SAP NetWeaver

  1. Netweaver Administrator -> Configuration Management -> Infrastructure -> Application Modules -> StreamStudio -> Context Tab. Click Define As Local Property and change the session timeout. Restart application. - Changes the session time-out for one specific application

image

I have not searched for global session settings for SAP NetWeaver.

 

Comments (0)

   


Post comment