7 Replies Latest reply on Feb 2, 2017 8:46 AM by Andrea Hoffer

    Jboss cli problem - adding global-module

    igal pinhasi Newbie

      I'm trying to add global-module using the jboss cli or the modelNode

       

      The required xml should look like this:

       

      <subsystem xmlns="urn:jboss:domain:ee:1.0">

             <global-modules>

                <module name="org.apache.log4j" slot="main"/>

              </global-modules>

          </subsystem>

       

      when I tried to do it according to the jboss cli  it doesn't work.

      I'm not sure how should I refer  the <global-module> in the cli.

       

      following are two failures tries:

       

      [standalone@localhost:9999 /] /subsystem=ee/global-modules:add(module="org.apache.log4",slot="main")

      Node path format is wrong around 'global-modules' (index=14).

       

      [standalone@localhost:9999 /] /subsystem=ee/module=org.apache.log4:add(slot="main")

      Failed to get the list of the operation properties: "JBAS014739: No handler for read-operation-description at address [    ("subsystem" => "ee"),

       

       

      Any suggestion ???