Can CLI support for adding module layers and adding modules to those layers

Solution Verified - Updated -


  • There is custom layer in JBoss 'modules/system/layers/custom' to separate custom libraries from bundled one.
  • Can we configure additional folders inside JBoss using CLI?
  • Can CLI command like below will work?
    module add --module-layer=custom --slot=main --name=a.b.c --resources=pqr.jar --dependencies=xyz,lmn


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.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