This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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?
 
Similar Threads
Problem executing a command after startup(OSX 10.7)
Trouble launching Tomcat as daemon upon Mac startup
Trouble figuring out why Tomcat isn't launching on startup
How to get new file types recognized for drag&drop?
Starting JBoss