For creating a module, you need to create the sub-directory structure.
Note: Create any one of the following directory structure specific to the database that you have installed:
For JBoss WildFly version, the directory structure is
$JBOSS_HOME\modules\system\layers\base\com.
For JBoss EAP 7.0 version, the directory structure is
$JBOSS_HOME\modules\system\layers\base\com.
Procedure
For Oracle database, create the hierarchal folders in the
$JBOSS_HOME\modules\system\layers\base\com directory as follows:
oracle > ojdbc8 > main
For SQL Server database, create the hierarchal folders in the
$JBOSS_HOME\modules\system\layers\base\com directory as follows:
microsoft > sqlserver > main
For PostgreSQL database, create the hierarchal folders in the
$JBOSS_HOME\modules\system\layers\base\org directory as follows:
postgresql > main
After creating the sub-directory structure, perform the following steps:
Place the
module.xml file specific to each database in the sub-directory. For information on creating a
module.xml file for each database, see
Module Creation.
Place the JAR files specific to each database in the sub-directory. For information on downloading or copying JAR files for each database, see the JDBC Related Libraries section in "Third Party Libraries".