cancel
Showing results for 
Search instead for 
Did you mean: 

Class loader problems in WAS 7.4

Former Member
0 Kudos

Hello,

I'm trying to deploy a Web Module project referenced by an EAR project in NWDS v7.3.1 SP12. Exporting the project to an EAR file and selecting it for deploy is not a problem. However, an error occurs while deploying the EAR file (java.lang.ClassCastException, see attached stack trace). Strangely, one instance of "oracle.sql.BLOB from library:core_lib" is being cast to "oracle.sql.BLOB from library:Driver_Oracle_11g_Java_1.6" (same class, different class loader).

I don't know what is causing that error. What I realized is my application is configured to use a data source which, in turn, uses a driver found in "Driver_Oracle_11g_Java_1.6".

Is there anything wrong in the configuration mentioned above? Is there a known solution to the mentioned exception?

Thanks and best regards,

-- Andre de Souza

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The solution to the mentioned problem is to configure the data source to use SYSTEM_DRIVER instead of any custom driver.

This post helped me find the solution:    [Solved] Oracle Compatibility .

Answers (0)