I would have expected the tutorials to work without any changes, since it already uses localhost:1099.
Looking at the exception stacktrace, I suspect it is related to the user's hostname or maybe the location where JBoss AS is installed.
Eivind, can you post what the hostname of your system is? Also what exact path is JBoss AS installed at?