JBossAS keeps log files in the ./server/default/log directory. You will want to look in the log file to see what error you are getting that is causing you to have to restart JBossAS. If you cannot figure out the reason, you can post the stack trace for the error and someone in the forum might be able to help. Fixing the problem is the best way to keep JBossAS up an running.
There is nothing built into JBossAS that will automatically notify you that it is in trouble and needs to be restarted.
Thank you. Big help!