How to kill active sessions without having to restart Jboss instances or waiting for session timeout
Issue
- We are performing load tests, which requires running multiple test runs. We would like to be able to run a script to kill all of the sessions created by the first test run, before we start the second test run. We have 18 servers in our environment, each with 4 JBoss instances. It takes a long time to restart the apps, and it would also take a long time to list all of the sessions and kill them all - sometimes we have 1500 sessions active on the instance. Is there any command to kill all active sessions?
- How can I destroy all active sessions without doing a hot-deploy of the application ?
- We have an errant AJP session. Is there a way to kill an individual session without restarting the enter application server?
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.x
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.