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 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.