You can install jboss in your with 7 simple steps :
1) Download the JBOSS from their community site :
http://www.jboss.org/jbossas/downloads.html
I took JBoss 5.1.0-GA.
2) Extract it to your installation directory, say ‘/opt/jboss/’
$ unzip ./jboss-5.1.0.GA.zip -d /opt/jboss
3) Set the environmental variables to make the applications work
export JAVA_HOME=/opt/jdk1.6.0_23
export JBOSS_HOME=/opt/bin/jboss-5.1.0.GA
export PATH=$JAVA_HOME/bin:$PATH
4) Simply start the JBOSS server
$ /opt/jboss/bin/run.sh
5) Pack your applications into war file
$ jar -cvf helloworld.war *.jsp WEB-INF
The above command packs all jsp files into WAR package
6) Copy them into the default deploy directory in Jboss server.
$ cp ./helloworld.war $JBossHome/server/default/deploy/
7) Check it on your browser :
http://localhost:8080/helloworld/helloworld.jsp