IntelliJ Java IDE
The moose likes JBoss and the fly likes run jboss in linux background Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "run jboss in linux background" Watch "run jboss in linux background" New topic
Author

run jboss in linux background

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 388
i install jboss3.2 in my redhat8,i go to the bin directory of jboss,the type "run -c all" command,the jboss start,but after it finish the starting,i find that the jboss run in "preemptive" mode,i can't do any other thing,if i press "ctr+c" the jboss stop.
who can tell me how i can start the jboss in background,then i can do the other job such as copy file........... in the frontground?

the next question is how can i config the linux launch the jboss during the booting procedure automatically?

thank you!
Jeff Shelley
Ranch Hand

Joined: May 21, 2003
Posts: 70
Here are some scripts I'm using

start.sh
LOG_FILE=./jboss/server/default/log/jboss.out
nohup ./jboss/bin/run.sh >$LOG_FILE 2>$LOG_FILE &

stop.sh
./jboss/bin/shutdown.sh -S

log.sh - this will watch the log file
tail -f --sleep-interval=.5 ./jboss/server/default/log/jboss.out

As far as starting jboss as a service... http://www.jboss.org/wiki/Wiki.jsp?page=StartJBossOnBootWithLinux


It's almost Friday
 
IntelliJ Java IDE
 
subject: run jboss in linux background
 
Threads others viewed
Connection pooling
schedule task
linux beginner to conifg the jboss
How to run more than one JBoss 4.x server in one m/c
Couldn't start JBoss AS as Windows service
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture