JDBC datasource test configuration fails with java.lang.ClassNotFoundException
Last updated on NOVEMBER 05, 2016
Applies to:Oracle WebLogic Server - Version 10.3.6 to 188.8.131.52
Information in this document applies to any platform.
The Symptom of the issue is that Weblogic Server 10.3.6 is unable to use a third party database driver when the option "Test Configuration" is used during the datasource creation. The issue happens when the third party database driver by placing this driver in the $DOMAIN_ROOT/lib directory. As a result, Weblogic Server is unable to run the Test Configuration for the datasource and throws a java.lang.ClassNotFoundException.
The server log file will report that the third party database driver itself has been added successfully to the CLASSPATH, but the following error will follow (as an example):
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms