Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

No suitable driver found exception in publish instance

Avatar

Level 4

Hi,

We are connecting AEM with SQL Data base.

Connectivity is fine in author instance and getting result.

Same we deployed to publish instance but getting below error.

 

Exception occurred in getting DB connection: No suitable driver found for
java.sql.SQLException: No suitable driver found for
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:702)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:251)

 

We are using same code and DB for publisher also. but connectivity is not happening. Any suggestions?

 

1 Reply

Avatar

Employee Advisor

That means that there is a difference between author and publish, which prevents the SQL driver to be found. How did you deploy the SQL driver to AEM?