When using domain, you need to specify which profile (in domain.xml) the jdbc-driver should be added to. The following command
adds a jdbc-driver to the default profile.
As he use the "full-ha" profile the command is
Also you need to add the module to the "modules/org/postgresql/main" directory.
Tip: you might create the module with the CLI but you need to have the "module add ..." command with the CLI disconnected as it works only connected if there is a standalone server