How To End A User's Session in Tomcat?
search cancel

How To End A User's Session in Tomcat?

book

Article ID: 49024

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC Top Secret Top Secret - LDAP

Issue/Introduction

Description:

From time to time there might be some user's sessions active in TOMCAT, but user has gone.

Is there a way to manage and kill these orphan user's session?

Solution:

In order to manage TOMCAT's user sessions, you must implement MANAGER ROLE.

You have to update TOMCAT's tomcat-users.xml file like follows:

<tomcat-users>
<role rolename="manager"/>
<user username="tomcat" password="tomcat" roles="manager"/>
</tomcat-users>   
 *** End Of Data *** 

For WebAdmin r14.0, the path is:

/..../tomcat/conf 

For WebAndmin r15.0, the path is:

/..../tomcat-6.0.29/conf 

where /..../ is your install directory.

Recycle TOMCAT for these changes to take effect.

Environment

Release: TOPSEC00200-15-Top Secret-Security
Component: