My Oracle Support Banner

Defaults.xml File Has Fewer Entries / Parameters for ORDS 18.3 + (Doc ID 2487568.1)

Last updated on MAY 29, 2020

Applies to:

Oracle REST Data Services - Version 18.3 and later
Information in this document applies to any platform.

Goal

Oracle REST Data Services 18.3 has been configured and is running successfully. However, when reviewing the defaults.xml file, compared to an earlier version of ORDS, there are many fewer entries. For example, the 18.3 defaults.xml contains:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>Saved on Tue Oct 23 08:40:53 MDT 2018</comment>
<entry key="db.hostname">my_db_hostname</entry>
<entry key="db.port">1521</entry>
<entry key="db.servicename">my_service_name</entry>
<entry key="security.requestValidationFunction">wwv_flow_epg_include_modules.authorize</entry>
<entry key="security.validationFunctionType">plsql</entry>
</properties>

The equivalent defaults.xml for versions prior to 18.3 (ex. 3.0.12) looks like:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>Saved on Mon Apr 16 15:25:15 MDT 2018</comment>
<entry key="cache.caching">false</entry>
<entry key="cache.directory">/tmp/apex/cache</entry>
<entry key="cache.duration">days</entry>
<entry key="cache.expiration">7</entry>
<entry key="cache.maxEntries">500</entry>
<entry key="cache.monitorInterval">60</entry>
<entry key="cache.procedureNameList"/>
<entry key="cache.type">lru</entry>
<entry key="db.hostname">my_db_hostname</entry>

<entry key="db.port">1521</entry>
<entry key="db.servicename">my_service_name</entry>
<entry key="debug.debugger">false</entry>
<entry key="debug.printDebugToScreen">false</entry>
<entry key="error.keepErrorMessages">true</entry>
<entry key="error.maxEntries">50</entry>
<entry key="jdbc.DriverType">thin</entry>
<entry key="jdbc.InactivityTimeout">1800</entry>
<entry key="jdbc.InitialLimit">3</entry>
<entry key="jdbc.MaxConnectionReuseCount">1000</entry>
<entry key="jdbc.MaxLimit">10</entry>
<entry key="jdbc.MaxStatementsLimit">10</entry>
<entry key="jdbc.MinLimit">1</entry>
<entry key="jdbc.statementTimeout">900</entry>
<entry key="log.logging">false</entry>
<entry key="log.maxEntries">50</entry>
<entry key="misc.compress"/>
<entry key="misc.defaultPage">apex</entry>
<entry key="security.crypto.enc.password">encrypted_value</entry>
<entry key="security.crypto.mac.password">encrypted_value</entry>
<entry key="security.disableDefaultExclusionList">false</entry>
<entry key="security.maxEntries">2000</entry>
</properties>

Why is the structure of the 18.3 default.xml so different?

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


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