You don't really *need* the native connectors for having the AS run as a service under Linux, the scripts you need are under bin/init.d.
Do you know if there is any document or step to show how to use the bin/init.d to create jboss service under Linux?
For a system with java set up you can probably get away with doing a
ln -s /opt/jboss-as-7.1.1/bin/init.d/jboss-as-standalone.sh jboss
chmod u+x /opt/jboss-as-7.1.1/bin/init.d/jboss-as-standalone.sh
I used that jboss-as-standalone.sh, but there is one line in it
# Source function library.
which indicates to call functions library, but the problem is on my ubuntu server, there is no such file etc/init.d/functions actually.
The init.d scripts provided with a JBoss distribution are (not surprisingly) written for Red Hat style linux distributions. Personally, I use Fedora Core or Centos for development servers.
The Ubuntu distribution is fundamentally different in many ways and I suspect that you may need to work out what it's init.d style mechanism is and build your own start/stop scripts for it.
There are some other tutorials at
as I understood, the script itself mostly works, it the startup procedure that differs among distribution types...