Is there a way to check if global-module exists or not on JBoss EAP 7/6?

Solution Unverified - Updated -

Issue

Considering the global-modules section detailed below, in the ee subsystem the standalone.xml configuration file:

<subsystem xmlns="urn:jboss:domain:ee:1.2">
 <global-modules>
     <module name="sample"></module>
 </global-modules>
  • How to check to see if this module named sample exists under global-module using the CLI if statement?
  • How to check if a certain module name exists in global-module or not? How to install one in case it is not there already?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content