Revert "updated to new demo use"

This reverts commit 1764c892463f5cbc972c75ef746fd456dd7d459e.
fixed jboss7 profile