aspose file tools*
The moose likes JBoss/WildFly and the fly likes Does anyone have a script to restart JBoss running on Mac? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Does anyone have a script to restart JBoss running on Mac?" Watch "Does anyone have a script to restart JBoss running on Mac?" New topic
Author

Does anyone have a script to restart JBoss running on Mac?

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm using JBoss 4.2.3.GA on Mac 10.7.4. In short, I'm looking for a script that will cleanly restart JBoss. Below is what I'm trying, which isn't working.

I created this script at /System/Library/LaunchDaemons/jboss4.plist with owner/group = root/wheel and 644 permissions:



I load it up using



but this restart script isn't working, I think because the second command is getting run without waiting for the first one to stop. Does anyone have a script that will do this?



Thanks, - Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does anyone have a script to restart JBoss running on Mac?