My Oracle Support Banner

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

Last updated on DECEMBER 05, 2018

Applies to:

Oracle Containers for J2EE - Version 10.1.3.3.0 and later
Information in this document applies to any platform.

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

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.