h1. Problem
Some applications or customer code which use the REST API do not always logout and release their authorization tokens. Eventually the number of available tokens is exhausted and subsequent token requests fail causing the UI to become unavailable or applications to display errors.
This issue was tracked in GWMON-12686 & GWMON-12580
h1. Solution
We have provided an updated war file which forces the expiration of all tokens when the max limit is reached. Also an entry is logged when this happens to show which applications were using the tokens that were expired and how many.
Download the patch and extract it into place:
{attachments:patterns=TB7.1.0-3.foundation-webapp.war.tgz}
{code:title=single jboss instructions}
tar czvf 7.1.0.foundation-webapp.war.tgz \
/usr/local/groundwork/foundation/container/jpp*/standalone/deployments/foundation-webapp.war
tar xvf TB7.1.0-3.foundation-webapp.war.tgz -C /usr/local/groundwork/foundation/container/jpp/standalone/deployments/
su - nagios -c "touch /usr/local/groundwork/jpp/standalone/deployments/foundation-webapp.war.dodeploy"
{code}
{code:title=dual jboss instructions}
tar czvf 7.1.0.foundation-webapp.war.tgz \
/usr/local/groundwork/foundation/container/jpp*/standalone/deployments/foundation-webapp.war
tar xvf TB7.1.0-3.foundation-webapp.war.tgz -C /usr/local/groundwork/foundation/container/jpp2/standalone/deployments/
su - nagios -c "touch /usr/local/groundwork/jpp2/standalone/deployments/foundation-webapp.war.dodeploy"
{code}
Some applications or customer code which use the REST API do not always logout and release their authorization tokens. Eventually the number of available tokens is exhausted and subsequent token requests fail causing the UI to become unavailable or applications to display errors.
This issue was tracked in GWMON-12686 & GWMON-12580
h1. Solution
We have provided an updated war file which forces the expiration of all tokens when the max limit is reached. Also an entry is logged when this happens to show which applications were using the tokens that were expired and how many.
Download the patch and extract it into place:
{attachments:patterns=TB7.1.0-3.foundation-webapp.war.tgz}
{code:title=single jboss instructions}
tar czvf 7.1.0.foundation-webapp.war.tgz \
/usr/local/groundwork/foundation/container/jpp*/standalone/deployments/foundation-webapp.war
tar xvf TB7.1.0-3.foundation-webapp.war.tgz -C /usr/local/groundwork/foundation/container/jpp/standalone/deployments/
su - nagios -c "touch /usr/local/groundwork/jpp/standalone/deployments/foundation-webapp.war.dodeploy"
{code}
{code:title=dual jboss instructions}
tar czvf 7.1.0.foundation-webapp.war.tgz \
/usr/local/groundwork/foundation/container/jpp*/standalone/deployments/foundation-webapp.war
tar xvf TB7.1.0-3.foundation-webapp.war.tgz -C /usr/local/groundwork/foundation/container/jpp2/standalone/deployments/
su - nagios -c "touch /usr/local/groundwork/jpp2/standalone/deployments/foundation-webapp.war.dodeploy"
{code}