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).
Session timeout hierarchy
- $tomcat_home/conf/web.xml - Changes the session timeout for all deployed applications(the path could differ in LINUX/UNIX)
- $your_webapp/WEB-INF/web.xml - Changes the session time-out for one specific application
- 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.
- 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
I have not searched for global session settings for SAP NetWeaver.