Ran into the situation where the JAVA_HOME in the agent user's context was wrong, causing a failure of the action. All JBoss actions should have JAVA_HOME as an input so that this env var can be set inline versus having to create a separate action since this is such a potentially common situation.