OPSS - Unable write in the audit Database getting IAU-5048 / Java.sql.SQLException: No Suitable Driver Found (Doc ID 2266130.1)

Last updated on MAY 17, 2017

Applies to:

Oracle Platform Security for Java - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

After apply April CPU patch to Weblogic, the domain is unable to write in the Audit Database

Observing the next error in logs:

<May 6, 2017 6:51:38 PM EDT> <Error> <oracle.security.audit.logger> <BEA-000000> <IAU:Unable to get a database connection: >
<May 6, 2017 6:51:38 PM EDT> <Error> <oracle.jps.common> <BEA-000000> <IAU:IAU-5047: Problem in transferring audit record from file:/MW_HOME/user-projects/domains/OAM_domain/servers/AdminServer/logs/auditlogs/OAM/audit.log position:44,743 will retry in next cycle. caught exception oracle.security.audit.AuditException: java.sql.SQLException: No suitable driver found for
at oracle.security.audit.ajl.loader.OracleRepository.connect(OracleRepository.java:101)
at oracle.security.audit.ajl.loader.OracleRepository.<init>(OracleRepository.java:71)
at oracle.security.audit.ajl.loader.JDBCLogWriter.reinit(JDBCLogWriter.java:68)
at oracle.security.audit.ajl.loader.JDBCLogWriter.write(JDBCLogWriter.java:115)
at oracle.security.audit.ajl.loader.AuditLoader.readMessages(AuditLoader.java:516)
at oracle.security.audit.service.AuditLoaderManager.readMessages(AuditLoaderManager.java:324)
at oracle.security.audit.service.AuditLoaderManager$Runner.run(AuditLoaderManager.java:410)
Caused by: java.sql.SQLException: No suitable driver found for
at java.sql.DriverManager.getConnection(DriverManager.java:602)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.security.audit.ajl.loader.OracleRepository$OpssConnection.getConnection(OracleRepository.java:304)
at oracle.security.audit.ajl.loader.OracleRepository$OpssConnection.access$000(OracleRepository.java:279)
at oracle.security.audit.ajl.loader.OracleRepository.connect(OracleRepository.java:92)
... 6 more
>
<May 6, 2017 6:51:38 PM EDT> <Error> <oracle.jps.common> <BEA-000000> <IAU:IAU-5048: Problem in transferring audit record to Audit Store null. Please verify your Audit Store configuration>
<May 6, 2017 6:51:38 PM EDT> <Error> <oracle.security.audit.logger> <BEA-000000> <IAU:Unable to get a database connection: >
<May 6, 2017 6:51:38 PM EDT> <Error> <oracle.jps.common> <BEA-000000> <IAU:IAU-5047: Problem in transferring audit record from file:/MW_HOME/user-projects/domains/OAM_domain/servers/AdminServer/logs/auditlogs/JPS/audit_1_2.log position:7,633 will retry in next cycle. caught exception oracle.security.audit.AuditException: java.sql.SQLException: No suitable driver found for
at oracle.security.audit.ajl.loader.OracleRepository.connect(OracleRepository.java:101)
at oracle.security.audit.ajl.loader.OracleRepository.<init>(OracleRepository.java:71)
at oracle.security.audit.ajl.loader.JDBCLogWriter.reinit(JDBCLogWriter.java:68)
at oracle.security.audit.ajl.loader.JDBCLogWriter.write(JDBCLogWriter.java:115)
at oracle.security.audit.ajl.loader.AuditLoader.readMessages(AuditLoader.java:516)
at oracle.security.audit.service.AuditLoaderManager.readMessages(AuditLoaderManager.java:324)
at oracle.security.audit.service.AuditLoaderManager$Runner.run(AuditLoaderManager.java:410)
Caused by: java.sql.SQLException: No suitable driver found for
at java.sql.DriverManager.getConnection(DriverManager.java:602)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.security.audit.ajl.loader.OracleRepository$OpssConnection.getConnection(OracleRepository.java:304)
at oracle.security.audit.ajl.loader.OracleRepository$OpssConnection.access$000(OracleRepository.java:279)
at oracle.security.audit.ajl.loader.OracleRepository.connect(OracleRepository.java:92)
... 6 more
>
<May 6, 2017 6:51:38 PM EDT> <Error> <oracle.jps.common> <BEA-000000> <IAU:IAU-5048: Problem in transferring audit record to Audit Store null. Please verify your Audit Store configuration>



Changes

 After apply April CPU patch to Weblogic

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms