Question : Startng JBOSS at SLES boot time problem

I set jboss to run as a deamon (service). I also want to set it to start at boot time. However, I get a password prompt  of jboss in the console at boot time. how can I get jboss to start up at boot time without the password prompt?  I am using the jboss_init_suse.sh script

Answer : Startng JBOSS at SLES boot time problem

use an expect script.
1:
2:
3:
4:
5:
6:
7:
8:
#!/usr/bin/expect -f
 
set timeout -1
spawn (here goes your command)
match_max 100000
expect "*?assword:*"
send -- "yourpasswordhere\r"
expect eof
Random Solutions  
 
programming4us programming4us