This tutorial was tested on jboss-4.2.2.GA and Apache apache-tomcat-6.0.14 but didnt use context as i prefered to deploy the jsp in webapps guys just one word of advice before you try these just make sure that tomcat and jboss properly work and that one of them only is set on 8080 the other set it on another port.