ClassCastException Accessing a Data Source From Standard Java Application Outside The Container (Doc ID 726062.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version 10.1.3.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 03-Jan-2014***

Symptoms

When attempting to access a data source remotely the following error occurs:

Exception in thread "main" java.lang.ClassCastException: oracle_jdbc_driver_LogicalConnection_Proxy

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