For my standalone JBoss setup, which I placed in /opt/jboss, in my /opt/jboss/standalone/configuration/standalone.xml file...
I made the following changes to the virtual-server default-host tag...
<subsystem xmlns="urn:jboss:domain:web:1.2" default-virtual-server="default-host" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<access-log pattern='%h %l %u %t %r %s %b %{Referer}i %{User-Agent}i %S %T' prefix="access_log_"/>
</virtual-server>
</subsystem>