Add the following block after the “” entry for H2:Ĭom.Ĭom.Īfter you’ve added that, bounce your server and you should see the following messages in the log file to let you know that the driver was loaded: You should see a reference to the H2 JDBC driver here. WILDFLY_HOME/standalone/configuration/standalone.xml), and navigate to the “” section. Open the configuration file you’re using (e.g. Next, we need to tell Wildfly about the new JDBC driver. My system is using JRE 9, yours might be using something different. The path attribute for the resource-root node should contain the name of the JAR file you extracted. WILDFLY_HOME/modules/system/layers/base/com/microsoft/sqlserver/mainĮxtract the appropriate JDBC jar file from within the archive and place it in that folder then create a module.xml file with the following content: Once that’s done downloading, you’ll need to create the following folder: I would recommend downloading the tar.gz file. The first thing you’ll need is the jar file containing the JDBC driver. This post will show you how to do the same thing for Microsoft SQL Server. In a previous blog post, I walked you through installing MySQL’s JDBC driver into Wildfly. Update: – Corrected path for JDBC driver.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |