Skip to Content
avatar image
Former Member

BO 4.1 SP6 batch restart SIA And tomcat

we are running a boxi restart jobs through windows batch file which is getting called by bmc control m tool.

the start and restart jobs are called parallel on both servers and we were facing issue where the sia and tomcat automatically restarts even though it was stopped on windows server.

This was working fine for year but has now causing this issue.

The BO server is clustered with server1 as main server and server 2 is server on windows bo 4.1 sp6

Commands used in the windows batch file

@echo off

@echo off

@echo off

@echo off

Please could you advise .
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Feb 22, 2018 at 04:28 PM

    Can you make sure after issuing the stop command, those services are not exists in task manager? if they still exists kill them, so it will stop completely. if you don't do that, sometimes, even though you execute the stop command, it will restart them automatically before issuing start command.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 22, 2018 at 05:23 PM

    Hello navin mahindroo,

    Carefully looking at the script and you need to change order of your start and stop,

    Stop - SIA

    Stop - Tomcat

    Start - Tomcat

    Start - SIA

    I would suggest to put wait between stoping/starting SIA and Tomcat


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 23, 2018 at 09:45 AM

    Hi Yogesh,

    we have put the implemented these steps in the above order as you have mentioned and added wait time of around 10 mins after sia stop and 3 mins after tomcat stop.

    But still have stopping the tomcat/sia automatically restarts in windows. after few secs

    how do we prevent this .

    This causes the issue in the batch as when we start tomcat/sia we get the message. the requested service has already been restarted.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 28, 2018 at 08:11 AM

    Hi Navin,

    Based on your explanation, there are two ways this can happen.

    1. Task Scheduler of Windows (Assuming your BO server is on windows)

    Check the Windows Task scheduler, if it has any event that listens on BO services. Its possible that someone has scheduled a task to restart BO services if they are not running.

    2. BMC control-m scheduler

    Check through the control-m jobs if there is any monitoring for BO services. Its possible that control-m job would be monitoring the BO services and if they are down, it would be scheduling a job to restart the BO services..

    Is this just happening in PROD?


    Kunal Kharat

    Add comment
    10|10000 characters needed characters exceeded