JBoss deployment works.  You need to make sure you have appropriate environment variables setup - i.e. JAVA_HOME and JBOSS_HOME before running.