This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
For the most part, it's not a good idea to attempt to consort with threads in a process unrelated to your own. Among other things, they may be running on a seperate CPU, in a separate address space or be in some other way not part of the same universe as your process.
However, a bigger question is "why stop JBoss?" One of the features that JBoss excels at is on-the-fly app updating. In most cases, it's sufficient to simply deploy a new copy of your webapp and JBoss will shut down the old copy and start the new one. And it takes a lot less time than restarting the entire app container.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Oct 18, 2005
Yes, thats very true. I need not restart the JBoss. Anyhow, to make the script wait, I can use this: sleep 10s this will make the script wait for 10 secs where 's' is a suffix to indicate seconds. Thanks.