1 Reply Latest reply on Nov 19, 2013 8:06 AM by wdfink

    Module creatin using cli into one domain mode

    zatopek

      Hello

      i have configured one domain with 3 host.

      the domain, into the management ip doesn't have the localhost, 192.168.1.55 ip however has.

      when i connect to the domain for management i make:

      jboss-cli.sh  --connect controller=192.168.1.55:9999 --user=admin --password=password 

      it connect ok

      but when i try to create one docule using:

      module add --name=org.org.postgresql --resources=postgresql-9.3-1100.jdbc4.jar --dependencies=javax.api,javax.transaction.api

      appears this error:

      The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable).

       

      how can i create one moduole using cli?

       

      thanks

        • 1. Re: Module creatin using cli into one domain mode
          wdfink

          AS7 does not have such feaature. With later versions you will have a so called patch feature, with this it might be possible to install modules remote.

          For now the only possibility is to copy the module manually

          or

          leave the cli disconnected and use the module command to install it. In that case the CLI did not realize that the instance is a domain, but you need to do this for any slave host again.