Bug 974933 - Inconsistent message is shown when rhc threaddump for a scaled up app

Fix for jbosseap and jbossews cartridges