My Oracle Support Banner

java.lang.ClassCastException: weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource (Doc ID 1919849.1)

Last updated on SEPTEMBER 28, 2020

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

In a custom application, while initializing a servlet, the following error occurs:

NOTE:  The application packages and servlet names (example: com.oracle.sampleapp and WebServiceController) and other attribute values used represent fictitious sample names that made up as examples.  Any similarity to actual code, is purely coincidental and not intended in any other manner.

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


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