JBoss Installation

See here for detailed installation instructions. You'll have to register to view it. I'm writing below the steps that worked out of the box for me.
  1. Download JBoss 4.0.3 SP1 from http://www.jboss.com/products/jbossas/downloads
  2. Begin installing by entering `java -jar jboss-4.0.3SP1-installer.jar' on prompt.
  3. Select `all', that is, a full J2EE profile setup. Use default selectiosn for the rest of the configuration options. You might want to change the admin password though.
  4. do `cd jboss-4.0.3SP1/bin' and then `sh run.sh &'. That should start the server.
  5. In the browser goto http://dns_name or IP:8080 for the JBoss start page.
  6. If you don't see it, something is wrong. Check the messages JBoss output on startup for more info.