How to setup MariaDB JNDI on Wildfly 10?
问题 I'm trying to move my Tomcat web service to Wildfly 10. I thought it should be drag and drop into Wildfly's deployment folder and everything should be fine, but it seems not like that. This is my MariaDB datasource definition in standalone.xml : <datasource jndi-name="java:jboss/MariaDBDS" pool-name="MariaDBDS"> <connection-url>jdbc:mariadb://db_ip/db_name</connection-url> <driver>mariadb</driver> <security> <user-name>dbAcc</user-name> <password>dbPassword</password> </security> <validation>