Symantec IGA

Expand all | Collapse all

Setting Up JBoss (Wildfly 8.2) as a Windows Service

  • 1.  Setting Up JBoss (Wildfly 8.2) as a Windows Service

    Posted Jan 28, 2017 01:09 PM

    The following link points to the section in the CA Identity Manager 14.0 Installation Guide covering JBoss or Wildfly Post-Installation (JBoss or Wildfly Post-Installation - CA Identity Manager - 14.0 - CA Technologies Documentation ). The same content is provided in previous releases but the steps are out of date if you deploy using Wildfly 8.2 GA. The Wildfly 8.2 GA package includes a "windows services installer" which requires fewer changes and steps in install.

     

    Edit the "service.bat" file in the <wildfly_home>\bin\service folder as follows:

    1. Set the SHORTNAME, DISPLAYNAME and DESCRIPTION ...
      REM ==================================================================
      REM If more then one service is needed, copy this file to another name
      REM and use unique names for SHORTNAME, DISPLAYNAME, DESCRIPTION
      REM ==================================================================
      set SHORTNAME=im_jboss
      set DISPLAYNAME="CA Identity Manager - Wildfly Application Server"
      set DESCRIPTION="CA Identity Manager 14.0 deployed on Wildfly Application Server"
      REM ========================================================
    2. Set the JBoss admin user and password ...
      set JBOSSUSER=<jboss_admin>
      set PASSWORD=<password>

     

    The Usage block contains:
     Usage:
     service install [/controller localhost:9990] [/loglevel INFO] [/host [domainhost]] [/user username /password password]
     service uninstall
     service start
     service stop
     service restart
     
     The options for "service install":
     /controller : the host:port of the domain controller, default: 127.0.0.1:9990
     /loglevel : the log level for the service: Error, Info, Warn or Debug ^(Case insensitive^), default: INFO
     /host [domainhost] : indicated domain mode is to be used with an optional domain controller name, default: master
           Not specifying /host will install in standalone mode
     /user : username for the shutdown command
     /password : password for the shutdown command
     

    The service.bat file provided already handles using jboss-cli.bat to issue the shutdown command when the service is stopped.

     

    This wrapper should apply to Identity Manager and Identity Governance in a standalone or clustered mode.



  • 2.  Re: Setting Up JBoss (Wildfly 8.2) as a Windows Service

    Broadcom Employee
    Posted Jan 30, 2017 01:54 PM

    Enrique,  Thank you for the detailed post!  Great info