Previous Topic: Oracle Database WorksheetNext 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.

Follow these steps:

  1. Browse to the JBoss community download website and download the jboss-native-2.0.9-windows-x86-ssl.zip file.
  2. Copy and decompress 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.

    New directories and files are created.

  3. Create a backup of the service.bat file in the following subdirectory:
    gm_install\eurekify-jboss
    
  4. Edit the service.bat file in the gm_install\eurekify-jboss\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.
  5. Open a command line window from the Start menu and navigate to this directory:
    ...\jboss-native-2.0.9-windows-x86-ssl\bin
    
  6. Enter service install.

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

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

    The Services application window appears.

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

    The JBoss application server is configured as a Windows service.

This section contains the following topics:

JBoss Windows Service Fails to Start