Running BMC IT Business Management Suite as a Windows service


You can set up BMC IT Business Management Suite on the JBoss Application Server computer to run as a Microsoft Windows service.

To run BMC IT Business Management Suite as a Windows service on the JBoss Application Server

  1. Download the JBOSS native 2.0.8 from the JBoss website, http://www.jboss.org/jbossweb/downloads/jboss-native-2-0-8.

    For a 64-bit operating system, download the one that matches your processor architecture.
  2. Unzip the contents into a temporary folder (for example, C:\temp\jboss_native).
  3. Copy all files from C:\temp\jboss_native\bin into your $JBOSS_HOME\bin directory.
  4. Edit the service.batfile as follows:

    1. Find the following lines:

      set SVCNAME=JBAS50SVC
      set SVCDISP=JBoss Application Server 5.0
      set SVCDESC=JBoss Application Server 5.0.0 GA/Platform: Windows x64
    2. Change them to:

      set SVCNAME=BMC_ITBM_JBOSS_SERVICE
      set SVCDISP=BMC ITBM 8.1.02 Jboss Service
      set SVCDESC=Starts and Stops the JBOSS application server that houses the 8.1.02 BMC ITBM Application
    3. Under cmdStart and cmdRestart, locate call run.bat < .r.lock >> run.log 2>&1 and change to

      • For JBOSS 4.3

        call run.bat -b 0.0.0.0 < .r.lock >> run.log 2>&1
      • For JBOSS 5.1.1

        call run.bat -b 0.0.0.0 -c Production < .r.lock >> run.log 2>&1
      • For JBOSS 6.0

        set "JAVA_HOME=C:\Program Files\Java\jdk1.7.0_10"
        rem Previous line should be added only if you dont have JAVA_HOME specified as system variable
        set "JAVA_OPTS=%JAVA_OPTS% -XX:MaxPermSize=256m"
        rem Previous line should be added if you have Out of Memory issues when application is starting
        set "JAVA_OPTS=%JAVA_OPTS% -Djboss.server.default.config=standalone-full.xml"
        call standalone.bat -b 0.0.0.0 < .r.lock >> run.log 2>&1
  5. On the command line, type cd $JBOSS_HOME\bin.
  6. Execute the batch file by typing service.bat install.

    Note

    To make any changes (such as changing the name of the service), first execute service.bat uninstall, then make changes, and execute service.bat install again.

    Your service is now set up to run.

    Note

    When starting a service from the Services menu, the service will start in a few seconds, but BMC IT Business Management Suite will actually takes a few minutes to initialize. When the java process reaches 0% CPU utilization, the application is ready for use.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*