Session timeout configuration is not working for Smart IT Sessions. |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers. Workaround - 1) Stop all the SMART IT Service 2) Remove all the logs from SMART It folder C:\Program Files\BMC Software\Smart_IT_MyIT\Smart_IT_MyIT\Logs from all the smart it Server 3) Remove the below folder after taking backup "C:\Program Files\Apache Software Foundation\Tomcat8.0\work" folder Catalina. 4) Go to C:\Program Files\BMC Software\Smart_IT_MyIT\Smart_IT_MyIT\ux\web-inf There we have a file called web.xml, take the backup and open it EDIT mode, Add and entry v2/following/stream string under notRefreshingSessionUrls section as shown below <filter> <filter-name>SessionExpirationFilter</filter-name> <filter-class>com.bmc.bsm.myit.filter.SessionExpirationFilter</filter-class> <init-param> <param-name>notRefreshingSessionUrls</param-name> <param-value>v2/following;v2/activity_stream/notifications;v2/activity_stream;v2/timeline</param-value> </init-param> </filter>Change to <filter> <filter-name>SessionExpirationFilter</filter-name> <filter-class>com.bmc.bsm.myit.filter.SessionExpirationFilter</filter-class> <init-param> <param-name>notRefreshingSessionUrls</param-name> <param-value>v2/following/stream;v2/following;v2/activity_stream/notifications;v2/activity_stream;v2/timeline;sla;timeline</param-value> </init-param> </filter>Save the file. 4) Check the login Page , and test the scenario. Note 1: Please note that this configuration supports Update feeds autorefresh URL only, Ticket TimeLine URLS such as /timeline/change or /timeline/incident are not yet supported for session timeout under this configuration.
Note 2: This configuration is only for the Dashboard Screen. If the user is on any other screen, the session would not log out automatically. |