This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!