in order to allow chkconfig to run a file in etc/init.d or wherever as a start up service the file must have a descriptor header that tells chkconfig what its
run level - startup - shutdown
are - this is set in the following way
#!/bin/sh
#
# chkconfig: 3 87 20
# description: Description of executed protram
then type
chkconfig serviceName --add
chkconfig jboss on
this will then allow init.d to auto run the service next time you reboot linux