How to create EAP6 custom modules using CLI ?

Solution Verified - Updated -

Issue

  • Is there a way to create JBoss EAP6 Custom Modules (including the directory structure) with the help of CLI ?
  • Is it possible to add multiple resources to a module? How can this be done through CLI?
  • How do I deploy a module in domain mode ?
  • Why the error Module xyz already exists thrown when trying to install module xyz using CLI command on a remote JBoss instance?
  • How can I create module definition ? I need to create modules for EAR out of my EAR jars under lib. How can I use tooling to automatically generate modules structure and XML files for my jars?

Environment

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