I downloaded JBoss Application Server 5 and successfully deployed a war file. I copypasted the Hello.war which has a simple index.jsp file into
\\jboss-5.1.
I built the following ant-task for deployment based on the jboss deployment docs:
start deployment ... deployment ok!
${jboss.deploy.dir} is set to standalone/deployments
${jboss.deploy.dir}
standalone/deployments