WebLogic JARs Needed To Access A Weblogic Datasource From An External Java Client
(Doc ID 2005891.1)
Last updated on APRIL 02, 2018
Applies to:Oracle WebLogic Server - Version 126.96.36.199 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 wlthin3tclient.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