add support for JBoss 6 and add "AS" to display names