How to use regular expressions in module name while configuring global module in EAP 6?

Solution In Progress - Updated -

Issue

  • Getting the following error when trying to use the property file:
08:08:46,848 ERROR [org.jboss.msc.service.fail] [1987] (MSC service thread 1-3) MSC000001: Failed to start service jboss.module.service."deployment.performancereporting.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.performancereporting.war".main: JBAS018759: Failed to load module: deployment.abc.war:main
............
Caused by: org.jboss.modules.ModuleNotFoundException: com.abc.gfsecurity.${client-name}:main

The configuration file contains :

<subsystem xmlns="urn:jboss:domain:ee:1.2">
            <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
            <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
            <annotation-property-replacement>false</annotation-property-replacement>
            <global-modules>
              <module name="com.broadridge.gfsecurity.${client-name}" slot="main" />
             </global-modules>
        </subsystem> 

How to resolve the same?

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.