karthik.raju:

Sure, you could probably do it easily enough. But if you have to support it, you probably won't appreciate having written it. Many times, you'll think the task is pretty simple and straightforward, you'll write it, and implement it.

...and then three weeks later, about 11:30 PM on a Saturday, it'll fail because one of the many special cases possible triggers. And you get a phone call, only to discover "Oh, yeah, the WAR files are on a remote store that was down for maintenance so the deploy didn't occur, so it didn't get deployed properly." So you make the fix, reimplement it and go back to sleep.

When you're managing production processes, there can be more special cases than you care to think about. So if you have to roll your own, think a good bit about handling the problems that will eventually arise, then think some more. But if you can find an off-the-shelf solution that manages the process for you, why not save yourself the trouble?

...roboticus

When your only tool is a hammer, all problems look like your thumb.


In reply to Re^3: Start and Stop JBoss and Websphere servers by roboticus
in thread Start and Stop JBoss and Websphere servers by karthik.raju

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.