Previous Topic: Oracle Database Worksheet

Next Topic: JBoss Windows Service Fails to Start


Configure JBoss as a Windows Service

When you configure the JBoss application server as a web service, it automatically runs when the computer starts.

To configure JBoss as a Windows service

  1. Browse to the JBoss community download website and download the jboss-native-2.0.9-windows-x86-ssl.zip file.
  2. Copy the jboss-native-2.0.9-windows-x86-ssl.zip file to the following directory:
    gm_install\eurekify-jboss
    

    Note: gm_install is the CA GovernanceMinder installation directory.

  3. Decompress the file to the directory in Step 2.

    New directories and files are created.

  4. Create a backup of the service.bat file in the ...\jboss-native-2.0.9-windows-x86-ssl\bin subdirectory.
  5. Edit the service.bat file in the ...\jboss-native-2.0.9-windows-x86-ssl\bin subdirectory as follows:
    1. Search the file and replace the string run.bat with the string eurekify.bat.
    2. Locate and delete the following strings in the file:
      • > run.log
      • >> run.log
      • > shutdown.log
      • >> shutdown.log
      • 2>&1
    3. Save changes to the file.
  6. Open a command line window from the Start menu and navigate to this directory:
    ...\jboss-native-2.0.9-windows-x86-ssl\bin
    
  7. Enter service install.

    A confirmation message appears after the JBoss web application service is installed.

  8. Open the Windows Control Panel, and double-click Administrative Tools, Services.

    The Services application window appears.

  9. Locate and right-click the JBoss Application Server entry, and select Properties.
  10. Change the Startup Type to Automatic, click OK and exit the Services application.
  11. Restart the computer.
  12. Verify CA GovernanceMinder log files to verify that the JBoss Application Server starts.

    The JBoss is configured as a Windows service.

This section contains the following topics:

JBoss Windows Service Fails to Start