-
1. Re: EAP6.1 CLI module add
ssilvert Jun 24, 2013 8:10 AM (in response to zulk666)The module command ony works on a local AS instance. If you are trying to install a module on a remote file system it won't work.
Stan
-
2. Re: EAP6.1 CLI module add
wdfink Jun 24, 2013 12:11 PM (in response to zulk666)1 of 1 people found this helpfulin this case it is not remote or local, but in domain mode this feature is not supported.
The trick is to use that command without '-c' or even if the domain/host is down. In this case the module is added
For domain mode there is a upcomming feature to 'patch' the server, this can be used to add modules in a domain to distrubute the module.
-
3. Re: EAP6.1 CLI module add
ssilvert Jun 24, 2013 12:31 PM (in response to wdfink)I'm fairly certain it will work even in domain mode if your JBOSS_HOME points to a local file system. The module command looks at JBOSS_HOME and nothing else. So you need to connect CLI to some server to get started then install to JBOSS_HOME.
Stan
-
4. Re: EAP6.1 CLI module add
wdfink Jun 24, 2013 1:06 PM (in response to ssilvert)Stan,
The JBOSS_HOME does not need to be set.
If you call the command local on the system it will work, but only disconnected or if you run the server in standalone mode.
If you connect and the server is a domain the 'module' command is not available, checked with AS7 EAP6.0 and EAP6.1
-
5. Re: EAP6.1 CLI module add
zulk666 Jun 25, 2013 2:24 AM (in response to zulk666)Thanks
It work when I run jboss-cli.sh without -c. Good enough for me.