For avoiding console you need to start as a service.
For linux example is given in bin directory - the file is jboss_init_redhat.sh. In the file you need to give your JBoss installation path.
So your command would be sh jboss_init_redhat.sh start and it will start the JBoss without console.
But I have one more problem here
when I started the JBoss with root as well as normal login with above command I got the message "su: user jboss does not exist". I couldn't able to make out why this is comming.
As well as when I used command to stop the JBoss it is not stopping.
Can anybody help me to understand the message, as well as why JBoss is not stopping.
For windows user need to create their own script like
jboss_init_redhat.sh. Previously there was some link available on
http://www.alexandriasc.com/software/JavaService/index.html as mentioned by JBoss documents but now this is not working.
u need to change the script on the following part if u don't make use off a separate user to run JBoss under, guess u could change it from jboss to root, if u don't mind it.
#define the user under which jboss will run, or use RUNASIS to run as the current user
change it to
BTW do u have any experience on running JBoss as a windows service, we got still some troubles with it, to get it going stable, it sometimes abends the service with a nice DrWatson error. We are now using the JWinSC from http://www.cscare.com. This one seems to be more stable as the JavaService v1.2.3.