Reputation: 601
First question is supported, to manage add module from one point to all host?
If I run my wildfly domain mode I can't run this
[[email protected]:9999 /] module add --name=com.oracle.jdbc --resources=/path/to/ojdbc6.jar --dependencies=javax.api,javax.transaction.api
answer:
The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable).
Upvotes: 0
Views: 1602
Reputation: 1
you need to execute jboss-cli.sh without -c or without --connect example:
[disconnected /] module add --name=com.oracle.jdbc --resources=/path/to/ojdbc6.jar --dependencies=javax.api,javax.transaction.api
then you jboss-cli.sh -c and execute host=master:reload
Upvotes: 0
Reputation: 3517
The module operation doesn't work in domain mode because it copies the files locally. One solution also is to use galleon to provision your modules
Upvotes: 3
Reputation: 601
I found a very good blog:
https://in.relation.to/2017/05/29/creating-patches-for-wildfly/
This works. If you will add a module to modules/com/.. then in the projekt you have to put modules/system/layers/base/com/..
So you can manage the differences of wildfly-s.
Upvotes: 0