The JBoss application server configuration is almost identical to the Apache Tomcat configuration and you should follow the instructions for Tomcat installation.
There is one additional step. You should create a file named jboss-deployment-structure.xml
and place this file in the WARS META-INF or the WEB-INF directory. The content of the file should be:
<jboss-deployment-structure>
<deployment>
<!-- Exclusions allow you to prevent the server from automatically adding some dependencies -->
<exclusions>
<module name="org.slf4j" />
<module name="org.slf4j.impl" />
</exclusions>
</deployment>
</jboss-deployment-structure>