In the bin directory there are three shell scripts that can be used to start JBoss AS at startup: jboss-init-*.sh. Take the one that most closely matches your distro and do the usual (edit the script for your environment, copy to /etc/init.d, etc.)
I am looking in the bin dir of the jboss-web-2.1.4.GA.zip file and I see startup.sh and shutdown.sh but there are no jboss-init*.sh files.
We aren't using the JBoss Application Server here. Just JBoss-web.
Ah, JBoss Web, I overlooked that part, sorry.
Well, any web page that describes setting up Tomcat 6.0 to run at startup would work since Web 2.x is a variation of Tomcat 6. Looking at a few of them, they offer similar advice which is to create a file similar to the bin/jboss-init-*.sh scripts in AS (which I would get and modify) and do the usual.
Thanks - I was thinking I might be try modifying a tomcat start script but thought I'd ask here first :-)