WebLogic JARs Needed to Access a WebLogic Datasource from An External Java Client
(Doc ID 2005891.1)
Last updated on DECEMBER 16, 2023
Applies to:Oracle WebLogic Server - Version 18.104.22.168 and later
Information in this document applies to any platform.
When trying to access a Weblogic configured datasource from a stand alone Java client, if only wlthint3client.jar is included in the CLASSPATH, the following exception is thrown:
weblogic.jdbc.common.internal.RmiDataSource_1211_WLStub cannot be cast to javax.sql.DataSource
As example, the following code shows how a datasource is obtained using JNDI lookup API :
What are the minimum WebLogic jars needed to lookup a datasource and connection from a stand alone java client ?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document