How to Avoid IllegalArgumentException When Setting ConnectionCacheProperties Native Datasource Property in OC4J 10.1.3?
(Doc ID 1512562.1)
Last updated on OCTOBER 10, 2022
Applies to:
Oracle Containers for J2EE - Version 10.1.3.1.0 to 10.1.3.5.0 [Release AS10gR3]Information in this document applies to any platform.
Goal
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?
Solution
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
Goal |
Solution |
References |