Hi Moses,
Thanks you for your help. I'll give it a try :-)
Miguel Lamy
contr...@googlegroups.com on quinta-feira, 28 de Junho de 2012 at 18:44 wrote:
:Hi Miguel. It looks like the sc command is erroring, but the error's not
:> Miguel A. Lamy on ter a-feira, 26 de Junho de 2012 at 09:16 wrote:
:> :Hi
:> :
:> :I'm using controltier 3.6.
:> :
:> :I have a random behavior executing "sc" command in windows.
:> :Sometimes it seems it's executed at all and sometiimes is not executed.
:> sc is used when checking if a
:> :service is down in stop workflow.
:> :
:> :I post an output of this weird behavior. Please note the two diferent
:> behavior on assertserviceis down. I
:> :hope someone can help me avoid this random behavior.
:> :Thank you.
:> :
:> :Output of a failed execution (sc command does not output)
:> :
:> :[Administrator@centauro9 SIAG.SIAGSiagJBossServer.siag Deploy][INFO]
:> begin workflow command (1/5) -> "Stop "
:> :...
:> : 10:21:07 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag Stop][WARN] Start:
:"Conditionally stops the
:> :JBoss Server" commands: assertServiceIsDown
:> : 10:21:07 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag Stop][INFO] begin workflow
:command (1/1) ->
:> :"assertServiceIsDown " ...
:> : 10:21:11 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:> : 10:21:11 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:The "SIAG"
:> :service is not running
:> : 10:21:11 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag Stop][INFO] end workflow
:command (1/1) ->
:> :"assertServiceIsDown "
:> : 10:21:11 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag Stop][INFO]
:> :[command.timer.SIAG.JBossServer.Stop: 20.283 sec]
:> : 10:21:11 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag Stop][WARN] Workflow
:completed. execution
:> :time: 20.283 sec
:> : 10:21:11 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag Deploy][INFO] end workflow
:command (1/5) ->
:> :"Stop "
:> :
:> :
:> :Output of a correct execution on same server:
:> :
:> :
:> :[Administrator@centauro9 SIAG.SIAGSiagJBossServer.siag Deploy][INFO]
:> begin workflow command (1/5) -> "Stop "
:> :...
:> : 08:50:44 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag Stop][WARN] Start:
:"Conditionally stops the
:> :JBoss Server" commands: assertServiceIsDown
:> : 08:50:44 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag Stop][INFO] begin workflow
:command (1/1) ->
:> :"assertServiceIsDown " ...
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:SERVICE_NAME:
:> :SIAG
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:TYPE : 10
:> :WIN32_OWN_PROCESS
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:STATE : 4 RUNNING
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:(STOPPABLE,
:> :NOT_PAUSABLE, IGNORES_SHUTDOWN)
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:WIN32_EXIT_CODE
:> :: 0 (0x0)
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:> :SERVICE_EXIT_CODE : 0 (0x0)
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:CHECKPOINT : 0x0
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag assertServiceIsDown][WARN]
:WAIT_HINT : 0x0
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag Stop][INFO] Running handler
:command ->
:> :"stopServiceWrapper "
:> : 08:50:45 [Admini...@centauro9SIAG.SIAGSiagJBossServer.siag stopServiceWrapper][WARN]
:>
:
:--