My Oracle Support Banner

How to Avoid IllegalArgumentException When Setting ConnectionCacheProperties Native Datasource Property in OC4J 10.1.3? (Doc ID 1512562.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version to [Release AS10gR3]
Information in this document applies to any platform.


When setting ConnectionCacheProperties property in OC4J 10.1.3.X data-sources.xml configuration file, the following exception occurs at OC4J startup :

java.lang.InstantiationException: Exception setting the property 'connectionCacheProperties' on the DataSource. Exception: java.lang.IllegalArgumentException: Invalid attribute type: java.util.Properties

Then, how to set  'connectionCacheProperties' property when configuring a native datasource  in OC4J data-sources.xml  file?


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

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