How To add / remove module to global-modules using CLI in JBoss EAP 6

Solution Verified - Updated -

Issue

  • I'm not able to add a module to the global-modules section using CLI, I only get the failure description:
[standalone@localhost:9999 /] /subsystem=ee:write-attribute(name=global-modules, value=["example.conf"])
{
    "outcome" => "failed",
    "failure-description" => [
        "JBAS014798: Validation failed for global-modules",
        "JBAS014746: name may not be null"
    ],
    "rolled-back" => true
}

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0 - Beta

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