wildfly FAQ

Настройка валидации data-source в wildfly(standalone)

./bin/jboss-cli.sh -c command="/subsystem=datasources/data-source=PostgresPool:write-attribute(name=background-validation,value=true)"
./bin/jboss-cli.sh -c command="/subsystem=datasources/data-source=PostgresPool:write-attribute(name=background-validation-millis,value=10000)"
./bin/jboss-cli.sh -c command="/subsystem=datasources/data-source=PostgresPool:write-attribute(name=validate-on-match,value=false)"

Troubleshoot JGroups and Multicast IP Issues

java -cp /home/wildfly/wildfly/modules/system/layers/base/org/jgroups/main/jgroups-3.6.10.Final.jar org.jgroups.tests.McastSenderTest -mcast_addr 224.10.10.10 -port 5555

java -cp /home/wildfly/wildfly/modules/system/layers/base/org/jgroups/main/jgroups-3.6.10.Final.jar org.jgroups.tests.McastReceiverTest -mcast_addr 224.10.10.10 -port 5555