This document outlines an alternative approach to including a custom/external JDBC driver. The method outlined in the installation guide is to manipulate the aveksa.ear file, which is then deployed on top of wildfly. That method is best when running on a wildfly cluster, or if you're already modifying the ear.
This method, on the other hand, simply loads the JDBC driver as a module within wildfly, which is then useable by all wildfly applications (including your collectors). It works best when a simple approach is desired.
In the document, the jTDS driver is used as an example.
6 people found this helpful
For wildfly cluster Step 3.3 modify the file /home/oracle/wildfly/domain/configuration/domain.xml
Drivers tag is around line 1219 and Subsystem xmlns="urn:jboss:domain:ee:2.0"> is on line 1232
Ver 7.0.1 P01
*SQL Server
File Name sqljdbc4.jar
com/microsoft/sqlserver/main
driver-name SQLServerDriver
driver class com.microsoft.sqlserver.jdbc.SQLServerDriver
*DB2
File Name: db2jcc.jar and db2jcc4.jar
com/ibm/db2/main
driver-name DB2
driver class com.ibm.db2.jcc.DB2Driver