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 and later
Information in this document applies to any platform.
***Checked for relevance on 03-Jan-2014***


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

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


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