Error related to mysql driver module [com.ca.iam.jdbc.mysql] during server startup.
search cancel

Error related to mysql driver module [com.ca.iam.jdbc.mysql] during server startup.

book

Article ID: 282450

calendar_today

Updated On: 04-23-2024

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

Error related to mysql driver module [com.ca.iam.jdbc.mysql] during server startup are printed in the logs. 


2024-03-28 15:39:15,734 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 47) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "datasources"),
    ("jdbc-driver" => "mysql")
]) - failure description: "WFLYJCA0115: Module for driver [com.ca.iam.jdbc.mysql] or one of it dependencies is missing: [com.ca.iam.jdbc.mysql]"

Environment

Identity Manager v14.5 (Standalone/Virtual Appliance)

Cause

The standalone xml file used by JBoss/WildFly defines the mysql driver, example from vApp 14.5, ca-standalone-full-ha.xml

<drivers>
 ....
.....
 <driver name="mysql" module="com.ca.iam.jdbc.mysql">
 <driver-class>com.mysql.jdbc.Driver</driver-class>
    </driver>
....
....
....
</drivers>
 
For standalone, it’s defined iam_im-reference-standalone-full-ha.xml & iam_im-reference-standalone-full.xml, so we have it as well after deploying.

 

Resolution

The issue is that mysql driver is not installed and so, it generates an error during startup. It’s not a fatal error and doesn’t prevent IM to start successfully. However, it’s confusing for customers.
 
Simply remove the definition of the mysql driver from standalone xml file (remove below lines) 
 
<driver module="com.ca.iam.jdbc.mysql" name="mysql">    
        <driver-class>com.mysql.jdbc.Driver</driver-class>  
    </driver>