Creating a TIBCO Module

In some cases, additional external modules must be created to configure out-of-the-box functionality. Create the module.xml file to provide access to classes that are defined in JARs.

    Procedure
  1. Navigate to the $JBOSS_HOME/modules/system/layers/base/com folder and create the following hierarchical folders: tibco/gdsn/main
  2. Navigate to $MQ_HOME\plugins\gdsn\version\lib\props and copy the GDSNProps.jar file and place it in the $JBOSS_HOME\modules\system\layers\base\com\tibco\gdsn\main folder.
  3. Create a module.xmlfile at $JBOSS_HOME/modules/system/layers/base/com/tibco/gdsn/main and define the actual JAR file inside the module.xml file. See the following sample:
    <?xml version="1.0" encoding="UTF-8"?>
    <module xmlns="urn:jboss:module:1.1" name="com.tibco.gdsn">
      <resources>
        <resource-root path="GDSNProps.jar"/>
      </resources>  
    </module>
    
  4. Save the module.xml file
  5. Open the standalone.xml file located in the $JBOSS_HOME/standalone/configuration directory.
  6. Add the TIBCO module to the global modules list in the <subsystem xmlns="urn:jboss:domain:ee:4.0"> section.
    <subsystem xmlns="urn:jboss:domain:ee:4.0"> 
          <global-modules>
              <module name="com.tibco.gdsn" slot="main"/>
          </global-modules>
     </subsystem>
  7. Save the standalone.xml file.