Customizing Resource Bundles on JBoss WildFly Application Server

You must perform the specific steps to customize the resource bundles on the JBoss WildFly Application Server.

Before you begin

Create a custom resource bundle using the Resource Bundle editor in ibi MDM Studio and then deploy the customized resource bundle at the enterprise or an application level in ibi MDM. For information, see ibi MDM Studio Repository Designer User Guide.

After you deploy the custom resource bundle in ibi MDM, the custom resources are created in the following location:

  • For Windows: %MQ_HOME%/custom/resources/com/tibco/mdm/custom/main/com/tibco/mdm/properties/mdm
  • For Linux: $MQ_HOME\custom\resources\com\tibco\mdm\custom\main\com\tibco\mdm\properties\mdm
The module.xml file is created in
  • For Windows: %MQ_HOME%/custom/resources/com/tibco/mdm/custom/main
  • For Linux: $MQ_HOME\custom\resources\com\tibco\mdm\custom\main

 
    Procedure
  1. Navigate to $JBOSS_HOME/bin or %JBOSS_HOME%\bin directory and open the standalone.sh or standalone.bat file.
  2. Add the following entry:
    • For standalone.bat:
      if "x%JBOSS_MODULEPATH%" == "x" (
      set "JBOSS_MODULEPATH=%JBOSS_HOME%\modules;%MQ_HOME%\custom\resources"
      )
    • For standalone.sh:
      if [ "x$JBOSS_MODULEPATH" = "x" ]; then
          JBOSS_MODULEPATH="$JBOSS_HOME/modules:$MQ_HOME/custom/resources"
      fi
       
  3. Save the standalone.bat or standalone.sh file.
  4. Navigate to $JBOSS_HOME/standalone/configuration or %JBOSS_HOME%\standalone\configuration directory and open the standalone.xml file.
  5. Add the following global module entry:
    <subsystem xmlns="urn:jboss:domain:ee:4.0">
    <global-modules>
    <module name="com.tibco.mdm.custom" slot="main"/>
    </global-modules>
  6. Save the standalone.xml file.
What to do next
  1. Restart ibi MDM server.
  2. Log in to ibi MDM and verify the customized text.